ports/75621: Update port: emulators/spim to 7.0
KATO Tsuguru
tkato432 at yahoo.com
Wed Dec 29 17:10:13 UTC 2004
>Number: 75621
>Category: ports
>Synopsis: Update port: emulators/spim to 7.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Dec 29 17:10:12 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.10-RELEASE-p5 i386
>Organization:
>Environment:
>Description:
- Update to version 7.0
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/emulators/spim/Makefile emulators/spim/Makefile
--- /usr/ports/emulators/spim/Makefile Sat Apr 12 22:45:43 2003
+++ emulators/spim/Makefile Thu Dec 30 01:47:22 2004
@@ -7,10 +7,9 @@
#
PORTNAME= spim
-PORTVERSION= 6.5
+PORTVERSION= 7.0
CATEGORIES= emulators
MASTER_SITES= http://www.cs.wisc.edu/~larus/SPIM/
-DISTNAME= ${PORTNAME}
MAINTAINER= ports at FreeBSD.org
COMMENT= MIPS R2000 Simulator
@@ -24,11 +23,16 @@
ALL_TARGET= spim xspim
MAN1= spim.1 xspim.1
+PORTDOCS= cycle.ps.gz
+PLIST_FILES= bin/spim bin/xspim %%DATADIR%%/exceptions.s
+
+post-build:
+
post-install:
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/spim
- ${INSTALL_DATA} ${WRKSRC}/Documentation/*.ps ${PREFIX}/share/doc/spim
- ${GZIP_CMD} ${PREFIX}/share/doc/spim/*.ps
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/Documentation/cycle.ps ${DOCSDIR}
+ ${GZIP_CMD} ${DOCSDIR}/cycle.ps
.endif
.include <bsd.port.mk>
diff -urN /usr/ports/emulators/spim/distinfo emulators/spim/distinfo
--- /usr/ports/emulators/spim/distinfo Thu Mar 18 13:51:17 2004
+++ emulators/spim/distinfo Thu Dec 30 01:28:58 2004
@@ -1,2 +1,2 @@
-MD5 (spim.tar.gz) = be9cf6ff2798e507736d05eb5c70914f
-SIZE (spim.tar.gz) = 444075
+MD5 (spim-7.0.tar.gz) = b163deae4727e5db9d3f234bb89fa915
+SIZE (spim-7.0.tar.gz) = 305477
diff -urN /usr/ports/emulators/spim/files/patch-aa emulators/spim/files/patch-aa
--- /usr/ports/emulators/spim/files/patch-aa Wed Feb 28 23:16:52 2001
+++ emulators/spim/files/patch-aa Thu Dec 30 01:46:40 2004
@@ -1,5 +1,5 @@
---- Makefile.std.orig Mon Jan 15 05:55:16 2001
-+++ Makefile.std Tue Feb 27 21:16:12 2001
+--- Makefile.std.orig Mon Aug 23 00:58:00 2004
++++ Makefile.std Thu Dec 30 01:35:28 2004
@@ -46,21 +46,21 @@
@@ -13,9 +13,9 @@
+TOPDIR = ${X11BASE}
- # Full path for directory that will hold the trap handler file:
--TRAP_DIR = .
-+TRAP_DIR = ${PREFIX}/share/spim
+ # Full path for directory that will hold the exception handler file:
+-EXCEPTION_DIR = .
++EXCEPTION_DIR = ${PREFIX}/share/spim
# Full path for the directory that will hold the executable files:
-BIN_DIR = /usr/unsup/bin
@@ -26,10 +26,10 @@
+MAN_DIR = ${PREFIX}/man/man1
- # Full path for the trap handler file:
+ # Full path for the exception handler file:
@@ -93,8 +93,8 @@
- DEFINES = $(ENDIAN) $(MEM_SIZES) -DDEFAULT_TRAP_HANDLER=$(TRAP_PATH) -DSPIM_VERSION="\"`cat VERSION`\""
+ DEFINES = $(ENDIAN) $(MEM_SIZES) -DDEFAULT_EXCEPTION_HANDLER=$(EXCEPTION_PATH) -DSPIM_VERSION="\"`cat VERSION`\""
-CC = cc
-CFLAGS = $(DEFINES)
@@ -61,19 +61,19 @@
force: configuration
-@@ -200,11 +200,12 @@
+@@ -192,11 +192,12 @@
spim.tar.* spim.aux spim.log spim.dvi spim.shar*
install: spim xspim
- install -c -s spim $(BIN_DIR)
- install -c -s xspim $(BIN_DIR)
-- install -c -m 0444 trap.handler $(TRAP_DIR)
+- install -c -m 0444 exceptions.s $(EXCEPTION_DIR)
- install -c -m 0444 spim.man $(MAN_DIR)
- install -c -m 0444 xspim.man $(MAN_DIR)
-+ -mkdir -p $(BIN_DIR) $(TRAP_DIR) $(MAN_DIR)
++ -mkdir -p $(BIN_DIR) $(EXCEPTION_DIR) $(MAN_DIR)
+ ${BSD_INSTALL_PROGRAM} spim $(BIN_DIR)
+ ${BSD_INSTALL_PROGRAM} xspim $(BIN_DIR)
-+ ${BSD_INSTALL_DATA} trap.handler $(TRAP_DIR)
++ ${BSD_INSTALL_DATA} exceptions.s $(EXCEPTION_DIR)
+ ${BSD_INSTALL_MAN} spim.man $(MAN_DIR)/spim.1
+ ${BSD_INSTALL_MAN} xspim.man $(MAN_DIR)/xspim.1
diff -urN /usr/ports/emulators/spim/pkg-plist emulators/spim/pkg-plist
--- /usr/ports/emulators/spim/pkg-plist Wed Feb 28 23:16:49 2001
+++ emulators/spim/pkg-plist Thu Jan 1 09:00:00 1970
@@ -1,7 +0,0 @@
-bin/spim
-bin/xspim
-%%PORTDOCS%%share/doc/spim/spim.ps.gz
-%%PORTDOCS%%share/doc/spim/cycle.ps.gz
-share/spim/trap.handler
- at dirrm share/spim
-%%PORTDOCS%%@dirrm share/doc/spim
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list