svn commit: r329876 - head/audio/taglib

Jason E. Hale jhale at FreeBSD.org
Wed Oct 9 09:24:25 UTC 2013


Author: jhale
Date: Wed Oct  9 09:24:24 2013
New Revision: 329876
URL: http://svnweb.freebsd.org/changeset/ports/329876

Log:
  - Support staging
  - Use options helpers
  - Use new LIB_DEPENDS syntax

Modified:
  head/audio/taglib/Makefile

Modified: head/audio/taglib/Makefile
==============================================================================
--- head/audio/taglib/Makefile	Wed Oct  9 08:24:40 2013	(r329875)
+++ head/audio/taglib/Makefile	Wed Oct  9 09:24:24 2013	(r329876)
@@ -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}


More information about the svn-ports-all mailing list