aboutsummaryrefslogtreecommitdiffstats
path: root/net/cf
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-08-28 21:39:56 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-08-28 21:39:56 +0800
commit80986f3bba5207fadfa3c154807c2bd35fc4fe43 (patch)
tree30df43bd9eff2c4d3d713edce11d9d1da280e753 /net/cf
parent107a7c671373ca4fc49013600186b99151a35dd1 (diff)
downloadfreebsd-ports-gnome-80986f3bba5207fadfa3c154807c2bd35fc4fe43.tar.gz
freebsd-ports-gnome-80986f3bba5207fadfa3c154807c2bd35fc4fe43.tar.zst
freebsd-ports-gnome-80986f3bba5207fadfa3c154807c2bd35fc4fe43.zip
- Switch to options helpers
- While here, add some NO_ARCHes and couple missing PORT_OPTIONS=DOCS Approved by: portmgr blanket
Diffstat (limited to 'net/cf')
-rw-r--r--net/cf/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/net/cf/Makefile b/net/cf/Makefile
index ffa9a6d0f491..0e5034709719 100644
--- a/net/cf/Makefile
+++ b/net/cf/Makefile
@@ -23,8 +23,6 @@ STRIP= # stripping can break go binaries
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} -e "s/BUILT_FROM_SOURCE/${PORTVERSION}/g" ${WRKSRC}/cf/app_constants.go
@cd ${WRKSRC} ; ${MKDIR} Godeps/_workspace/src/github.com/${GH_ACCOUNT}/${GH_PROJECT} ; \
@@ -46,11 +44,11 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/out/cf \
${STAGEDIR}${PREFIX}/bin/
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for x in ${PORTDOCS}
${INSTALL_MAN} ${WRKSRC}/${x} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>