- Support staging
- Use options helpers - Use new LIB_DEPENDS syntax
This commit is contained in:
parent
34232c71a3
commit
eac4e56163
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329876
1 changed files with 7 additions and 13 deletions
|
@ -14,25 +14,19 @@ LICENSE= LGPL21 MPL
|
||||||
LICENSE_COMB= dual
|
LICENSE_COMB= dual
|
||||||
LICENSE_FILE_MPL= ${WRKSRC}/COPYING.MPL
|
LICENSE_FILE_MPL= ${WRKSRC}/COPYING.MPL
|
||||||
|
|
||||||
OPTIONS_DEFINE= RCC
|
|
||||||
|
|
||||||
RCC_DESC= Build with RusXMMS librcc patches (experimental)
|
|
||||||
|
|
||||||
USES= cmake
|
USES= cmake
|
||||||
NO_STAGE= yes
|
|
||||||
CMAKE_ARGS= -DWITH_ASF:BOOL=ON \
|
CMAKE_ARGS= -DWITH_ASF:BOOL=ON \
|
||||||
-DWITH_MP4:BOOL=ON
|
-DWITH_MP4:BOOL=ON
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
OPTIONS_DEFINE= RCC
|
||||||
|
OPTIONS_SUB= yes
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MRCC}
|
RCC_DESC= Build with RusXMMS librcc patches (experimental)
|
||||||
EXTRA_PATCHES+= ${FILESDIR}/extrapatch-rcc
|
RCC_EXTRA_PATCHES= ${FILESDIR}/extrapatch-rcc
|
||||||
LIB_DEPENDS+= rcc:${PORTSDIR}/devel/librcc
|
RCC_LIB_DEPENDS= librcc.so:${PORTSDIR}/devel/librcc
|
||||||
PLIST_SUB+= RCC=""
|
|
||||||
.else
|
.include <bsd.port.options.mk>
|
||||||
PLIST_SUB+= RCC="@comment "
|
|
||||||
.endif
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
.if ${PORT_OPTIONS:MRCC}
|
.if ${PORT_OPTIONS:MRCC}
|
||||||
|
|
Loading…
Reference in a new issue