summaryrefslogtreecommitdiff
path: root/devel/clig/Makefile
diff options
context:
space:
mode:
authorTim Vanderhoek <hoek@FreeBSD.org>1998-07-30 15:15:35 +0000
committerTim Vanderhoek <hoek@FreeBSD.org>1998-07-30 15:15:35 +0000
commit0399bdd836c04a21dd844ce7a36c437bfeee8077 (patch)
tree30acbd85618ebf41bdeccd5e4444f9e0a56fbf11 /devel/clig/Makefile
parentAllow ob/demos/chat/X11/chat to build on other versions of motif. (diff)
Clig, a program to automatically generate usage(), manpage, and commandline
argument processor.
Notes
Notes: svn path=/head/; revision=12220
Diffstat (limited to 'devel/clig/Makefile')
-rw-r--r--devel/clig/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/devel/clig/Makefile b/devel/clig/Makefile
new file mode 100644
index 000000000000..d42bcac4135e
--- /dev/null
+++ b/devel/clig/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: clig
+# Version required: 1.0.2
+# Date created: 27 July 1998
+# Whom: Bill Fumerola <billf@chc-chimes.com>
+#
+# $Id$
+#
+
+DISTNAME= clig-1.0.2
+CATEGORIES= devel tcl80
+MASTER_SITES= http://wsd.iitb.fhg.de/~kir/clighome/
+
+MAINTAINER= billf@chc-chimes.com
+
+# This should work with any version of tcl. See also ${MAKE_ENV}.
+BUILD_DEPENDS= ${PREFIX}/bin/tclsh8.0:${PORTSDIR}/lang/tcl80
+RUN_DEPENDS= ${PREFIX}/bin/tclsh8.0:${PORTSDIR}/lang/tcl80
+
+MAN1= clig.1
+
+NO_BUILD= yes
+MAKEFILE= makefile
+MAKE_ENV= tclsh=${PREFIX}/bin/tclsh8.0
+
+do-patch:
+ chmod a+r ${WRKSRC}/CHANGES
+ ${MV} ${WRKSRC}/makefile ${WRKSRC}/makefile.orig
+ ${SED} -e 's#prefix =~/tools#prefix =${PREFIX}/share#' \
+ -e 's#LROOT =~/tools#LROOT =${PREFIX}#' \
+ -e 's#DOCDIR =$$(prefix)/doc#DOCDIR =${PREFIX}/share/doc/clig#' \
+ -e 's#MANDIR =$$(prefix)#MANDIR =${MANPREFIX}#' \
+ ${WRKSRC}/makefile.orig > ${WRKSRC}/makefile
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/WISHLIST ${PREFIX}/share/doc/clig
+
+.include <bsd.port.mk>