diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-05-25 09:42:06 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-05-25 09:42:06 +0000 |
commit | 03d938584a247f4a01b34319a6f9890a5b8652b9 (patch) | |
tree | 59f8ae6da6c721fba82c29025c2747eeb9efc596 /multimedia | |
parent | cbdedc577425fe08cecc8035d33044caafc39d88 (diff) | |
download | ports-03d938584a247f4a01b34319a6f9890a5b8652b9.tar.gz ports-03d938584a247f4a01b34319a6f9890a5b8652b9.zip |
Notes
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/mediainfo/Makefile | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/multimedia/mediainfo/Makefile b/multimedia/mediainfo/Makefile index 756ff11aec38..c9c7b1db0c06 100644 --- a/multimedia/mediainfo/Makefile +++ b/multimedia/mediainfo/Makefile @@ -1,12 +1,9 @@ -# New ports collection makefile for: mediainfo -# Date created: 24 April 2008 -# Whom: freebsd-ports@evilcode.net -# +# Created by: freebsd-ports@evilcode.net # $FreeBSD$ -# PORTNAME= mediainfo PORTVERSION= 0.7.52 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= SF/${PORTNAME}/binary/${PORTNAME}/${PORTVERSION} DISTNAME= MediaInfo_CLI_${PORTVERSION}_GNU_FromSource @@ -20,17 +17,26 @@ 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 +PLIST_FILES= bin/mediainfo \ + lib/libmediainfo.so \ + lib/libmediainfo.so.0 \ + lib/libzen.so \ + lib/libzen.so.0 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}) + @(cd ${WRKSRC}/ && ${SH} ./CLI_Compile.sh --prefix=${PREFIX} --enable-shared) do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/MediaInfo/Project/GNU/CLI/mediainfo ${PREFIX}/bin/ + ${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:L}.so.0 ${PREFIX}/lib/ + ${LN} -fs lib${library:L}.so.0 ${PREFIX}/lib/lib${library:L}.so +.endfor .include <bsd.port.mk> |