2000-01-17 21:29:22 -05:00
|
|
|
# New ports collection makefile for: vigor
|
|
|
|
# Date created: 17 Jan 2000
|
|
|
|
# Whom: Bill Fumerola <billf@chc-chimes.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-13 20:25:54 -04:00
|
|
|
PORTNAME= vigor
|
2000-07-03 20:02:49 -04:00
|
|
|
PORTVERSION= 0.016
|
2000-01-17 21:29:22 -05:00
|
|
|
CATEGORIES= editors tk82 tcl82
|
2000-08-07 13:08:31 -04:00
|
|
|
MASTER_SITES= http://www.red-bean.com/~joelh/vigor/
|
2000-01-17 21:29:22 -05:00
|
|
|
|
|
|
|
MAINTAINER= billf@FreeBSD.org
|
|
|
|
|
|
|
|
LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82 \
|
|
|
|
tcl82.1:${PORTSDIR}/lang/tcl82
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+=--program-transform-name="s,0,1,"
|
2000-02-11 14:01:34 -05:00
|
|
|
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
|
2000-01-17 21:29:22 -05:00
|
|
|
|
2001-02-05 09:36:22 -05:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/build
|
2000-01-17 21:29:22 -05:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include/tcl8.2 -I${LOCALBASE}/include/tk8.2
|
|
|
|
|
|
|
|
# Uglyness. So is "-ltcl -ltk -ltcl", so I don't feel bad.
|
|
|
|
post-patch:
|
|
|
|
@${CP} ${WRKSRC}/configure ${WRKSRC}/configure.orig
|
|
|
|
@${SED} -e 's#-ltcl#-ltcl82 -L${LOCALBASE}/lib#g' \
|
|
|
|
-e 's#-ltk#-ltk82#g' \
|
|
|
|
< ${WRKSRC}/configure.orig > ${WRKSRC}/configure
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|