aboutsummaryrefslogtreecommitdiffstats
path: root/devel/SpecTcl
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2002-11-23 16:06:36 +0800
committernork <nork@FreeBSD.org>2002-11-23 16:06:36 +0800
commitd36c07746d6b0c15ce3e9110200c360190d1d20b (patch)
tree694d7a19c3061f9471d4490f63c94721c6d4fa61 /devel/SpecTcl
parentdf3387843c7d0bde11ded03894f198e05bf64e14 (diff)
downloadfreebsd-ports-gnome-d36c07746d6b0c15ce3e9110200c360190d1d20b.tar.gz
freebsd-ports-gnome-d36c07746d6b0c15ce3e9110200c360190d1d20b.tar.zst
freebsd-ports-gnome-d36c07746d6b0c15ce3e9110200c360190d1d20b.zip
Update MASTER_SITES and WWW: line and tk80 -> tk83.
PR: ports/45616 Submitted by: Ports Fury
Diffstat (limited to 'devel/SpecTcl')
-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/