summaryrefslogtreecommitdiffstats
path: root/x11-fonts/tkfont/Makefile
blob: c94c9a162217054948dfb8a4450d452c17ce6b77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:	tkfont-1.1
# Date created:		11 May 1998
# Whom:			Brett Taylor
#
# $FreeBSD$
#

PORTNAME=	tkfont
PORTVERSION=	1.1
PORTREVISION=	1
CATEGORIES=	x11-fonts tk83
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	petef

MAINTAINER=	brett@peloton.runet.edu

RUN_DEPENDS=	wish8.3:${PORTSDIR}/x11-toolkits/tk83

NO_BUILD=	yes

post-patch:
	${SED} -e "s,/usr/local,${LOCALBASE}," \
		-e "s,#!/usr/X11/bin/wish,#!$(LOCALBASE)/bin/wish8.3," \
		 < ${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>
OpenPOWER on IntegriCloud