svn commit: r319041 - head/multimedia/mediainfo
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat May 25 09:42:07 UTC 2013
Author: sunpoet
Date: Sat May 25 09:42:06 2013
New Revision: 319041
URL: http://svnweb.freebsd.org/changeset/ports/319041
Log:
- Build and install shared libraries
- Bump PORTREVISION for package change
- While I'm here, cleanup Makefile header
PR: ports/175817
Submitted by: oliver
Modified:
head/multimedia/mediainfo/Makefile (contents, props changed)
Modified: head/multimedia/mediainfo/Makefile
==============================================================================
--- head/multimedia/mediainfo/Makefile Sat May 25 09:39:23 2013 (r319040)
+++ head/multimedia/mediainfo/Makefile Sat May 25 09:42:06 2013 (r319041)
@@ -1,12 +1,9 @@
-# New ports collection makefile for: mediainfo
-# Date created: 24 April 2008
-# Whom: freebsd-ports at evilcode.net
-#
+# Created by: freebsd-ports at 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/Licens
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>
More information about the svn-ports-head
mailing list