aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-04-11 22:17:11 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-04-11 22:17:11 +0000
commit9676434a2baf64d39416d05c8a287b6e9b95bb5c (patch)
tree8513b94daa12488d9d975af1da0195c9f4a002e1
parent16382aaf6028cc9e5d2fec167db30aafdc12f444 (diff)
downloadports-9676434a2baf64d39416d05c8a287b6e9b95bb5c.tar.gz
ports-9676434a2baf64d39416d05c8a287b6e9b95bb5c.zip
Notes
-rw-r--r--sysutils/bbcp/Makefile20
1 files changed, 11 insertions, 9 deletions
diff --git a/sysutils/bbcp/Makefile b/sysutils/bbcp/Makefile
index 688d139d3a4c..ccf682b811a5 100644
--- a/sysutils/bbcp/Makefile
+++ b/sysutils/bbcp/Makefile
@@ -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>