aboutsummaryrefslogtreecommitdiffstats
path: root/devel/tkcon/Makefile
blob: 17d20ac23c09f35e6ea62663d418debd8aaf3d73 (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
#
# $FreeBSD$
#

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

MAINTAINER= wghicks@bellsouth.net

RUN_DEPENDS=    wish8.2:${PORTSDIR}/x11-toolkits/tk82

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>