diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2017-04-09 17:04:22 +0800 |
---|---|---|
committer | Koop Mast <kwm@rainbow-runner.nl> | 2017-04-09 21:34:47 +0800 |
commit | eed3db2b69314c2e28f5ba3c7bcedeb8c68a8117 (patch) | |
tree | fc7dd87d4da9bb062ef7de64ebfb302f5cdf9902 | |
parent | 0928fe0b3cc068ee088affa96365ff0cf79ef9b0 (diff) | |
download | freebsd-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/Makefile | 4 |
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} |