Date: Fri, 11 Apr 2014 22:17:12 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r351055 - head/sysutils/bbcp Message-ID: <201404112217.s3BMHCdQ076713@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Fri Apr 11 22:17:11 2014 New Revision: 351055 URL: http://svnweb.freebsd.org/changeset/ports/351055 QAT: https://qat.redports.org/buildarchive/r351055/ Log: - Support staging - Respect CC - Respect CXX - Requires gcc Modified: head/sysutils/bbcp/Makefile Modified: head/sysutils/bbcp/Makefile ============================================================================== --- head/sysutils/bbcp/Makefile Fri Apr 11 22:15:18 2014 (r351054) +++ head/sysutils/bbcp/Makefile Fri Apr 11 22:17:11 2014 (r351055) @@ -13,22 +13,24 @@ COMMENT= Secure and fast copy utility LICENSE= BSD -BUILD_WRKSRC= ${WRKSRC}/src +USES= tar:xz +USE_GCC= yes + PLIST_FILES= bin/bbcp PORTDOCS= ${PORTNAME}.pdf -USE_XZ= yes -NO_STAGE= yes +BUILD_WRKSRC= ${WRKSRC}/src OPTIONS_DEFINE= DOCS -.include <bsd.port.options.mk> +post-patch: + @${REINPLACE_CMD} -e 's|g++|$(CXX)|' -e 's|gcc|$(CC)|' \ + ${WRKSRC}/src/Makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/bin/FreeBSD/bbcp ${PREFIX}/bin -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${DISTDIR}/${PORTNAME}-20100818.pdf ${DOCSDIR}/${PORTNAME}.pdf -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/bin/FreeBSD/bbcp ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${DISTDIR}/${PORTNAME}-20100818.pdf \ + ${STAGEDIR}${DOCSDIR}/${PORTNAME}.pdf .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404112217.s3BMHCdQ076713>