View | Details | Raw Unified | Return to bug 46071
Collapse All | Expand All

(-)spin/Makefile (-5 / +5 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	spin
8
PORTNAME=	spin
9
PORTVERSION=	3.5.0
9
PORTVERSION=	3.5.2
10
CATEGORIES=	devel
10
CATEGORIES=	devel
11
MASTER_SITES=	http://spinroot.com/spin/Src/ \
11
MASTER_SITES=	http://spinroot.com/spin/Src/ \
12
		ftp://netlib.bell-labs.com/netlib/spin/ \
12
		ftp://netlib.bell-labs.com/netlib/spin/ \
Lines 16-22 Link Here
16
MAINTAINER=	jhanna@shaw.ca
16
MAINTAINER=	jhanna@shaw.ca
17
17
18
DIST_SUBDIR=	spin
18
DIST_SUBDIR=	spin
19
WRKSRC=		${WRKDIR}/Src3.5.0
19
WRKSRC=		${WRKDIR}/Src3.5.2
20
MAKEFILE=	makefile
20
MAKEFILE=	makefile
21
ALL_TARGET=	spin
21
ALL_TARGET=	spin
22
USE_REINPLACE=	yes
22
USE_REINPLACE=	yes
Lines 29-44 Link Here
29
	if [ -z "$$WISH" ] ; then WISH=wish8.0 ; fi ; \
29
	if [ -z "$$WISH" ] ; then WISH=wish8.0 ; fi ; \
30
	${REINPLACE_CMD} \
30
	${REINPLACE_CMD} \
31
		-e "s|%%LOCALBASE%%|${LOCALBASE}|g;" \
31
		-e "s|%%LOCALBASE%%|${LOCALBASE}|g;" \
32
		-e "s|%%WISH%%|$$WISH|g" ${WRKDIR}/Xspin3.5/xspin350.tcl
32
		-e "s|%%WISH%%|$$WISH|g" ${WRKDIR}/Xspin3.5/xspin351.tcl
33
33
34
pre-build:
34
pre-build:
35
	cd ${WRKSRC} && ${MAKE} clean
35
	cd ${WRKSRC} && ${MAKE} clean
36
36
37
do-install:
37
do-install:
38
	${INSTALL_PROGRAM} ${WRKSRC}/spin ${PREFIX}/bin
38
	${INSTALL_PROGRAM} ${WRKSRC}/spin ${PREFIX}/bin
39
	${INSTALL_SCRIPT} ${WRKDIR}/Xspin3.5/xspin350.tcl ${PREFIX}/bin
39
	${INSTALL_SCRIPT} ${WRKDIR}/Xspin3.5/xspin351.tcl ${PREFIX}/bin
40
	${RM} -f ${PREFIX}/bin/xspin
40
	${RM} -f ${PREFIX}/bin/xspin
41
	${LN} -s ${PREFIX}/bin/xspin350.tcl ${PREFIX}/bin/xspin
41
	${LN} -s ${PREFIX}/bin/xspin351.tcl ${PREFIX}/bin/xspin
42
42
43
.if !defined(NOPORTDOCS)
43
.if !defined(NOPORTDOCS)
44
	${MKDIR} ${PREFIX}/share/doc/spin/Doc
44
	${MKDIR} ${PREFIX}/share/doc/spin/Doc
(-)spin/distinfo (-1 / +1 lines)
Lines 1-2 Link Here
1
MD5 (spin/spin350.tar.gz) = 210e40c253624cac89529136a34108af
1
MD5 (spin/spin352.tar.gz) = 59cdbbc0c14cbf6c3c428c666c33dc35
2
MD5 (spin/html.tar.gz) = 18fb3308fac90091de71235941fbdc20
2
MD5 (spin/html.tar.gz) = 18fb3308fac90091de71235941fbdc20
(-)spin/files/patch-aa (-15 / +8 lines)
Lines 1-18 Link Here
1
--- ../Xspin3.5/xspin350.tcl.orig	Sun Sep 29 07:55:34 2002
1
--- ../Xspin3.5/xspin351.tcl.orig	Wed Nov 27 13:45:12 2002
2
+++ ../Xspin3.5/xspin350.tcl	Sun Oct  6 18:33:12 2002
2
+++ ../Xspin3.5/xspin351.tcl	Sat Dec  7 11:38:00 2002
3
@@ -1,14 +1,4 @@
3
@@ -1,6 +1,6 @@
4
-#!/bin/sh
4
-#!/bin/sh
5
-# the next line restarts using wish \
6
-exec wish c:/cygwin/bin/xspin -- $*
7
-
8
-# adjust the first argument to wish above with the
9
-# location of xspin on your system, if different.
10
-#
11
-# cygwin: even when xspin is placed in /usr/bin/xspin
12
-# the above exec line would not find it there
13
-# /usr/bin is a symbolic link to /bin, which really
14
-# lives in c:/cygwin, hence the contortions above
15
+#!%%LOCALBASE%%/bin/%%WISH%% -f
5
+#!%%LOCALBASE%%/bin/%%WISH%% -f
6
 # the next line restarts using wish \
7
-exec wish c:/cygwin/bin/xspin -- $*
8
+# exec wish c:/cygwin/bin/xspin -- $*
16
 
9
 
17
 #======================================================================#
10
 # adjust the first argument to wish above with the
18
 # Tcl/Tk Spin Controller, Gerard J. Holzmann, Bell Laboratories, USA.  #
11
 # location of xspin on your system, if different.
(-)spin/pkg-plist (-1 / +1 lines)
Lines 1-6 Link Here
1
bin/spin
1
bin/spin
2
bin/xspin
2
bin/xspin
3
bin/xspin350.tcl
3
bin/xspin351.tcl
4
share/doc/spin/Doc/Book.Ch6.add
4
share/doc/spin/Doc/Book.Ch6.add
5
share/doc/spin/Doc/Book.Errata
5
share/doc/spin/Doc/Book.Errata
6
share/doc/spin/Doc/Book.answers
6
share/doc/spin/Doc/Book.answers

Return to bug 46071