aboutsummaryrefslogtreecommitdiff
path: root/devel/spin
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2001-02-12 12:58:00 +0000
committerKevin Lo <kevlo@FreeBSD.org>2001-02-12 12:58:00 +0000
commit45ace1ed8532cb713833030cb1f2339e8294ca13 (patch)
tree45827f329c1d9578ee1bc872526b4b8f46f9670e /devel/spin
parent81c72d931f9dfc47b9774eceb42358785774fdee (diff)
downloadports-45ace1ed8532cb713833030cb1f2339e8294ca13.tar.gz
ports-45ace1ed8532cb713833030cb1f2339e8294ca13.zip
Update to version 3.4.4
PR: 25024 Submitted by: MAINTAINER
Notes
Notes: svn path=/head/; revision=38253
Diffstat (limited to 'devel/spin')
-rw-r--r--devel/spin/Makefile10
-rw-r--r--devel/spin/distinfo2
-rw-r--r--devel/spin/files/patch-aa2
3 files changed, 9 insertions, 5 deletions
diff --git a/devel/spin/Makefile b/devel/spin/Makefile
index d2e6b596379d..60a7f60b7ed9 100644
--- a/devel/spin/Makefile
+++ b/devel/spin/Makefile
@@ -6,12 +6,12 @@
#
PORTNAME= spin
-PORTVERSION= 3.4.2
+PORTVERSION= 3.4.4
CATEGORIES= math
MASTER_SITES= ftp://netlib.bell-labs.com/netlib/spin/ \
ftp://www.netlib.org/spin/ \
ftp://ftp.freesoftware.com/pub/netlib/spin/
-DISTFILES= spin342.tar.gz html.tar.gz
+DISTFILES= spin344.tar.gz html.tar.gz
MAINTAINER= jhanna@home.com
@@ -24,7 +24,11 @@ post-extract:
@cd ${WRKDIR}/Test && ${SH} ${WRKDIR}/Test/examples
post-patch:
- @${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKDIR}/Xspin3.4/xspin342.tcl
+ @WISH=`(cd ${LOCALBASE}/bin ; ls wish8* ) | tail -1` ; \
+ if [ -z "$$WISH" ] ; then WISH=wish8.0 ; fi ; \
+ ${PERL} -pi \
+ -e "s|%%LOCALBASE%%|${LOCALBASE}|g;" \
+ -e "s|%%WISH%%|$$WISH|g" ${WRKDIR}/Xspin3.4/xspin342.tcl
pre-build:
cd ${WRKSRC} && ${MAKE} clean
diff --git a/devel/spin/distinfo b/devel/spin/distinfo
index 019f7d3a591f..0263b41e26a1 100644
--- a/devel/spin/distinfo
+++ b/devel/spin/distinfo
@@ -1,2 +1,2 @@
-MD5 (spin/spin342.tar.gz) = 3bc6a6b2d2e35f397d850c6e22048dba
+MD5 (spin/spin344.tar.gz) = cf404f570e429c95d9a3e9c6c86fd54c
MD5 (spin/html.tar.gz) = 18fb3308fac90091de71235941fbdc20
diff --git a/devel/spin/files/patch-aa b/devel/spin/files/patch-aa
index 22d44fd5c8ce..4245c27b4323 100644
--- a/devel/spin/files/patch-aa
+++ b/devel/spin/files/patch-aa
@@ -2,7 +2,7 @@
+++ ../Xspin3.4/xspin342.tcl Wed Jun 23 18:30:51 1999
@@ -1,4 +1,4 @@
-#!/usr/local/bin/wish -f
-+#!%%LOCALBASE%%/bin/wish8.0 -f
++#!%%LOCALBASE%%/bin/%%WISH%% -f
#======================================================================#
# Tcl/Tk Spin Controller, Gerard J. Holzmann, Bell Laboratories, USA. #