summaryrefslogtreecommitdiff
path: root/devel/tkcon/Makefile
blob: f24eb77f9ff88483343adda8306a5b71605ebbf2 (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
# New ports collection makefile for:	tkcon
# Version required:     1.6
# Date created:         28 Jun 1999
# Whom:                 wghicks@bellsouth.net
#
# $Id$
#

DISTNAME=	tkcon-1.6
CATEGORIES=	devel tk80
MASTER_SITES=	ftp://ftp.neosoft.com/languages/tcl/sorted/devel/

MAINTAINER=	wghicks@bellsouth.net

RUN_DEPENDS=	wish8.0:${PORTSDIR}/x11-toolkits/tk80

NO_BUILD=	yes

post-patch:
	@${PERL} -pi -e 's:/usr/local:${PREFIX}:' ${WRKSRC}/tkcon.tcl

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/tkcon.tcl ${PREFIX}/bin/tkcon

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/tkcon
	${INSTALL_DATA} ${WRKSRC}/README.txt $(PREFIX)/share/doc/tkcon/README.tkcon
	${INSTALL_DATA} ${WRKSRC}/docs/* $(PREFIX)/share/doc/tkcon
.endif

.include <bsd.port.mk>