summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-06-08 13:21:48 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-06-08 13:21:48 +0000
commitac17723ff86118ab6b9ccb64a47dec67f33076a6 (patch)
tree343ca5f5b9ec3b846fba6acaf924e9fa5c97751a /math
parent- update to icc 6.0.149 (diff)
- update to 3.4.16
- update maintainer's email address PR: 39020 Submitted by: Jonathan Hanna <jhanna@shaw.ca>
Notes
Notes: svn path=/head/; revision=60853
Diffstat (limited to 'math')
-rw-r--r--math/spin/Makefile14
-rw-r--r--math/spin/distinfo2
-rw-r--r--math/spin/files/patch-aa17
-rw-r--r--math/spin/pkg-plist2
4 files changed, 22 insertions, 13 deletions
diff --git a/math/spin/Makefile b/math/spin/Makefile
index a2808351f250..81203dc08634 100644
--- a/math/spin/Makefile
+++ b/math/spin/Makefile
@@ -6,37 +6,37 @@
#
PORTNAME= spin
-PORTVERSION= 3.4.14
+PORTVERSION= 3.4.16
CATEGORIES= math
MASTER_SITES= ftp://netlib.bell-labs.com/netlib/spin/ \
ftp://www.netlib.org/spin/
DISTFILES= spin${PORTVERSION:S/.//g}.tar.gz html.tar.gz
-MAINTAINER= jhanna@home.com
+MAINTAINER= jhanna@shaw.ca
DIST_SUBDIR= spin
-WRKSRC= ${WRKDIR}/Src3.4
+WRKSRC= ${WRKDIR}/Src${PORTVERSION}
MAKEFILE= makefile
ALL_TARGET= spin
post-extract:
- @cd ${WRKDIR}/Test && ${SH} ${WRKDIR}/Test/examples
+ @cd ${WRKDIR}/Test && ${TR} -d '\015' < ${WRKDIR}/Test/examples | ${SH}
post-patch:
@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/xspin347.tcl
+ -e "s|%%WISH%%|$$WISH|g" ${WRKDIR}/Xspin3.4/xspin3415.tcl
pre-build:
cd ${WRKSRC} && ${MAKE} clean
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/spin ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKDIR}/Xspin3.4/xspin347.tcl ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKDIR}/Xspin3.4/xspin3415.tcl ${PREFIX}/bin
${RM} -f ${PREFIX}/bin/xspin
- ${LN} -s ${PREFIX}/bin/xspin347.tcl ${PREFIX}/bin/xspin
+ ${LN} -s ${PREFIX}/bin/xspin3415.tcl ${PREFIX}/bin/xspin
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/spin/Doc
diff --git a/math/spin/distinfo b/math/spin/distinfo
index d479764de80e..418ad5b1ecb0 100644
--- a/math/spin/distinfo
+++ b/math/spin/distinfo
@@ -1,2 +1,2 @@
-MD5 (spin/spin3414.tar.gz) = 83b6a9c75dd2390a7ddcc882d962e03d
+MD5 (spin/spin3416.tar.gz) = 559b5ee8646f222c190588e0fd466fc5
MD5 (spin/html.tar.gz) = 18fb3308fac90091de71235941fbdc20
diff --git a/math/spin/files/patch-aa b/math/spin/files/patch-aa
index adb09268abf3..6a46eafbe46c 100644
--- a/math/spin/files/patch-aa
+++ b/math/spin/files/patch-aa
@@ -1,7 +1,16 @@
---- ../Xspin3.4/xspin347.tcl.orig Wed Jun 23 18:29:29 1999
-+++ ../Xspin3.4/xspin347.tcl Wed Jun 23 18:30:51 1999
-@@ -1,4 +1,4 @@
--#!/usr/local/bin/wish -f
+--- ../Xspin3.4/xspin3415.tcl.orig Fri Jun 7 22:38:34 2002
++++ ../Xspin3.4/xspin3415.tcl Fri Jun 7 22:40:46 2002
+@@ -1,13 +1,4 @@
+-#!/bin/sh
+-# the next line restarts using wish \
+-exec wish c:/cygwin/bin/xspin -- $*
+-
+-# adjust the first argument to wish above with the
+-# location of xspin on your system, if different.
+-# cygwin: even when xspin is place in /usr/bin/xspin
+-# the above exec line would not find it there
+-# /usr/bin is a symbolic link to /bin, which really
+-# lives in c:/cygwin, hence the contortions above
+#!%%LOCALBASE%%/bin/%%WISH%% -f
#======================================================================#
diff --git a/math/spin/pkg-plist b/math/spin/pkg-plist
index ebd956248f86..b1d8f29217f3 100644
--- a/math/spin/pkg-plist
+++ b/math/spin/pkg-plist
@@ -1,6 +1,6 @@
bin/spin
bin/xspin
-bin/xspin347.tcl
+bin/xspin3415.tcl
share/doc/spin/Doc/Book.Ch6.add
share/doc/spin/Doc/Book.Errata
share/doc/spin/Doc/Book.answers