summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-11-13 12:26:50 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-11-13 12:26:50 +0000
commit1119f1797dc3d9081c0767c0130e175cc3481fec (patch)
treebf380e86a7c94ce61544f99df3b36d973d6a61c7 /emulators
parentDon't try to installed non-existent files/Makefile. (diff)
"Update" to version 6.2.
6.2 is missing the following functionality that version 5.9 had: * Can also read and run MIPS a.out files (when compiled on a MIPS system) * Includes an optional extension by Anne Rogers and Scott Rosenberg of Princeton that performs a cycle-by-cycle MIPS simulation that exposes the hardware pipeline. PR: 10454,21493
Notes
Notes: svn path=/head/; revision=35072
Diffstat (limited to 'emulators')
-rw-r--r--emulators/spim/Makefile19
-rw-r--r--emulators/spim/distinfo2
-rw-r--r--emulators/spim/files/patch-0111
-rw-r--r--emulators/spim/pkg-plist2
4 files changed, 8 insertions, 26 deletions
diff --git a/emulators/spim/Makefile b/emulators/spim/Makefile
index 148c34c1982e..b6769e71c96e 100644
--- a/emulators/spim/Makefile
+++ b/emulators/spim/Makefile
@@ -7,9 +7,9 @@
#
PORTNAME= spim
-PORTVERSION= 5.9
+PORTVERSION= 6.2
CATEGORIES= emulators
-MASTER_SITES= ftp://ftp.cs.wisc.edu/pub/spim/Old_Versions/
+MASTER_SITES= ftp://ftp.cs.wisc.edu/pub/spim/
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= obrien@FreeBSD.org
@@ -19,25 +19,20 @@ NO_WRKSUBDIR= yes
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= Configure
USE_IMAKE= yes
-XMKMF= xmkmf
-ALL_TARGET= y.tab.c depend cl-spim cl-xspim
+ALL_TARGET= y.tab.c spim xspim
MAN1= spim.1 xspim.1
-pre-configure:
+pre-build:
@${RM} -f ${WRKSRC}/y.tab.*
pre-install:
- @${MKDIR} ${PREFIX}/share/spim && ${CHMOD} a+rx ${PREFIX}/share/spim
+ @${MKDIR} ${PREFIX}/share/spim && ${CHMOD} a+rx,u+w ${PREFIX}/share/spim
post-install:
- [ -e ${PREFIX}/bin/cl-spim ] && \
- ${LN} -f ${PREFIX}/bin/cl-spim ${PREFIX}/bin/spim
- [ -e ${PREFIX}/bin/cl-xspim ] && \
- ${LN} -f ${PREFIX}/bin/cl-xspim ${PREFIX}/bin/xspim
.if !defined(NOPORTDOCS)
- @${ECHO} "Installing spim/xspim documentation"
+ @${ECHO_MSG} "Installing spim/xspim documentation"
@${MKDIR} ${PREFIX}/share/doc/spim \
- && ${CHMOD} a+rx ${PREFIX}/share/doc/spim
+ && ${CHMOD} a+rx,u+w ${PREFIX}/share/doc/spim
${INSTALL_DATA} ${WRKSRC}/Documentation/spim.ps \
${PREFIX}/share/doc/spim
${INSTALL_DATA} ${WRKSRC}/Documentation/cycle.ps \
diff --git a/emulators/spim/distinfo b/emulators/spim/distinfo
index cc3e204de835..428e812a9dac 100644
--- a/emulators/spim/distinfo
+++ b/emulators/spim/distinfo
@@ -1 +1 @@
-MD5 (spim5.9.tar.gz) = 4e706ff0a93ef64cabab4b5fc79059c3
+MD5 (spim6.2.tar.gz) = fccec0eaf1e2c2ed76375180e2b39491
diff --git a/emulators/spim/files/patch-01 b/emulators/spim/files/patch-01
index e40fd1616982..369590faf3dd 100644
--- a/emulators/spim/files/patch-01
+++ b/emulators/spim/files/patch-01
@@ -18,17 +18,6 @@ diff -ru Imakefile.orig Imakefile
# If you have flex, use it instead of lex. If you use flex, define this
-@@ -164,8 +164,8 @@
- NormalProgramTarget(cl-spim_sub,$(CLOBJS),,,)
- NormalProgramTarget(cl-xspim_sub,$(XCLOBJS),$(DEPLIBS),$(LOCALLIBS),$(SYSLIBS))
-
--InstallProgram(spim,$(BIN_DIR))
--InstallProgram(xspim,$(BIN_DIR))
-+InstallProgram(cl-spim,$(BIN_DIR))
-+InstallProgram(cl-xspim,$(BIN_DIR))
- InstallManPage(spim,$(MAN_DIR))
- InstallManPage(xspim,$(MAN_DIR))
- InstallNonExec(trap.handler,$(TRAP_DIR))
@@ -291,7 +291,7 @@
mv -f lex.yy.c.xx lex.yy.c
diff --git a/emulators/spim/pkg-plist b/emulators/spim/pkg-plist
index fb3f634e305b..31f1b82e2468 100644
--- a/emulators/spim/pkg-plist
+++ b/emulators/spim/pkg-plist
@@ -1,7 +1,5 @@
bin/spim
bin/xspim
-bin/cl-spim
-bin/cl-xspim
share/spim/trap.handler
share/doc/spim/spim.ps.gz
share/doc/spim/cycle.ps.gz