aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2017-04-09 17:04:22 +0800
committerKoop Mast <kwm@rainbow-runner.nl>2017-04-09 21:34:47 +0800
commiteed3db2b69314c2e28f5ba3c7bcedeb8c68a8117 (patch)
treefc7dd87d4da9bb062ef7de64ebfb302f5cdf9902
parent0928fe0b3cc068ee088affa96365ff0cf79ef9b0 (diff)
downloadfreebsd-ports-gnome-eed3db2b69314c2e28f5ba3c7bcedeb8c68a8117.tar.gz
freebsd-ports-gnome-eed3db2b69314c2e28f5ba3c7bcedeb8c68a8117.tar.zst
freebsd-ports-gnome-eed3db2b69314c2e28f5ba3c7bcedeb8c68a8117.zip
Convert to options target helper
- Add DOCS to OPTIONS_DEFINE Approved by: portmgr (blanket)
-rw-r--r--sysutils/pv/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysutils/pv/Makefile b/sysutils/pv/Makefile
index 291c3d4efd47..8e81bd996204 100644
--- a/sysutils/pv/Makefile
+++ b/sysutils/pv/Makefile
@@ -20,7 +20,7 @@ PLIST_FILES= bin/pv man/man1/pv.1.gz
PORTDOCS= README INSTALL NEWS PACKAGE TODO VERSION release-checklist
-OPTIONS_DEFINE= NLS LFS
+OPTIONS_DEFINE= DOCS NLS LFS
OPTIONS_DEFAULT= LFS
NLS_CONFIGURE_ON= --enable-static-nls
NLS_CONFIGURE_OFF= --disable-nls
@@ -31,6 +31,8 @@ post-patch:
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pv
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}