diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2017-04-09 17:04:22 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2017-04-09 17:04:22 +0800 |
commit | 646462414376aba0bfe425652c1cfd31a183488d (patch) | |
tree | e34da497af52a69fe3dd147a674e79f3779cec8b | |
parent | ab8e9670409596934eb22c066cfb834775fa281e (diff) | |
download | freebsd-ports-gnome-646462414376aba0bfe425652c1cfd31a183488d.tar.gz freebsd-ports-gnome-646462414376aba0bfe425652c1cfd31a183488d.tar.zst freebsd-ports-gnome-646462414376aba0bfe425652c1cfd31a183488d.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} |