aboutsummaryrefslogtreecommitdiff
path: root/textproc/humanzip
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-11-12 17:22:03 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-11-12 17:22:03 +0000
commitc8aaf2209d3f24b852389c4a7a7349ddc0466ce2 (patch)
tree257af868046be9807708d7f8f93a5941ef4959e0 /textproc/humanzip
parentf7c965f0a666d2f8f062ff7edc2d4c0bc6b5775a (diff)
downloadports-c8aaf2209d3f24b852389c4a7a7349ddc0466ce2.tar.gz
ports-c8aaf2209d3f24b852389c4a7a7349ddc0466ce2.zip
- Add LICENSE_FILE
- Optionize DOCS - Switch to options helpers
Notes
Notes: svn path=/head/; revision=401380
Diffstat (limited to 'textproc/humanzip')
-rw-r--r--textproc/humanzip/Makefile7
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})