freebsd-ports/devel/clig/Makefile
Raphael Kubo da Costa 3a79929fdb Switch MASTER_SITES and WWW to https in Chris' ports.
PR:		241272
Submitted by:	Chris Hutchinson <portmaster@bsdforge.com> (maintainer)
2019-10-19 12:21:22 +00:00

39 lines
968 B
Makefile

# Created by: Bill Fumerola <billf@chc-chimes.com>
# $FreeBSD$
PORTNAME= clig
PORTVERSION= 1.9.11.1
PORTREVISION= 3
CATEGORIES= devel tcl
MASTER_SITES= https://BSDforge.com/projects/source/devel/clig/
MAINTAINER= portmaster@BSDforge.com
COMMENT= Auto-generate an (argc, argv) processor, usage message, and manpage
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING-2.0
USES= shebangfix tcl tk
SHEBANG_FILES= tcl/*.tcl
tk_OLD_CMD= /usr/bin/wish8.0
NO_BUILD= yes
MAKEFILE= makefile
MAKE_ENV= NOPORTDOCS=${NOPORTDOCS}
MAKE_ARGS= prefix="${PREFIX}" build_root="${STAGEDIR}"
WRKSRC= ${WRKDIR}/${PORTNAME}
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-patch:
@${RM} ${WRKSRC}/example/.cvsignore
@${FIND} -d ${WRKSRC} -type d -and -name CVS -exec ${RM} -r {} \;
@${REINPLACE_CMD} -e 's|/usr/bin/tclsh|${TCLSH}|; \
s|/doc/|/share/doc/|; \
s|-$$(VERSION)||;' \
${WRKSRC}/makefile
@${REINPLACE_CMD} -e "s|tclsh|${TCLSH}|" \
${WRKSRC}/man/fixman
.include <bsd.port.mk>