- update to 3.4.16

- update maintainer's email address

PR:		39020
Submitted by:	Jonathan Hanna <jhanna@shaw.ca>
This commit is contained in:
Pete Fritchman 2002-06-08 13:21:48 +00:00
parent 93d28e116f
commit ac17723ff8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=60853
4 changed files with 22 additions and 13 deletions

View File

@ -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

View File

@ -1,2 +1,2 @@
MD5 (spin/spin3414.tar.gz) = 83b6a9c75dd2390a7ddcc882d962e03d
MD5 (spin/spin3416.tar.gz) = 559b5ee8646f222c190588e0fd466fc5
MD5 (spin/html.tar.gz) = 18fb3308fac90091de71235941fbdc20

View File

@ -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
#======================================================================#

View File

@ -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