1998-07-30 15:15:35 +00:00
|
|
|
# New ports collection makefile for: clig
|
|
|
|
# Version required: 1.0.2
|
|
|
|
# Date created: 27 July 1998
|
|
|
|
# Whom: Bill Fumerola <billf@chc-chimes.com>
|
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1998-07-30 15:15:35 +00:00
|
|
|
#
|
|
|
|
|
1999-08-07 20:44:32 +00:00
|
|
|
DISTNAME= clig-1.1.3
|
1999-11-28 18:32:45 +00:00
|
|
|
CATEGORIES= devel tcl82
|
1998-07-30 15:15:35 +00:00
|
|
|
MASTER_SITES= http://wsd.iitb.fhg.de/~kir/clighome/
|
|
|
|
|
1998-12-29 18:22:59 +00:00
|
|
|
MAINTAINER= billf@FreeBSD.org
|
1998-07-30 15:15:35 +00:00
|
|
|
|
|
|
|
# This should work with any version of tcl. See also ${MAKE_ENV}.
|
2000-02-04 23:39:38 +00:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/tclsh8.2:${PORTSDIR}/lang/tcl82
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/tclsh8.2:${PORTSDIR}/lang/tcl82
|
1998-07-30 15:15:35 +00:00
|
|
|
|
|
|
|
MAN1= clig.1
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
MAKEFILE= makefile
|
1999-11-28 18:32:45 +00:00
|
|
|
MAKE_ENV= tclsh=${PREFIX}/bin/tclsh8.2
|
1999-08-07 20:44:32 +00:00
|
|
|
PLIST_SUB= VERSION=${DISTNAME}
|
1998-07-30 15:15:35 +00:00
|
|
|
|
|
|
|
do-patch:
|
1999-08-22 19:01:07 +00:00
|
|
|
@${CHMOD} a+r ${WRKSRC}/CHANGES
|
1999-08-07 20:44:32 +00:00
|
|
|
@${MV} ${WRKSRC}/makefile ${WRKSRC}/makefile.orig
|
|
|
|
@${SED} -e 's#prefix =~/tools#prefix =${PREFIX}/share#' \
|
1998-07-30 15:15:35 +00:00
|
|
|
-e 's#LROOT =~/tools#LROOT =${PREFIX}#' \
|
|
|
|
-e 's#DOCDIR =$$(prefix)/doc#DOCDIR =${PREFIX}/share/doc/clig#' \
|
1998-09-23 22:59:23 +00:00
|
|
|
-e 's#MANDIR =$$(prefix)#MANDIR =${MANPREFIX}/man/#' \
|
1998-07-30 15:15:35 +00:00
|
|
|
${WRKSRC}/makefile.orig > ${WRKSRC}/makefile
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/WISHLIST ${PREFIX}/share/doc/clig
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|