diff options
author | naddy <naddy@FreeBSD.org> | 2014-06-04 03:37:37 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2014-06-04 03:37:37 +0800 |
commit | 9ec9c5189040043ca41cc1af6ab5b39bde2f07d7 (patch) | |
tree | e7a26f285e80f6e230b8b9fa6d9717464e5fa2ed /multimedia/mediainfo | |
parent | fd1cde5b11f5a13fcd00c3b837da401c1253cf13 (diff) | |
download | freebsd-ports-gnome-9ec9c5189040043ca41cc1af6ab5b39bde2f07d7.tar.gz freebsd-ports-gnome-9ec9c5189040043ca41cc1af6ab5b39bde2f07d7.tar.zst freebsd-ports-gnome-9ec9c5189040043ca41cc1af6ab5b39bde2f07d7.zip |
Complete overhaul:
* staging
* USES=libtool
* drop the autotools dependencies
* better integration with the ports framework
Approved by: sunpoet
Diffstat (limited to 'multimedia/mediainfo')
-rw-r--r-- | multimedia/mediainfo/Makefile | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/multimedia/mediainfo/Makefile b/multimedia/mediainfo/Makefile index ca1eab0794fb..b84d86307ec9 100644 --- a/multimedia/mediainfo/Makefile +++ b/multimedia/mediainfo/Makefile @@ -3,7 +3,7 @@ PORTNAME= mediainfo PORTVERSION= 0.7.52 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= multimedia MASTER_SITES= SF/${PORTNAME}/binary/${PORTNAME}/${PORTVERSION} DISTNAME= MediaInfo_CLI_${PORTVERSION}_GNU_FromSource @@ -15,29 +15,31 @@ 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 +USES= libtool tar:bzip2 USE_LDCONFIG= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --enable-shared +CONFIGURE_SCRIPT= CLI_Compile.sh +NO_BUILD= yes WRKSRC= ${WRKDIR}/MediaInfo_CLI_GNU_FromSource PLIST_FILES= bin/mediainfo \ + lib/libmediainfo.a \ lib/libmediainfo.so \ lib/libmediainfo.so.0 \ + lib/libmediainfo.so.0.0.0 \ + lib/libzen.a \ lib/libzen.so \ - lib/libzen.so.0 + lib/libzen.so.0 \ + lib/libzen.so.0.0.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) +SUBDIRS= ZenLib/Project/GNU/Library \ + MediaInfoLib/Project/GNU/Library \ + MediaInfo/Project/GNU/CLI 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 +.for d in ${SUBDIRS} + @(cd ${WRKSRC}/$d && ${MAKE_CMD} ${MAKE_ARGS} install) .endfor .include <bsd.port.mk> |