1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-27 21:29:02 +00:00
freebsd-ports/devel/tkcon/Makefile
Mikhail Teterin 1561c57aae Upgrade to tkcon-2.1:
. replace one of the hunks with a regex
	. use tk83
	. handle NOPORTDOCS in pkg-plist

Approved by: maintainer
2001-06-20 18:18:24 +00:00

35 lines
814 B
Makefile

# New ports collection makefile for: tkcon
# Date created: 28 Jun 1999
# Whom: wghicks@bellsouth.net
#
# $FreeBSD$
#
PORTNAME= tkcon
PORTVERSION= 2.1
CATEGORIES= devel tk83
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=${PORTNAME}
MAINTAINER= gehicks@cisco.com
RUN_DEPENDS= wish8.3:${PORTSDIR}/x11-toolkits/tk83
NO_BUILD= yes
post-patch:
@${PERL} -pi \
-e 's,docs\s+"([^"]+)",docs "file:${PREFIX}/share/doc/tkcon/index.html\\n\1",' ${WRKSRC}/tkcon.tcl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/tkcon.tcl ${PREFIX}/bin/tkcon
.if !defined(NOPORTDOCS)
post-install:
${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>