diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2001-06-20 18:18:24 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2001-06-20 18:18:24 +0000 |
commit | 1561c57aae876d6bae86666bd6ce9061f0470a88 (patch) | |
tree | c1b3e851c8cff39a787f397ff1244b7f92b02b13 /devel/tkcon/Makefile | |
parent | I missed a gcc30'ism when converting this from `gcc-devel'. (diff) |
Upgrade to tkcon-2.1:
. replace one of the hunks with a regex
. use tk83
. handle NOPORTDOCS in pkg-plist
Approved by: maintainer
Diffstat (limited to 'devel/tkcon/Makefile')
-rw-r--r-- | devel/tkcon/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/devel/tkcon/Makefile b/devel/tkcon/Makefile index 91fe1c35bd1f..ae826c97ebf6 100644 --- a/devel/tkcon/Makefile +++ b/devel/tkcon/Makefile @@ -6,24 +6,26 @@ # PORTNAME= tkcon -PORTVERSION= 1.6 -CATEGORIES= devel tk82 -MASTER_SITES= ftp://ftp.neosoft.com/languages/tcl/sorted/packages-8.0/devel/ +PORTVERSION= 2.1 +CATEGORIES= devel tk83 +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR=${PORTNAME} MAINTAINER= gehicks@cisco.com -RUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82 +RUN_DEPENDS= wish8.3:${PORTSDIR}/x11-toolkits/tk83 NO_BUILD= yes post-patch: - @${PERL} -pi -e 's:/usr/local:${PREFIX}:' ${WRKSRC}/tkcon.tcl + @${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 -post-install: .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 |