1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-24 21:01:20 +00:00
freebsd-ports/x11-fonts/tkfont/Makefile
Steve Price eae0a60682 Work around the fact that Tcl's exec treats non-empty stderr as an
indication of error.  Also update to use Tk version 8.2.

PR:		14292
Submitted by:	Mikhail Teterin <mi@aldan.algebra.com>
1999-11-26 18:32:51 +00:00

34 lines
908 B
Makefile

# New ports collection makefile for: tkfont-1.1
# Version required: 1.1
# Date created: 11 May 1998
# Whom: Brett Taylor
#
# $FreeBSD$
#
DISTNAME= tkfont-1.1
CATEGORIES= x11-fonts tk82
MASTER_SITES= ftp://ftp.cdrom.com/pub/linux/tsx-11/sources/usr.bin.X11/ \
http://www.FreeBSD.org/~billf/
MAINTAINER= brett@peloton.runet.edu
RUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82
NO_BUILD= yes
post-patch:
${SED} -e "s,/usr/local,${LOCALBASE}," \
-e "s,#!/usr/X11/bin/wish,#!$(LOCALBASE)/bin/wish8.2," \
< ${WRKSRC}/tkfont > ${WRKSRC}/tkfont.new
${MV} ${WRKSRC}/tkfont.new ${WRKSRC}/tkfont
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/tkfont ${PREFIX}/bin
@${MKDIR} ${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>