svn commit: r331226 - head/textproc/xerces-c2
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Oct 22 07:48:12 UTC 2013
Author: amdmi3
Date: Tue Oct 22 07:48:12 2013
New Revision: 331226
URL: http://svnweb.freebsd.org/changeset/ports/331226
Log:
- Support staging
- Use new LIB_DEPENDS syntax
Modified:
head/textproc/xerces-c2/Makefile
Modified: head/textproc/xerces-c2/Makefile
==============================================================================
--- head/textproc/xerces-c2/Makefile Tue Oct 22 07:47:42 2013 (r331225)
+++ head/textproc/xerces-c2/Makefile Tue Oct 22 07:48:12 2013 (r331226)
@@ -20,11 +20,10 @@ ICONVFBSD_DESC= Use IconvFBSD transcode
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
More information about the svn-ports-all
mailing list