- Clarify LICENSE
- Add LICENSE_FILE - Don't install useless docs - Switch to options helpers
This commit is contained in:
parent
e44e1f856f
commit
a1c88a531e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=411913
1 changed files with 8 additions and 5 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue