summaryrefslogtreecommitdiff
path: root/misc/tkman/Makefile
blob: 7557c0d8638a885eb216ba4b5fcc8d53166dd6b0 (plain) (blame)
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
# New ports collection makefile for:	tkman
# Version required:     2.1b2
# Date created:         27 Dec 1994
# Whom:                 Thomas Gellekum <tg@freebsd.org>
#
# $FreeBSD$
#

DISTNAME=	tkman-2.1b2
CATEGORIES=	misc tk80
MASTER_SITES=	ftp://ftp.cs.berkeley.edu/ucb/people/phelps/tcltk/
EXTRACT_SUFX=	.tar.Z

MAINTAINER=	tg@freebsd.org

LIB_DEPENDS=	tk80.1:${PORTSDIR}/x11-toolkits/tk80
RUN_DEPENDS=	rman:${PORTSDIR}/textproc/rman \
		glimpse:${PORTSDIR}/textproc/glimpse

NO_CDROM=	"License required"

post-patch:
	perl -pi -e "s;/usr/local/bin/wish;${PREFIX}/bin/wish8.0;" \
		${WRKSRC}/contrib/tkmanclient

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/tkman
	${INSTALL_DATA} ${WRKSRC}/tkman-help.html ${PREFIX}/share/doc/tkman
.endif
	${INSTALL_SCRIPT} ${WRKSRC}/contrib/tkmanclient ${PREFIX}/bin

.include <bsd.port.mk>