aboutsummaryrefslogtreecommitdiffstats
path: root/net/googlecl
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-28 21:39:56 +0800
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-28 21:39:56 +0800
commite638299edcfecb35838ad7fad0b71c4fa5ed7639 (patch)
tree30df43bd9eff2c4d3d713edce11d9d1da280e753 /net/googlecl
parent3c87974395c0f207b0768da251c721e0125b48b7 (diff)
downloadfreebsd-ports-gnome-e638299edcfecb35838ad7fad0b71c4fa5ed7639.tar.gz
freebsd-ports-gnome-e638299edcfecb35838ad7fad0b71c4fa5ed7639.tar.zst
freebsd-ports-gnome-e638299edcfecb35838ad7fad0b71c4fa5ed7639.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/googlecl')
-rw-r--r--net/googlecl/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/net/googlecl/Makefile b/net/googlecl/Makefile
index 34cfdab62c86..eead3fce6243 100644
--- a/net/googlecl/Makefile
+++ b/net/googlecl/Makefile
@@ -15,19 +15,18 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gdata>0:${PORTSDIR}/devel/py-gdata
USES= python:2
USE_PYTHON= autoplist distutils
+NO_ARCH= yes
OPTIONS_DEFINE= DOCS
PLIST_FILES= man/man1/google.1.gz
PORTDOCS= *
-.include <bsd.port.options.mk>
-
post-install:
-.if ${PORT_OPTIONS:MDOCS}
+ ${INSTALL_MAN} ${WRKSRC}/man/google.1 ${STAGEDIR}${MANPREFIX}/man/man1
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.* ${STAGEDIR}${DOCSDIR}
-.endif
- ${INSTALL_MAN} ${WRKSRC}/man/google.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>