1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Pass maintainership to submitter

- Use TCL/TK 8.4

PR:             110314
Submitted by:   Martin Tournoij <carpetsmoker@xs4all.nl>
This commit is contained in:
Martin Wilke 2007-03-20 18:47:57 +00:00
parent 57a18f1763
commit 711d91a8d5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=187813

View File

@ -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>