1999-06-29 07:32:38 +02:00
|
|
|
# New ports collection makefile for: tkcon
|
|
|
|
# Date created: 28 Jun 1999
|
|
|
|
# Whom: wghicks@bellsouth.net
|
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1999-06-29 07:32:38 +02:00
|
|
|
#
|
|
|
|
|
2000-04-14 07:44:42 +02:00
|
|
|
PORTNAME= tkcon
|
2004-11-15 19:55:50 +01:00
|
|
|
PORTVERSION= 2.4
|
2003-08-17 03:51:48 +02:00
|
|
|
CATEGORIES= devel tcl84 tk84
|
2001-06-20 20:18:24 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR=${PORTNAME}
|
1999-06-29 07:32:38 +02:00
|
|
|
|
2005-10-11 23:27:23 +02:00
|
|
|
MAINTAINER= andrew.nau.ua@gmail.com
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= Tk console for Tcl
|
2000-02-21 20:46:19 +01:00
|
|
|
|
2003-08-17 03:51:48 +02:00
|
|
|
RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
|
1999-06-29 07:32:38 +02:00
|
|
|
|
2002-06-27 15:32:14 +02:00
|
|
|
USE_REINPLACE= yes
|
1999-06-29 07:32:38 +02:00
|
|
|
NO_BUILD= yes
|
2002-06-27 15:32:14 +02:00
|
|
|
REINPLACE_ARGS= -i.bak -E
|
1999-06-29 07:32:38 +02:00
|
|
|
|
|
|
|
post-patch:
|
2002-06-27 15:32:14 +02:00
|
|
|
@${REINPLACE_CMD} \
|
2001-06-20 20:18:24 +02:00
|
|
|
-e 's,docs\s+"([^"]+)",docs "file:${PREFIX}/share/doc/tkcon/index.html\\n\1",' ${WRKSRC}/tkcon.tcl
|
1999-06-29 07:32:38 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/tkcon.tcl ${PREFIX}/bin/tkcon
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
2001-06-20 20:18:24 +02:00
|
|
|
post-install:
|
1999-06-29 07:32:38 +02:00
|
|
|
${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>
|