aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2001-02-12 20:58:00 +0800
committerkevlo <kevlo@FreeBSD.org>2001-02-12 20:58:00 +0800
commit11e7176bc47ec1cf44b981267dc444f993e3664e (patch)
tree849f1f6612a9943c1b9e3e73c9aed94a884acddc /math
parentdb9870f8ccce4b9ae7f9a02a622a7c41fdb0aa65 (diff)
downloadfreebsd-ports-gnome-11e7176bc47ec1cf44b981267dc444f993e3664e.tar.gz
freebsd-ports-gnome-11e7176bc47ec1cf44b981267dc444f993e3664e.tar.zst
freebsd-ports-gnome-11e7176bc47ec1cf44b981267dc444f993e3664e.zip
Update to version 3.4.4
PR: 25024 Submitted by: MAINTAINER
Diffstat (limited to 'math')
-rw-r--r--math/spin/Makefile10
-rw-r--r--math/spin/distinfo2
-rw-r--r--math/spin/files/patch-aa2
3 files changed, 9 insertions, 5 deletions
diff --git a/math/spin/Makefile b/math/spin/Makefile
index d2e6b596379d..60a7f60b7ed9 100644
--- a/math/spin/Makefile
+++ b/math/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/math/spin/distinfo b/math/spin/distinfo
index 019f7d3a591f..0263b41e26a1 100644
--- a/math/spin/distinfo
+++ b/math/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/math/spin/files/patch-aa b/math/spin/files/patch-aa
index 22d44fd5c8ce..4245c27b4323 100644
--- a/math/spin/files/patch-aa
+++ b/math/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. #