1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/x11-fonts/tkfont/Makefile

36 lines
912 B
Makefile
Raw Normal View History

# New ports collection makefile for: tkfont-1.1
# Date created: 11 May 1998
# Whom: Brett Taylor
#
1999-08-31 03:04:38 +00:00
# $FreeBSD$
#
PORTNAME= tkfont
2001-02-05 21:02:14 +00:00
PORTVERSION= 1.1
2003-08-17 08:15:52 +00:00
PORTREVISION= 2
CATEGORIES= x11-fonts tcl84 tk84
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= petef
MAINTAINER= ports@freebsd.org
2003-02-21 14:08:24 +00:00
COMMENT= A Tk based replacement for xfontsel
RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
NO_BUILD= yes
post-patch:
${SED} -e "s,/usr/local,${LOCALBASE}," \
-e "s,#!/usr/X11/bin/wish,#!$(LOCALBASE)/bin/wish8.4," \
< ${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>