View | Details | Raw Unified | Return to bug 134624
Collapse All | Expand All

(-)devel/tkcon/Makefile (-15 / +12 lines)
Lines 6-37 Link Here
6
#
6
#
7
7
8
PORTNAME=	tkcon
8
PORTNAME=	tkcon
9
PORTVERSION=	2.4
9
PORTVERSION=	2.5
10
PORTREVISION=	1
11
CATEGORIES=	devel tcl tk
10
CATEGORIES=	devel tcl tk
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
11
MASTER_SITES=	SF
13
MASTER_SITE_SUBDIR=${PORTNAME}
14
12
15
MAINTAINER=	ports@FreeBSD.org
13
MAINTAINER=	ports@FreeBSD.org
16
COMMENT=	Tk console for Tcl
14
COMMENT=	Tk console for Tcl
17
15
18
RUN_DEPENDS=	wish8.4:${PORTSDIR}/x11-toolkits/tk84
19
20
NO_BUILD=	yes
16
NO_BUILD=	yes
21
REINPLACE_ARGS=	-i.bak -E
17
USE_TK_WRAPPER=	yes
18
19
PORTDOCS=	*
20
PLIST_FILES=	bin/${PORTNAME}
22
21
23
post-patch:
22
post-patch:
24
	@${REINPLACE_CMD} \
23
	@${REINPLACE_CMD} -e \
25
		-e 's,docs\s+"([^"]+)",docs	"file:${PREFIX}/share/doc/tkcon/index.html\\n\1",' ${WRKSRC}/tkcon.tcl
24
		's|%%DOCSDIR%%|${DOCSDIR}|g' ${WRKSRC}/${PORTNAME}.tcl
26
25
27
do-install:
26
do-install:
28
	${INSTALL_SCRIPT} ${WRKSRC}/tkcon.tcl ${PREFIX}/bin/tkcon
27
	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.tcl ${PREFIX}/bin/${PORTNAME}
29
30
.if !defined(NOPORTDOCS)
28
.if !defined(NOPORTDOCS)
31
post-install:
29
	@${MKDIR} ${DOCSDIR}
32
	${MKDIR} ${PREFIX}/share/doc/tkcon
30
	${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}/README.${PORTNAME}
33
	${INSTALL_DATA} ${WRKSRC}/README.txt $(PREFIX)/share/doc/tkcon/README.tkcon
31
	${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
34
	${INSTALL_DATA} ${WRKSRC}/docs/* $(PREFIX)/share/doc/tkcon
35
.endif
32
.endif
36
33
37
.include <bsd.port.mk>
34
.include <bsd.port.mk>
(-)devel/tkcon/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (tkcon-2.4.tar.gz) = 415905fe3d81aa957f9c4424c219784e
1
MD5 (tkcon-2.5.tar.gz) = 7d8e83727b8f9630d1b7e233cda145af
2
SHA256 (tkcon-2.4.tar.gz) = ebfa18474216d7df856fadf5778f66371dae8a79be1ca57200b7f5ba22920c6a
2
SHA256 (tkcon-2.5.tar.gz) = 3ff3eb7198b060d2c3bdc195c1f7d8532e63742447179fbb6091a3886bab42a9
3
SIZE (tkcon-2.4.tar.gz) = 107436
3
SIZE (tkcon-2.5.tar.gz) = 139834
(-)devel/tkcon/files/patch-aa (-10 lines)
Lines 1-10 Link Here
1
--- tkcon.tcl	Thu Apr  1 05:49:22 1999
2
+++ tkcon.tcl	Mon Jun 28 21:35:52 1999
3
@@ -1,6 +1,6 @@
4
 #!/bin/sh
5
 # \
6
-exec wish "$0" ${1+"$@"}
7
+if [ X$WISH != X ]; then exec $WISH "$0" -- "$@"; else exec wish8.4 "$0" -- "$@"; fi;
8
 
9
 #
10
 ## tkcon.tcl
(-)devel/tkcon/files/patch-tkcon.tcl (+22 lines)
Line 0 Link Here
1
--- tkcon.tcl.orig	2009-02-27 09:17:21.000000000 +0900
2
+++ tkcon.tcl	2009-05-16 18:38:23.000000000 +0900
3
@@ -194,7 +194,7 @@
4
 	RCS		{RCS: @(#) $Id: tkcon.tcl,v 1.102 2008/02/07 21:02:53 hobbs Exp $}
5
 	HEADURL		{http://tkcon.cvs.sourceforge.net/tkcon/tkcon/tkcon.tcl?rev=HEAD}
6
 
7
-	docs		"http://tkcon.sourceforge.net/"
8
+	docs		"file:%%DOCSDIR%%/index.html"
9
 	email		{jeff(a)hobbs(.)org}
10
 	root		.
11
 	uid		0
12
@@ -1586,8 +1586,8 @@
13
     foreach m [list [menu $w.help] [menu $w.pop.help]] {
14
 	$m add command -label "About " -underline 0 -accel Ctrl-A \
15
 		-command ::tkcon::About
16
-	$m add command -label "Retrieve Latest Version" -underline 0 \
17
-		-command ::tkcon::Retrieve
18
+	# $m add command -label "Retrieve Latest Version" -underline 0 \
19
+	# 	-command ::tkcon::Retrieve
20
 	if {![catch {package require ActiveTcl} ver]} {
21
 	    set cmd ""
22
 	    if {$tcl_platform(platform) == "windows"} {
(-)devel/tkcon/pkg-plist (-21 lines)
Lines 1-21 Link Here
1
bin/tkcon
2
%%PORTDOCS%%share/doc/tkcon/README.tkcon
3
%%PORTDOCS%%share/doc/tkcon/bindings.html
4
%%PORTDOCS%%share/doc/tkcon/changes.txt
5
%%PORTDOCS%%share/doc/tkcon/demopic.gif
6
%%PORTDOCS%%share/doc/tkcon/dump.html
7
%%PORTDOCS%%share/doc/tkcon/idebug.html
8
%%PORTDOCS%%share/doc/tkcon/index.html
9
%%PORTDOCS%%share/doc/tkcon/license.terms
10
%%PORTDOCS%%share/doc/tkcon/limits.html
11
%%PORTDOCS%%share/doc/tkcon/nontcl.html
12
%%PORTDOCS%%share/doc/tkcon/observe.html
13
%%PORTDOCS%%share/doc/tkcon/perl.txt
14
%%PORTDOCS%%share/doc/tkcon/plugin.html
15
%%PORTDOCS%%share/doc/tkcon/procs.html
16
%%PORTDOCS%%share/doc/tkcon/purpose.html
17
%%PORTDOCS%%share/doc/tkcon/start.html
18
%%PORTDOCS%%share/doc/tkcon/tkcon.html
19
%%PORTDOCS%%share/doc/tkcon/todo.html
20
%%PORTDOCS%%share/doc/tkcon/style.css
21
%%PORTDOCS%%@dirrm share/doc/tkcon

Return to bug 134624