diff --git a/multimedia/Makefile b/multimedia/Makefile index 749873fb501c..76364fc0ac7c 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -143,6 +143,7 @@ SUBDIR += kplayer-kde4 SUBDIR += ksubeditor SUBDIR += ldvd + SUBDIR += libaacs SUBDIR += libdc1394 SUBDIR += libdca SUBDIR += libdv diff --git a/multimedia/libaacs/Makefile b/multimedia/libaacs/Makefile new file mode 100644 index 000000000000..5ad3dbdb2e5a --- /dev/null +++ b/multimedia/libaacs/Makefile @@ -0,0 +1,51 @@ +# New ports collection makefile for: libaacs +# Date created: 19 February 2011 +# Whom: kamikaze@bsdforen.de +# +# $FreeBSD$ +# + +PORTNAME= libaacs +PORTVERSION= 0.1.20110218 +CATEGORIES= multimedia +MASTER_SITES= CRITICAL + +MAINTAINER= kamikaze@bsdforen.de +COMMENT= Advanced Access Content System implementation + +BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex +LIB_DEPENDS= gcrypt.17:${PORTSDIR}/security/libgcrypt \ + gpg-error.0:${PORTSDIR}/security/libgpg-error + +USE_LDCONFIG= yes +USE_AUTOTOOLS= autoconf aclocal automake libtool +USE_BISON= build + +MAKE_JOBS_SAFE= yes +HAS_CONFIGURE= yes +CONFIGURE_ENV+= LEX="${LOCALBASE}/bin/flex" +CONFIGURE_ARGS+= --prefix="${PREFIX}" \ + --disable-debug \ + --disable-optimizations +# Evil hack, necessitating another evil hack in the plist target. +MAKE_ARGS+= pkgconfigdir="${PREFIX}/libdata/pkgconfig" \ + CFLAGS=${CFLAGS:Q} + +run-autotools: + @cd ${WRKSRC} && ${SH} bootstrap + +plist: build + @${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" + +.include diff --git a/multimedia/libaacs/distinfo b/multimedia/libaacs/distinfo new file mode 100644 index 000000000000..7d1bdc8a8d9a --- /dev/null +++ b/multimedia/libaacs/distinfo @@ -0,0 +1,2 @@ +SHA256 (libaacs-0.1.20110218.tar.gz) = 88aca66b92e25fca4036520e4a8fd45da43ce4f8d532b734eaac6ad7e5f1dc9e +SIZE (libaacs-0.1.20110218.tar.gz) = 44506 diff --git a/multimedia/libaacs/pkg-descr b/multimedia/libaacs/pkg-descr new file mode 100644 index 000000000000..f33d338f953a --- /dev/null +++ b/multimedia/libaacs/pkg-descr @@ -0,0 +1,8 @@ +libaacs is a research project to implement the Advanced Access Content System +specification. This research project provides, through an open-source library, a +way to understand how the AACS works. + +This research project is mainly developed by an international team of developers +from Doom9. + +WWW: http://www.videolan.org/developers/libaacs.html diff --git a/multimedia/libaacs/pkg-plist b/multimedia/libaacs/pkg-plist new file mode 100644 index 000000000000..f6fced72ddb9 --- /dev/null +++ b/multimedia/libaacs/pkg-plist @@ -0,0 +1,8 @@ +include/libaacs/aacs.h +include/libaacs/filesystem.h +lib/libaacs.a +lib/libaacs.la +lib/libaacs.so +lib/libaacs.so.0 +libdata/pkgconfig/libaacs.pc +@dirrm include/libaacs