- Support USE_TK

PR:		161635
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
Emanuel Haupt 2011-10-18 13:06:33 +00:00
parent daf2abbb57
commit 658f97193f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=283798
2 changed files with 17 additions and 16 deletions

View file

@ -14,12 +14,13 @@ MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= A Tcl/Tk based manual browser
LIB_DEPENDS= tk84.1:${PORTSDIR}/x11-toolkits/tk84
RUN_DEPENDS= rman:${PORTSDIR}/textproc/rman \
glimpse:${PORTSDIR}/textproc/glimpse
RUN_DEPENDS= glimpse:${PORTSDIR}/textproc/glimpse \
rman:${PORTSDIR}/textproc/rman
USE_TK= yes
USE_GMAKE= yes
MAKE_ARGS= WISH="${PREFIX}/bin/wish8.4" \
USE_DOS2UNIX= yes
MAKE_ARGS= WISH="${WISH}" \
texinfodir="${PREFIX}/${INFO_PATH}" \
gzgrep="\"/usr/bin/zgrep -E\"" \
mastermen="\"/usr/share/man ${PREFIX}/man ${LOCALBASE}/man\"" \
@ -28,7 +29,7 @@ MAKE_ARGS= WISH="${PREFIX}/bin/wish8.4" \
manprint="{groff -mandoc -Tps -te -l}"
post-patch:
@${REINPLACE_CMD} -e "s;/usr/local/bin/wish;${PREFIX}/bin/wish8.4;" \
@${REINPLACE_CMD} -e 's|/usr/local/bin/wish|${WISH}|' \
${WRKSRC}/contrib/tkmanclient
do-install: