1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

- Use USE_TK.

- Add dependency on xlsfonts.

PR:		147276
Submitted by:	Robert Jenssen <robertjenssen@ozemail.com.au>
Feature safe:	yes
This commit is contained in:
Stefan Walter 2010-06-30 19:26:34 +00:00
parent 3c99cab69b
commit 8b744dea34
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=257224

View File

@ -15,13 +15,15 @@ MASTER_SITE_SUBDIR= petef
MAINTAINER= ports@FreeBSD.org
COMMENT= A Tk based replacement for xfontsel
RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
USE_TK= yes
RUN_DEPENDS+= xlsfonts:${PORTSDIR}/x11-fonts/xlsfonts
NO_BUILD= yes
post-patch:
${SED} -e "s,/usr/local,${LOCALBASE}," \
-e "s,#!/usr/X11/bin/wish,#!$(LOCALBASE)/bin/wish8.4," \
-e "s,#!/usr/X11/bin/wish,#!${WISH}," \
< ${WRKSRC}/tkfont > ${WRKSRC}/tkfont.new
${MV} ${WRKSRC}/tkfont.new ${WRKSRC}/tkfont