aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-03-01 23:07:45 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-03-01 23:07:45 +0800
commitce5ffeb1153da2b451daa24e0e321d4f0de2c1db (patch)
treee5647e358828d5fbfe92e9c61eb3c87817934424 /devel
parenta9fed73c155ab37183814ae97e480ecd97d9b682 (diff)
downloadfreebsd-ports-gnome-ce5ffeb1153da2b451daa24e0e321d4f0de2c1db.tar.gz
freebsd-ports-gnome-ce5ffeb1153da2b451daa24e0e321d4f0de2c1db.tar.zst
freebsd-ports-gnome-ce5ffeb1153da2b451daa24e0e321d4f0de2c1db.zip
- Add LICENSE
- Fix references to stagedir from installed files - Remove unneeded options.mk inclusion MFH: 2015Q1
Diffstat (limited to 'devel')
-rw-r--r--devel/clig/Makefile11
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