diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-11-12 17:22:03 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-11-12 17:22:03 +0000 |
commit | c8aaf2209d3f24b852389c4a7a7349ddc0466ce2 (patch) | |
tree | 257af868046be9807708d7f8f93a5941ef4959e0 | |
parent | f7c965f0a666d2f8f062ff7edc2d4c0bc6b5775a (diff) | |
download | ports-c8aaf2209d3f24b852389c4a7a7349ddc0466ce2.tar.gz ports-c8aaf2209d3f24b852389c4a7a7349ddc0466ce2.zip |
- Add LICENSE_FILE
- Optionize DOCS
- Switch to options helpers
Notes
Notes:
svn path=/head/; revision=401380
-rw-r--r-- | textproc/humanzip/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/textproc/humanzip/Makefile b/textproc/humanzip/Makefile index b3a7ef30b2e2..67906c06e1e5 100644 --- a/textproc/humanzip/Makefile +++ b/textproc/humanzip/Makefile @@ -9,12 +9,15 @@ MASTER_SITES= SAVANNAH MAINTAINER= ports@FreeBSD.org COMMENT= Compresses text to human readable output -LICENSE= GPLv2 # (or later) +LICENSE= GPLv2 # or later +LICENSE_FILE= ${WRKSRC}/COPYING PORTDOCS= CHANGELOG README TODO PLIST_FILES= bin/humanunzip bin/humanzip \ man/man1/humanunzip.1.gz man/man1/humanzip.1.gz +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e \ 's|g++|$${CXX}| ; \ @@ -27,6 +30,8 @@ do-install: (cd ${WRKSRC} && ${INSTALL_MAN} humanzip.1 \ ${STAGEDIR}${MAN1PREFIX}/man/man1) ${LN} -sf humanzip.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/humanunzip.1 + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR}) |