- Support staging
- Use new LIB_DEPENDS syntax
This commit is contained in:
parent
c97823efa7
commit
e9aece4d3b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331226
1 changed files with 6 additions and 7 deletions
|
@ -20,11 +20,10 @@ ICONVFBSD_DESC= Use IconvFBSD transcoder
|
|||
ICU_DESC= Use ICU transcoder
|
||||
NATIVE_DESC= Use native transcoder
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MICU}
|
||||
LIB_DEPENDS+= icuuc:${PORTSDIR}/devel/icu
|
||||
LIB_DEPENDS+= libicuuc.so:${PORTSDIR}/devel/icu
|
||||
ICUROOT?= ${LOCALBASE}
|
||||
CONFIGURE_ENV+= ICUROOT=${ICUROOT}
|
||||
MAKE_ENV+= ICUROOT=${ICUROOT}
|
||||
|
@ -147,16 +146,16 @@ post-configure:
|
|||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${CP} -r ${WRKSRC}/doc/ ${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
@${CP} -r ${WRKSRC}/doc/ ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
.for i in ${XERCES_BINS} data
|
||||
@${CP} -r ${WRKSRC}/samples/$i ${EXAMPLESDIR}
|
||||
@${CP} -r ${WRKSRC}/samples/$i ${STAGEDIR}${EXAMPLESDIR}
|
||||
.endfor
|
||||
.for i in ${XERCES_BINS}
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/bin/$i ${PREFIX}/bin
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/bin/$i ${STAGEDIR}${PREFIX}/bin
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue