- Support staging

- Use options helpers
- Use new LIB_DEPENDS syntax
This commit is contained in:
Jason E. Hale 2013-10-09 09:24:24 +00:00
parent 34232c71a3
commit eac4e56163
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329876

View file

@ -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}