diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2013-05-25 17:42:06 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2013-05-25 17:42:06 +0800 |
commit | d060e3e78c2410b33a18fd071af78d12d5df1924 (patch) | |
tree | 59f8ae6da6c721fba82c29025c2747eeb9efc596 /multimedia | |
parent | 96733d1e08ba0cef5e69655f001a31ba11a9f11c (diff) | |
download | freebsd-ports-gnome-d060e3e78c2410b33a18fd071af78d12d5df1924.tar.gz freebsd-ports-gnome-d060e3e78c2410b33a18fd071af78d12d5df1924.tar.zst freebsd-ports-gnome-d060e3e78c2410b33a18fd071af78d12d5df1924.zip |
- Build and install shared libraries
- Bump PORTREVISION for package change
- While I'm here, cleanup Makefile header
PR: ports/175817
Submitted by: oliver
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> |