aboutsummaryrefslogtreecommitdiff
path: root/editors/vigor
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-03-20 18:47:57 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-03-20 18:47:57 +0000
commit711d91a8d5bfff72470516f9eef54f0e26e29f9a (patch)
treedc25200299332dcb9ee11e154329f25c21cccaab /editors/vigor
parent57a18f1763a3f0599f10c0efd5ce3599cb4e64fa (diff)
downloadports-711d91a8d5bfff72470516f9eef54f0e26e29f9a.tar.gz
ports-711d91a8d5bfff72470516f9eef54f0e26e29f9a.zip
Notes
Diffstat (limited to 'editors/vigor')
-rw-r--r--editors/vigor/Makefile28
1 files changed, 14 insertions, 14 deletions
diff --git a/editors/vigor/Makefile b/editors/vigor/Makefile
index c9b3a5223684..663b15fb6055 100644
--- a/editors/vigor/Makefile
+++ b/editors/vigor/Makefile
@@ -7,30 +7,30 @@
PORTNAME= vigor
PORTVERSION= 0.016
-CATEGORIES= editors tk82 tcl82
+PORTREVISION= 1
+CATEGORIES= editors tk84 tcl84
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= carpetsmoker@xs4all.nl
COMMENT= A vi clone inspired by the userfriendly comic strip
-LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82 \
- tcl82.1:${PORTSDIR}/lang/tcl82
-
+USE_TCL= yes
+USE_TCL_BUILD= yes
+USE_TK= yes
+USE_TK_BUILD= yes
+USE_XLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--program-transform-name="s,0,1,"
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
-USE_XLIB= yes
-WRKSRC= ${WRKDIR}/${DISTNAME}/build
-CFLAGS+= -I${LOCALBASE}/include/tcl8.2 -I${LOCALBASE}/include/tk8.2
+WRKSRC= ${WRKDIR}/${DISTNAME}/build
+CFLAGS+= -I${LOCALBASE}/include/tcl${TCL_VER} -I${LOCALBASE}/include/tk${TK_VER}
-# Uglyness. So is "-ltcl -ltk -ltcl", so I don't feel bad.
post-patch:
- ${REINPLACE_CMD} \
- -e 's,-ltcl,-ltcl82 -L${LOCALBASE}/lib,g' \
- -e 's,-ltk,-ltk82,g' \
- -e 's,^grantpt,XXXgrantpt,g' \
- ${WRKSRC}/configure
+ ${REINPLACE_CMD} -e 's|tcl80|tcl${TCL_VER:S/.//} -L${LOCALBASE}/lib|; \
+ s|tk80|tk${TK_VER:S/.//}|; \
+ s|^grantpt|XXXgrantpt|;' \
+ ${WRKSRC}/configure
.include <bsd.port.mk>