support staging, checked on redports and ia64. svn patch: Index: cad/feappv/Makefile =================================================================== --- cad/feappv/Makefile (revision 353817) +++ cad/feappv/Makefile (working copy) @@ -29,12 +29,11 @@ OPTIONS_DEFINE= DOCS -NO_STAGE= yes .include <bsd.port.options.mk> post-patch: @${REINPLACE_CMD} -e \ - 's| make | $$(MAKE) |' ${WRKSRC}/makefile + 's| make | $${MAKE} |' ${WRKSRC}/makefile @${REINPLACE_CMD} -e \ '/^FF /s|=.*|= ${FC}| ; \ /^CC /s|=.*|= ${CC}| ; \ @@ -44,11 +43,11 @@ s|Feappv.a|libfeappv.a|' ${WRKSRC}/makefile.in do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/main/feappv ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/libfeappv.a ${PREFIX}/lib + ${INSTALL_PROGRAM} ${WRKSRC}/main/feappv ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/libfeappv.a ${STAGEDIR}${PREFIX}/lib .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${_DISTDIR}/${PORTDOCS} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${_DISTDIR}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.mk>
Responsible Changed From-To: freebsd-ports-bugs->ak I'll take it.
State Changed From-To: open->closed Committed. Thanks!
Author: ak Date: Tue May 20 12:02:32 2014 New Revision: 354629 URL: http://svnweb.freebsd.org/changeset/ports/354629 QAT: https://qat.redports.org/buildarchive/r354629/ Log: - Support STAGEDIR PR: ports/189727 Submitted by: Anton Shterenlikht <mexas@bris.ac.uk> (maintainer) Modified: head/cad/feappv/Makefile Modified: head/cad/feappv/Makefile ============================================================================== --- head/cad/feappv/Makefile Tue May 20 11:49:46 2014 (r354628) +++ head/cad/feappv/Makefile Tue May 20 12:02:32 2014 (r354629) @@ -29,7 +29,6 @@ PORTDOCS= manual.pdf OPTIONS_DEFINE= DOCS -NO_STAGE= yes .include <bsd.port.options.mk> post-patch: @@ -44,11 +43,9 @@ post-patch: s|Feappv.a|libfeappv.a|' ${WRKSRC}/makefile.in do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/main/feappv ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/libfeappv.a ${PREFIX}/lib -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${_DISTDIR}/${PORTDOCS} ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/main/feappv ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/libfeappv.a ${STAGEDIR}${PREFIX}/lib + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${_DISTDIR}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"