aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorjhale <jhale@FreeBSD.org>2013-10-09 17:24:24 +0800
committerjhale <jhale@FreeBSD.org>2013-10-09 17:24:24 +0800
commit4c17f7ed61f7b2fac12b5bfd7cbb9ff48427f9e3 (patch)
tree1f69703e9e23076f0b6c8d41a61a836e2da40f46 /audio
parentee4128ed9f2395ea8477708c09c40882cd737d2f (diff)
downloadfreebsd-ports-gnome-4c17f7ed61f7b2fac12b5bfd7cbb9ff48427f9e3.tar.gz
freebsd-ports-gnome-4c17f7ed61f7b2fac12b5bfd7cbb9ff48427f9e3.tar.zst
freebsd-ports-gnome-4c17f7ed61f7b2fac12b5bfd7cbb9ff48427f9e3.zip
- Support staging
- Use options helpers - Use new LIB_DEPENDS syntax
Diffstat (limited to 'audio')
-rw-r--r--audio/taglib/Makefile20
1 files changed, 7 insertions, 13 deletions
diff --git a/audio/taglib/Makefile b/audio/taglib/Makefile
index 8a5ea82fca3b..236f63e373af 100644
--- a/audio/taglib/Makefile
+++ b/audio/taglib/Makefile
@@ -14,25 +14,19 @@ LICENSE= LGPL21 MPL
LICENSE_COMB= dual
LICENSE_FILE_MPL= ${WRKSRC}/COPYING.MPL
-OPTIONS_DEFINE= RCC
-
-RCC_DESC= Build with RusXMMS librcc patches (experimental)
-
USES= cmake
-NO_STAGE= yes
CMAKE_ARGS= -DWITH_ASF:BOOL=ON \
-DWITH_MP4:BOOL=ON
USE_LDCONFIG= yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= RCC
+OPTIONS_SUB= yes
-.if ${PORT_OPTIONS:MRCC}
-EXTRA_PATCHES+= ${FILESDIR}/extrapatch-rcc
-LIB_DEPENDS+= rcc:${PORTSDIR}/devel/librcc
-PLIST_SUB+= RCC=""
-.else
-PLIST_SUB+= RCC="@comment "
-.endif
+RCC_DESC= Build with RusXMMS librcc patches (experimental)
+RCC_EXTRA_PATCHES= ${FILESDIR}/extrapatch-rcc
+RCC_LIB_DEPENDS= librcc.so:${PORTSDIR}/devel/librcc
+
+.include <bsd.port.options.mk>
post-patch:
.if ${PORT_OPTIONS:MRCC}