diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-03-01 15:07:45 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-03-01 15:07:45 +0000 |
commit | e52272bf358cb03c7885778f6c9c7166a0d95ce6 (patch) | |
tree | e5647e358828d5fbfe92e9c61eb3c87817934424 /devel/clig | |
parent | 00fa54adec94b02853b015bf248309be03e4b7f0 (diff) | |
download | ports-e52272bf358cb03c7885778f6c9c7166a0d95ce6.tar.gz ports-e52272bf358cb03c7885778f6c9c7166a0d95ce6.zip |
- Add LICENSE
- Fix references to stagedir from installed files
- Remove unneeded options.mk inclusion
MFH: 2015Q1
Notes
Notes:
svn path=/head/; revision=380203
Diffstat (limited to 'devel/clig')
-rw-r--r-- | devel/clig/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/devel/clig/Makefile b/devel/clig/Makefile index 0af889199988..b45f0d06e560 100644 --- a/devel/clig/Makefile +++ b/devel/clig/Makefile @@ -3,29 +3,30 @@ PORTNAME= clig PORTVERSION= 1.9.11.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel tcl MASTER_SITES= http://wsd.iitb.fhg.de/~geg/clighome/ MAINTAINER= ports@FreeBSD.org COMMENT= Auto-generate an (argc, argv) processor, usage message, and manpage -OPTIONS_DEFINE= DOCS +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING-2.0 NO_BUILD= yes USES+= tcl MAKEFILE= makefile MAKE_ENV+= NOPORTDOCS=${NOPORTDOCS} +MAKE_ARGS= prefix="${PREFIX}" build_root="${STAGEDIR}" WRKSRC= ${WRKDIR}/${PORTNAME} PORTDOCS= * -.include <bsd.port.options.mk> +OPTIONS_DEFINE= DOCS post-patch: @${RM} ${WRKSRC}/example/.cvsignore @${FIND} -d ${WRKSRC} -type d -and -name CVS -exec ${RM} -r {} \; - @${REINPLACE_CMD} -e 's|prefix =/usr|prefix=${STAGEDIR}${PREFIX}|; \ - s|/usr/bin/tclsh|${TCLSH}|; \ + @${REINPLACE_CMD} -e 's|/usr/bin/tclsh|${TCLSH}|; \ s|/doc/|/share/doc/|; \ s|-$$(VERSION)||;' \ ${WRKSRC}/makefile |