mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
- Support staging.
- Convert from USES_GMAKE=yes to USES=gmake. Submitted by: Schaich Alonso <alonsoschaich@fastmail.fm>
This commit is contained in:
parent
e0bb83400b
commit
52718478ff
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332884
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user