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

(-)spin.new/Makefile (-4 / +5 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	spin
8
PORTNAME=	spin
9
PORTVERSION=	5.1.7
9
PORTVERSION=	5.2.2
10
CATEGORIES=	devel
10
CATEGORIES=	devel
11
MASTER_SITES=	http://spinroot.com/spin/Src/
11
MASTER_SITES=	http://spinroot.com/spin/Src/
12
DISTNAME=	spin${PORTVERSION:S/.//g}
12
DISTNAME=	spin${PORTVERSION:S/.//g}
Lines 21-27 Link Here
21
.if !defined(WITHOUT_XSPIN)
21
.if !defined(WITHOUT_XSPIN)
22
RUN_DEPENDS+=	wish8.4:${PORTSDIR}/x11-toolkits/tk84
22
RUN_DEPENDS+=	wish8.4:${PORTSDIR}/x11-toolkits/tk84
23
PLIST_SUB+=	XSPIN=""
23
PLIST_SUB+=	XSPIN=""
24
XSPIN_TCL	=${WRKDIR}/Spin/Xspin5.1/xspin510.tcl
24
XSPIN_TCL=	${WRKDIR}/Spin/Xspin5.2/xspin521.tcl
25
.else
25
.else
26
PLIST_SUB+=	XSPIN="@comment "
26
PLIST_SUB+=	XSPIN="@comment "
27
.endif
27
.endif
Lines 33-44 Link Here
33
MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS} -DNXT"
33
MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS} -DNXT"
34
34
35
post-extract:
35
post-extract:
36
	@${PRINTF} "Unbundling promela example files...\n"
36
	@cd ${WRKDIR}/Spin/Test && ${SH} ${WRKDIR}/Spin/Test/examples
37
	@cd ${WRKDIR}/Spin/Test && ${SH} ${WRKDIR}/Spin/Test/examples
37
38
38
.if !defined(WITHOUT_XSPIN)
39
.if !defined(WITHOUT_XSPIN)
39
pre-patch:
40
pre-patch:
40
	${TR} -d '\015' < ${XSPIN_TCL} > ${XSPIN_TCL}.tmp
41
	@${TR} -d '\r' < ${XSPIN_TCL} > ${XSPIN_TCL}.tmp
41
	${MV} -f ${XSPIN_TCL}.tmp ${XSPIN_TCL}
42
	@${MV} -f ${XSPIN_TCL}.tmp ${XSPIN_TCL}
42
.endif
43
.endif
43
44
44
.if !defined(WITHOUT_XSPIN)
45
.if !defined(WITHOUT_XSPIN)
(-)spin.new/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (spin/spin517.tar.gz) = 2d069adc30e318b1ba71bdecc1721d97
1
MD5 (spin/spin522.tar.gz) = 71704ff4af9738eca68bcab7cd62d72f
2
SHA256 (spin/spin517.tar.gz) = 86c7485723cd4b19f1b0dc79483aa2af5a0c5c1260b5d64e97237c92555d860d
2
SHA256 (spin/spin522.tar.gz) = 75bf9daf8867b71be6d8c73cdeee9f26a2b674efc4ddff943e4eabd94a677098
3
SIZE (spin/spin517.tar.gz) = 401647
3
SIZE (spin/spin522.tar.gz) = 408953
(-)spin.new/files/patch-xspin (-2 / +2 lines)
Lines 1-5 Link Here
1
--- ../../Spin/Xspin5.1/xspin510.tcl.orig	Mon Mar  8 11:27:07 2004
1
--- ../../Spin/Xspin5.2/xspin521.tcl.orig	Mon Mar  8 11:27:07 2004
2
+++ ../../Spin/Xspin5.1/xspin510.tcl	Mon Mar  8 11:31:09 2004
2
+++ ../../Spin/Xspin5.2/xspin521.tcl	Mon Mar  8 11:31:09 2004
3
@@ -1,6 +1,6 @@
3
@@ -1,6 +1,6 @@
4
-#!/bin/sh
4
-#!/bin/sh
5
+#!%%LOCALBASE%%/bin/%%WISH%% -f
5
+#!%%LOCALBASE%%/bin/%%WISH%% -f

Return to bug 139846