diff options
Diffstat (limited to 'x11-fonts/tkfont/Makefile')
-rw-r--r-- | x11-fonts/tkfont/Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/x11-fonts/tkfont/Makefile b/x11-fonts/tkfont/Makefile new file mode 100644 index 000000000000..84529ff08fb5 --- /dev/null +++ b/x11-fonts/tkfont/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: tkfont-1.1 +# Version required: 1.1 +# Date created: 11 May 1998 +# Whom: Brett Taylor +# +# $Id:$ +# + +DISTNAME= tkfont-1.1 +CATEGORIES= x11 tk80 +MASTER_SITES= http://cdrom.com/pub/linux/tsx-11/sources/usr.bin.X11/ + +MAINTAINER= brett@peloton.physics.montana.edu + +RUN_DEPENDS= wish8.0:${PORTSDIR}/x11/tk80 + +NO_BUILD= yes + +post-patch: + ${SED} -e "s,#!/usr/X11/bin/wish,#!$(LOCALBASE)/bin/wish8.0," < ${WRKSRC}/tkfont > ${WRKSRC}/tkfont.new + ${MV} ${WRKSRC}/tkfont.new ${WRKSRC}/tkfont + +do-install: + @${INSTALL_SCRIPT} ${WRKSRC}/tkfont ${PREFIX}/bin + @${MKDIR} ${PREFIX}/lib/tkfont + @${INSTALL_SCRIPT} ${WRKSRC}/GetFontDirs ${PREFIX}/lib/tkfont + @for file in COPYING Bugs.txt FileMenu.txt FindFont FontDirs.txt FontTypes.txt HelpText.txt README WhatsNew.txt; do \ + ${INSTALL_DATA} ${WRKSRC}/$$file ${PREFIX}/lib/tkfont; \ + done +.include <bsd.port.mk> |