blob: ca1eab0794fb0c2871c0288f3c3bd2b85d92f41f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Created by: freebsd-ports@evilcode.net
# $FreeBSD$
PORTNAME= mediainfo
PORTVERSION= 0.7.52
PORTREVISION= 2
CATEGORIES= multimedia
MASTER_SITES= SF/${PORTNAME}/binary/${PORTNAME}/${PORTVERSION}
DISTNAME= MediaInfo_CLI_${PORTVERSION}_GNU_FromSource
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Supplies technical and tag information about a video or audio file
LICENSE= GPLv3 LGPL3
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/MediaInfo/License.html
USE_AUTOTOOLS= aclocal:env automake:env autoconf:env libtool:env
USE_BZIP2= yes
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/MediaInfo_CLI_GNU_FromSource
PLIST_FILES= bin/mediainfo \
lib/libmediainfo.so \
lib/libmediainfo.so.0 \
lib/libzen.so \
lib/libzen.so.0
NO_STAGE= yes
do-build:
@(cd ${WRKSRC}/ZenLib/Project/GNU/Library/ && ${SH} ./autogen)
@(cd ${WRKSRC}/MediaInfoLib/Project/GNU/Library/ && ${SH} ./autogen)
@(cd ${WRKSRC}/MediaInfo/Project/GNU/CLI/ && ${SH} ./autogen)
@(cd ${WRKSRC}/ && ${SH} ./CLI_Compile.sh --prefix=${PREFIX} --enable-shared)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/MediaInfo/Project/GNU/CLI/.libs/mediainfo ${PREFIX}/bin/
.for library in MediaInfo Zen
${INSTALL_LIB} ${WRKSRC}/${library}Lib/Project/GNU/Library/.libs/lib${library:tl}.so.0 ${PREFIX}/lib/
${LN} -fs lib${library:tl}.so.0 ${PREFIX}/lib/lib${library:tl}.so
.endfor
.include <bsd.port.mk>
|