1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/devel/clig/Makefile
Bill Fumerola e136544d9a Upgrade to 1.1.3, and do it in a way that future PLISTs won't have to be
changed as much (thanks to cpiazza).
1999-08-07 20:44:32 +00:00

39 lines
1.1 KiB
Makefile

# New ports collection makefile for: clig
# Version required: 1.0.2
# Date created: 27 July 1998
# Whom: Bill Fumerola <billf@chc-chimes.com>
#
# $Id: Makefile,v 1.5 1998/12/29 18:22:56 billf Exp $
#
DISTNAME= clig-1.1.3
CATEGORIES= devel tcl80
MASTER_SITES= http://wsd.iitb.fhg.de/~kir/clighome/
MAINTAINER= billf@FreeBSD.org
# 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
PLIST_SUB= VERSION=${DISTNAME}
do-patch:
@/usr/sbin/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}/man/#' \
${WRKSRC}/makefile.orig > ${WRKSRC}/makefile
post-install:
${INSTALL_DATA} ${WRKSRC}/WISHLIST ${PREFIX}/share/doc/clig
.include <bsd.port.mk>