summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2002-11-23 08:06:36 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2002-11-23 08:06:36 +0000
commitd97b231454f6be366092b400d08d0c75bcf406f1 (patch)
treee16e2b718961ca65d983e60b90da73a760dd41e1
parentPREFIX clean. (diff)
Update MASTER_SITES and WWW: line and tk80 -> tk83.
PR: ports/45616 Submitted by: Ports Fury
-rw-r--r--devel/SpecTcl/Makefile19
-rw-r--r--devel/SpecTcl/files/patch-aa2
-rw-r--r--devel/SpecTcl/files/patch-ab2
-rw-r--r--devel/SpecTcl/pkg-descr2
4 files changed, 15 insertions, 10 deletions
diff --git a/devel/SpecTcl/Makefile b/devel/SpecTcl/Makefile
index 83e9fb414811..0fa1e8aa7eb0 100644
--- a/devel/SpecTcl/Makefile
+++ b/devel/SpecTcl/Makefile
@@ -7,21 +7,26 @@
PORTNAME= SpecTcl
PORTVERSION= 1.1
-PORTREVISION= 1
-CATEGORIES= devel tk80
-MASTER_SITES= ftp://ftp.scriptics.com/pub/tcl/guitools/
+PORTREVISION= 2
+CATEGORIES= devel tk83
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME:L}
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-RUN_DEPENDS= wish8.0:${PORTSDIR}/x11-toolkits/tk80
+RUN_DEPENDS= wish8.3:${PORTSDIR}/x11-toolkits/tk83
-USE_REINPLACE= yes
NO_BUILD= yes
+USE_REINPLACE= yes
+
+WISH= ${LOCALBASE}/bin/wish8.3
post-patch:
- @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/bin/specJava
- @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/bin/specTcl
+.for file in specJava specTcl
+ @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \
+ s|%%WISH%%|${WISH}|g' ${WRKSRC}/bin/${file}
+.endfor
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bin/specJava ${PREFIX}/bin
diff --git a/devel/SpecTcl/files/patch-aa b/devel/SpecTcl/files/patch-aa
index fef668eaa196..a7774a7d8ba4 100644
--- a/devel/SpecTcl/files/patch-aa
+++ b/devel/SpecTcl/files/patch-aa
@@ -9,7 +9,7 @@
# Change WISH to the pathname of your tk4.1a2 (or >) wish binary
-WISH=`which wish`
-+WISH=wish8.0
++WISH=%%WISH%%
env SPECTCL_DIR=$DIR $WISH $DIR/main.tk $@ &
echo "Starting SpecTcl 1.1"
diff --git a/devel/SpecTcl/files/patch-ab b/devel/SpecTcl/files/patch-ab
index f9936ddf949d..a77bd9d9cd5a 100644
--- a/devel/SpecTcl/files/patch-ab
+++ b/devel/SpecTcl/files/patch-ab
@@ -9,7 +9,7 @@
# Change WISH to the pathname of your tk4.1a2 (or >) wish binary
-WISH=`which wish`
-+WISH=wish8.0
++WISH=%%WISH%%
env SPECTCL_DIR=$DIR $WISH $DIR/main.tk -java $@ &
echo "Starting SpecTcl 1.0"
diff --git a/devel/SpecTcl/pkg-descr b/devel/SpecTcl/pkg-descr
index 9b373d4cc594..624c44cb4ca6 100644
--- a/devel/SpecTcl/pkg-descr
+++ b/devel/SpecTcl/pkg-descr
@@ -16,4 +16,4 @@ Constraint Based Alignment and resizing of widgets (buttons,
Geometry Manager: check boxes, etc.) is automatic. This makes
creating dynamic UIs and cross platform UIs a snap!
-WWW: http://sunscript.sun.com/products/spectcl.html
+WWW: http://spectcl.sourceforge.net/