summaryrefslogtreecommitdiff
path: root/multimedia/libaacs/Makefile
diff options
context:
space:
mode:
authorThomas Zander <riggs@FreeBSD.org>2014-04-27 14:14:26 +0000
committerThomas Zander <riggs@FreeBSD.org>2014-04-27 14:14:26 +0000
commit85d711de42bb2c23fd80d4eab7a8674caaa243ee (patch)
tree5aa8a7f3b50297d4a6beca08d9a833a2da6ca541 /multimedia/libaacs/Makefile
parent- automatically strip modules build with (diff)
- Update libaacs to 0.7.0
- Add LICENSE - USES tar:bzip2 - Update libbluray 0.5.0 - Unbreak JAVA option - USES tar:bzip2 - Bump PORTREVISION in depdendent ports due to shared lib version bump PR: ports/188573 Submitted by: Dominic Fandrey <kamikaze@bsdforen.de> (maintainer) Approved by: thierry (mentor)
Diffstat (limited to 'multimedia/libaacs/Makefile')
-rw-r--r--multimedia/libaacs/Makefile24
1 files changed, 9 insertions, 15 deletions
diff --git a/multimedia/libaacs/Makefile b/multimedia/libaacs/Makefile
index 9e3d9d95c45e..a702263a506d 100644
--- a/multimedia/libaacs/Makefile
+++ b/multimedia/libaacs/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= libaacs
-PORTVERSION= 0.6.0
+PORTVERSION= 0.7.0
CATEGORIES= multimedia
MASTER_SITES= ftp://ftp.videolan.org/pub/videolan/${PORTNAME}/${PORTVERSION}/ \
http://blu.opsec.eu/
@@ -10,14 +10,15 @@ MASTER_SITES= ftp://ftp.videolan.org/pub/videolan/${PORTNAME}/${PORTVERSION}/ \
MAINTAINER= kamikaze@bsdforen.de
COMMENT= Advanced Access Content System implementation
+LICENSE= LGPL21
+
BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex
LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt \
libgpg-error.so:${PORTSDIR}/security/libgpg-error
-USE_BZIP2= yes
USE_LDCONFIG= yes
USE_AUTOTOOLS= autoconf aclocal automake libtool
-USES= bison gettext iconv
+USES= bison gettext iconv tar:bzip2
HAS_CONFIGURE= yes
CONFIGURE_ENV+= LEX="${LOCALBASE}/bin/flex"
@@ -30,18 +31,11 @@ MAKE_ARGS+= pkgconfigdir="${PREFIX}/libdata/pkgconfig" \
run-autotools:
@cd ${WRKSRC} && ${SH} bootstrap
-plist: build
+plist: stage
@${ECHO} "===> Rebuilding PLIST."
- @${MKDIR} "${WRKDIR}/plist"
- @cd ${WRKSRC} && ( \
- ${SETENV} ${CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS} --prefix="${WRKDIR}/plist" && \
- ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} pkgconfigdir="${WRKDIR}/plist/libdata/pkgconfig" ${INSTALL_TARGET} ; \
- ${SETENV} ${CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS} \
- )
- @${FIND} -ds "${WRKDIR}/plist/" -not -type d \
- | ${SED} "s|${WRKDIR}/plist/||1" > ${PLIST}
- @${FIND} -ds "${WRKDIR}/plist/" -type d -mindepth 2 \
- | ${SED} -e "/pkgconfig/d" -e "s|${WRKDIR}/plist/|@dirrm |1" >> ${PLIST}
- @${RM} -rf "${WRKDIR}/plist"
+ @${MTREE_CMD} -cp "${STAGEDIR}${PREFIX}/" > "${WRKDIR}/plist.mtree"
+ @${MTREE_CMD} -Sf "${WRKDIR}/plist.mtree" -f "${MTREE_FILE}" \
+ | ${SED} -ne '/ dir /{s/ .*//;s/^/@dirrm /;H;};t dirs' \
+ -e 's/ .*//p;:dirs' -e '$${g;s/^\n//p;}' > ${PLIST}
.include <bsd.port.mk>