freebsd-ports/editors/vigor/Makefile
Kris Kennaway 93872f18cc Move inclusion of bsd.port.pre.mk later in the file for conditional BROKEN
tag.  Early inclusion caused problems for some ports, so to be safe I'm
updating all of them.

Pointy hat to:	kris
2003-06-04 22:43:38 +00:00

40 lines
1 KiB
Makefile

# New ports collection makefile for: vigor
# Date created: 17 Jan 2000
# Whom: Bill Fumerola <billf@chc-chimes.com>
#
# $FreeBSD$
#
PORTNAME= vigor
PORTVERSION= 0.016
CATEGORIES= editors tk82 tcl82
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= billf@FreeBSD.org
COMMENT= A vi clone inspired by the userfriendly comic strip
LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82 \
tcl82.1:${PORTSDIR}/lang/tcl82
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--program-transform-name="s,0,1,"
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
WRKSRC= ${WRKDIR}/${DISTNAME}/build
CFLAGS+= -I${LOCALBASE}/include/tcl8.2 -I${LOCALBASE}/include/tk8.2
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500113
BROKEN= "Does not compile"
.endif
# 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.post.mk>