aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cw
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-03-26 01:07:45 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-03-26 01:07:45 +0000
commita1c88a531e19376e33942d057e70688ee9d50a4b (patch)
treeee49908d6527e9e7eefe26a74de7d5b0350f8ce6 /sysutils/cw
parente44e1f856f4d48bf8357e563fc15f4c2c744ca82 (diff)
downloadports-a1c88a531e19376e33942d057e70688ee9d50a4b.tar.gz
ports-a1c88a531e19376e33942d057e70688ee9d50a4b.zip
Notes
Diffstat (limited to 'sysutils/cw')
-rw-r--r--sysutils/cw/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/sysutils/cw/Makefile b/sysutils/cw/Makefile
index df3db717c944..3952355b96ad 100644
--- a/sysutils/cw/Makefile
+++ b/sysutils/cw/Makefile
@@ -11,7 +11,8 @@ MASTER_SITES= http://cwrapper.sourceforge.net/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Non-intrusive color wrapper for common commands
-LICENSE= GPLv2
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
USES= shebangfix
@@ -23,15 +24,17 @@ cw_CMD= ${PREFIX}/bin/cw
GNU_CONFIGURE= yes
ALL_TARGET= local
-PORTDOCS= CHANGES CONTRIB FILES INSTALL PLATFORM README VERSION
+PORTDOCS= CHANGES CONTRIB README
OPTIONS_DEFINE= DOCS
post-install:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.for file in cw cwu
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${file}
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${file}
.endfor
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
.include <bsd.port.mk>