diff options
author | rakuco <rakuco@FreeBSD.org> | 2013-11-06 01:59:05 +0800 |
---|---|---|
committer | rakuco <rakuco@FreeBSD.org> | 2013-11-06 01:59:05 +0800 |
commit | b1884005766258b44d5dbfdd49633ba03b071022 (patch) | |
tree | 6fe5f5998d179602fbb34b623b8935038d8936da /devel | |
parent | fe6aedd13fbdbfd5e7779da113970c708fd79e26 (diff) | |
download | freebsd-ports-gnome-b1884005766258b44d5dbfdd49633ba03b071022.tar.gz freebsd-ports-gnome-b1884005766258b44d5dbfdd49633ba03b071022.tar.zst freebsd-ports-gnome-b1884005766258b44d5dbfdd49633ba03b071022.zip |
- Support staging.
- Convert from USES_GMAKE=yes to USES=gmake.
Submitted by: Schaich Alonso <alonsoschaich@fastmail.fm>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/xsd/Makefile | 19 | ||||
-rw-r--r-- | devel/xsd/pkg-plist | 1 |
2 files changed, 9 insertions, 11 deletions
diff --git a/devel/xsd/Makefile b/devel/xsd/Makefile index 64b5b0026c77..d80658c042e0 100644 --- a/devel/xsd/Makefile +++ b/devel/xsd/Makefile @@ -24,30 +24,27 @@ ALL_TARGET= # no default target should be passed to gmake. CXXFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib MAKEFILE= makefile -MAKE_ARGS= install_prefix=${PREFIX} \ +MAKE_ARGS= install_prefix=${STAGEDIR}${PREFIX} \ verbose=1 +USES= gmake USE_BZIP2= yes -USE_GMAKE= yes -MAN1= xsdcxx.1 - -NO_STAGE= yes .include <bsd.port.options.mk> post-install: - ${INSTALL_MAN} ${WRKSRC}/xsd/documentation/xsd.1 ${MANPREFIX}/man/man1/xsdcxx.1 + ${INSTALL_MAN} ${WRKSRC}/xsd/documentation/xsd.1 ${STAGEDIR}${MANPREFIX}/man/man1/xsdcxx.1 .if ${PORT_OPTIONS:MDOCS} (cd ${WRKSRC}/xsd/documentation && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) - ${INSTALL_DATA} ${WRKSRC}/xsd/FLOSSE ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/xsd/NEWS ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/xsd/README ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/xsd/dist/README-UNIX ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/xsd/FLOSSE ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/xsd/NEWS ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/xsd/README ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/xsd/dist/README-UNIX ${STAGEDIR}${DOCSDIR} .endif .if ${PORT_OPTIONS:MEXAMPLES} ${FIND} ${WRKSRC}/xsd/examples -type f -name makefile -delete - (cd ${WRKSRC}/xsd/examples && ${COPYTREE_SHARE} cxx ${EXAMPLESDIR}) + (cd ${WRKSRC}/xsd/examples && ${COPYTREE_SHARE} cxx ${STAGEDIR}${EXAMPLESDIR}) .endif .include <bsd.port.mk> diff --git a/devel/xsd/pkg-plist b/devel/xsd/pkg-plist index fa13b48ebdc7..99dd2a99f08a 100644 --- a/devel/xsd/pkg-plist +++ b/devel/xsd/pkg-plist @@ -176,6 +176,7 @@ include/xsd/cxx/xml/string.ixx include/xsd/cxx/xml/string.txx include/xsd/cxx/zc-istream.hxx include/xsd/cxx/zc-istream.txx +man/man1/xsdcxx.1.gz %%PORTEXAMPLES%%%%EXAMPLESDIR%%/cxx/parser/README %%PORTEXAMPLES%%%%EXAMPLESDIR%%/cxx/parser/generated/README %%PORTEXAMPLES%%%%EXAMPLESDIR%%/cxx/parser/generated/library.xml |