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

(-)emulators/spim/Makefile (-3 / +2 lines)
Lines 7-14 Link Here
7
#
7
#
8
8
9
PORTNAME=	spim
9
PORTNAME=	spim
10
PORTVERSION=	7.3
10
PORTVERSION=	7.4
11
PORTREVISION=	1
12
CATEGORIES=	emulators
11
CATEGORIES=	emulators
13
MASTER_SITES=	http://pages.cs.wisc.edu/~larus/SPIM/
12
MASTER_SITES=	http://pages.cs.wisc.edu/~larus/SPIM/
14
13
Lines 21-28 Link Here
21
INSTALL_WRKSRC=	${WRKSRC}/${PORTNAME}
20
INSTALL_WRKSRC=	${WRKSRC}/${PORTNAME}
22
21
23
ALL_TARGET=	${PORTNAME}
22
ALL_TARGET=	${PORTNAME}
24
MAN1=		spim.1
25
23
24
MAN1=		spim.1
26
PORTDOCS=	cycle.ps.gz spim.ps.gz SPIM.html
25
PORTDOCS=	cycle.ps.gz spim.ps.gz SPIM.html
27
PLIST_FILES=	bin/spim %%DATADIR%%/exceptions.s
26
PLIST_FILES=	bin/spim %%DATADIR%%/exceptions.s
28
PLIST_DIRS=	%%DATADIR%%
27
PLIST_DIRS=	%%DATADIR%%
(-)emulators/spim/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (spim-7.3.tar.gz) = 52002170982d157fd89d445b481bd223
1
MD5 (spim-7.4.tar.gz) = 5251ec442ef364ed8dede5dbda86fb47
2
SHA256 (spim-7.3.tar.gz) = d7de06135c519108055a90abe77ced4e36dec4f7f27ce1a2fca0059f86cdf35d
2
SHA256 (spim-7.4.tar.gz) = e8a991415084be09f6b0e7804e837cc8cfdc1e2a11aae9c0464010e5a72316c8
3
SIZE (spim-7.3.tar.gz) = 347226
3
SIZE (spim-7.4.tar.gz) = 358748
(-)emulators/spim/files/patch-spim_Makefile (-7 / +7 lines)
Lines 1-19 Link Here
1
--- spim/Makefile.orig	2006-08-29 11:23:19.000000000 +0900
1
--- spim/Makefile.orig	2009-01-02 04:51:25.000000000 +0900
2
+++ spim/Makefile	2008-04-23 01:36:01.000000000 +0900
2
+++ spim/Makefile	2009-01-21 03:38:23.000000000 +0900
3
@@ -54,13 +54,13 @@
3
@@ -54,13 +54,13 @@
4
 
4
 
5
 
5
 
6
 # Full path for the directory that will hold the executable files:
6
 # Full path for the directory that will hold the executable files:
7
-BIN_DIR = /usr/local/bin
7
-BIN_DIR = /usr/bin
8
+BIN_DIR = ${PREFIX}/bin
8
+BIN_DIR = ${PREFIX}/bin
9
 
9
 
10
 # Full path for the directory that will hold the exception handler:
10
 # Full path for the directory that will hold the exception handler:
11
-EXCEPTION_DIR = /usr/local/lib
11
-EXCEPTION_DIR = /usr/lib/spim
12
+EXCEPTION_DIR = ${PREFIX}/share/spim
12
+EXCEPTION_DIR = ${PREFIX}/share/spim
13
 
13
 
14
 # Full path for the directory that will hold the man files:
14
 # Full path for the directory that will hold the man files:
15
-MAN_DIR = /usr/man/mann
15
-MAN_DIR = /usr/share/man/en
16
+MAN_DIR = ${PREFIX}/man/man1
16
+MAN_DIR = ${MANPREFIX}/man/man1
17
 
17
 
18
 
18
 
19
 # If you have flex, use it instead of lex.  If you use flex, define this
19
 # If you have flex, use it instead of lex.  If you use flex, define this
Lines 24-30 Link Here
24
-CC = gcc
24
-CC = gcc
25
-CFLAGS = -I. -I$(CPU_DIR) $(DEFINES) -g -Wall
25
-CFLAGS = -I. -I$(CPU_DIR) $(DEFINES) -g -Wall
26
-YFLAGS = -d --file-prefix=y
26
-YFLAGS = -d --file-prefix=y
27
+CC? = gcc
27
+CC ?= gcc
28
+CFLAGS += -I. -I$(CPU_DIR) $(DEFINES) -Wall
28
+CFLAGS += -I. -I$(CPU_DIR) $(DEFINES) -Wall
29
+YFLAGS = -d
29
+YFLAGS = -d
30
 YCFLAGS =
30
 YCFLAGS =
(-)emulators/spim/files/patch-xspim_Imakefile (-10 / +10 lines)
Lines 1-19 Link Here
1
--- xspim/Imakefile.orig	2006-08-29 11:23:19.000000000 +0900
1
--- xspim/Imakefile.orig	2009-01-02 04:51:26.000000000 +0900
2
+++ xspim/Imakefile	2008-04-23 00:58:19.000000000 +0900
2
+++ xspim/Imakefile	2009-01-21 03:18:12.000000000 +0900
3
@@ -33,13 +33,13 @@
3
@@ -33,13 +33,13 @@
4
 #
4
 #
5
 
5
 
6
 # Full path for the directory that will hold the executable files:
6
 # Full path for the directory that will hold the executable files:
7
-BIN_DIR = /usr/local/bin
7
-BIN_DIR = /usr/bin
8
+BIN_DIR = ${PREFIX}/bin
8
+BIN_DIR = ${PREFIX}/bin
9
 
9
 
10
 # Full path for the directory that will hold the exception handler:
10
 # Full path for the directory that will hold the exception handler:
11
-EXCEPTION_DIR = /usr/local/lib
11
-EXCEPTION_DIR = /usr/lib/spim
12
+EXCEPTION_DIR = ${PREFIX}/share/spim
12
+EXCEPTION_DIR = ${PREFIX}/share/spim
13
 
13
 
14
 # Full path for the directory that will hold the man files:
14
 # Full path for the directory that will hold the man files:
15
-MAN_DIR = /usr/man/mann
15
-MAN_DIR = /usr/share/man/en
16
+MAN_DIR = ${PREFIX}/man/man1
16
+MAN_DIR = ${MANPREFIX}/man/man1
17
 
17
 
18
 
18
 
19
 # If you have flex, use it instead of lex.  If you use flex, define this
19
 # If you have flex, use it instead of lex.  If you use flex, define this
Lines 26-37 Link Here
26
 
26
 
27
 INCLUDES = -I. -I$(CPU_DIR)
27
 INCLUDES = -I. -I$(CPU_DIR)
28
 
28
 
29
@@ -113,7 +113,7 @@
29
@@ -114,7 +114,7 @@
30
 	./Configure
31
 
30
 
31
 INSTALLFLAGS = -D
32
 InstallProgram(xspim,$(BIN_DIR))
32
 InstallProgram(xspim,$(BIN_DIR))
33
-InstallNonExec($(CPU_DIR)/exceptions.s,$(EXCEPTION_DIR))
33
-InstallNonExec($(CPU_DIR)/exceptions.s,$(EXCEPTION_DIR)/exceptions.s)
34
+#InstallNonExec($(CPU_DIR)/exceptions.s,$(EXCEPTION_DIR))
34
+#InstallNonExec($(CPU_DIR)/exceptions.s,$(EXCEPTION_DIR)/exceptions.s)
35
 #InstallManPage($(DOC_DIR)/xspim,$(MAN_DIR))
35
 #InstallManPage($(DOC_DIR)/xspim,$(MAN_DIR))

Return to bug 131850