aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-11-23 11:54:26 +0800
committerijliao <ijliao@FreeBSD.org>2001-11-23 11:54:26 +0800
commit31b9425a86da35e32d515c61a782e35cfdbc43e2 (patch)
treedb9f5486129f64c4ff44707bb09666e915928b4a /lang
parent73d602b80b0d4543e892e9f0bfba78b30c6611e1 (diff)
downloadfreebsd-ports-gnome-31b9425a86da35e32d515c61a782e35cfdbc43e2.tar.gz
freebsd-ports-gnome-31b9425a86da35e32d515c61a782e35cfdbc43e2.tar.zst
freebsd-ports-gnome-31b9425a86da35e32d515c61a782e35cfdbc43e2.zip
upgrade to 20011014
PR: 31195 Submitted by: Florian Schrack <florian.schrack@freenet.de> Reviewed by: maintainer timeout
Diffstat (limited to 'lang')
-rw-r--r--lang/mmix/Makefile21
-rw-r--r--lang/mmix/distinfo2
-rw-r--r--lang/mmix/files/patch-aa11
-rw-r--r--lang/mmix/pkg-descr4
-rw-r--r--lang/mmix/pkg-plist4
5 files changed, 19 insertions, 23 deletions
diff --git a/lang/mmix/Makefile b/lang/mmix/Makefile
index 9e0b9272b8f9..eb1dfdb7170d 100644
--- a/lang/mmix/Makefile
+++ b/lang/mmix/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mmix
-PORTVERSION= 1.0
+PORTVERSION= 20011014
CATEGORIES= lang
MASTER_SITES= http://www-cs-faculty.stanford.edu/~knuth/programs/
DISTNAME= mmix
@@ -15,22 +15,25 @@ MAINTAINER= keith@FreeBSD.org
BUILD_DEPENDS= ctangle:${PORTSDIR}/devel/cweb
-MMIXDIR= ${PREFIX}/share/mmix
NO_WRKSUBDIR= yes
FILES= mmix.1 mmix.mp silly.out silly.run
+post-patch:
+ @${PERL} -pi -e "s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mmix ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/mmixal ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/mmmix ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/mmotype ${PREFIX}/bin
- @${MKDIR} ${MMIXDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${MMIXDIR}
- ${INSTALL_DATA} ${WRKSRC}/*.mmconfig ${MMIXDIR}
- ${INSTALL_DATA} ${WRKSRC}/*.mmix ${MMIXDIR}
- ${INSTALL_DATA} ${WRKSRC}/*.mms ${MMIXDIR}
- ${INSTALL_DATA} ${WRKSRC}/*.w ${MMIXDIR}
+ @${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.mmconfig ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.mmix ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.mms ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.w ${DATADIR}
.for f in ${FILES}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${MMIXDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
.endfor
.include <bsd.port.mk>
diff --git a/lang/mmix/distinfo b/lang/mmix/distinfo
index a4f107519069..044dd5aa452f 100644
--- a/lang/mmix/distinfo
+++ b/lang/mmix/distinfo
@@ -1 +1 @@
-MD5 (mmix.tar.gz) = 1a2f92fd3527219d16ffb971c6c0dc0b
+MD5 (mmix.tar.gz) = 7fd3f89bdb784e092d60164473c4c53b
diff --git a/lang/mmix/files/patch-aa b/lang/mmix/files/patch-aa
deleted file mode 100644
index 2ad4bd11197c..000000000000
--- a/lang/mmix/files/patch-aa
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.orig Fri Oct 27 05:23:57 2000
-+++ Makefile Fri Oct 27 05:24:40 2000
-@@ -6,7 +6,7 @@
- # In fact, CWEB 3.61 is recommended for making hardcopy or PDF documentation.
-
- # If you prefer optimization to debugging, change -g to something like -O:
--CFLAGS = -g
-+CFLAGS ?= -O -pipe
-
- # Uncomment the second line if you use pdftex to bypass .dvi files:
- PDFTEX = dvipdfm
diff --git a/lang/mmix/pkg-descr b/lang/mmix/pkg-descr
index e194d59a7db8..d0665d5faa79 100644
--- a/lang/mmix/pkg-descr
+++ b/lang/mmix/pkg-descr
@@ -12,4 +12,6 @@ More details can be found in his book:
(Lecture Notes in Computer Science, no. 1750.)
Some MIX programs have been converted to MMIX, and can be found at
-http://www.mmixmasters.org/~mmixmasters/
+http://mmixmasters.sourceforge.net/
+
+WWW: http://www-cs-faculty.stanford.edu/~knuth/mmix.html
diff --git a/lang/mmix/pkg-plist b/lang/mmix/pkg-plist
index 5d4de6f2c22f..3e7f47d32c90 100644
--- a/lang/mmix/pkg-plist
+++ b/lang/mmix/pkg-plist
@@ -1,5 +1,6 @@
bin/mmix
bin/mmixal
+bin/mmmix
bin/mmotype
share/mmix/README
share/mmix/abstime.w
@@ -47,8 +48,8 @@ share/mmix/primesf.mms
share/mmix/primesfx.mms
share/mmix/primessf.mms
share/mmix/primesx.mmconfig
-share/mmix/primesx.mmix
share/mmix/primesx.mms
+share/mmix/pushtest.mms
share/mmix/saddle1.mms
share/mmix/saddle2.mms
share/mmix/silly.mms
@@ -60,6 +61,7 @@ share/mmix/sortx.mms
share/mmix/strcpy.mms
share/mmix/sub1.mms
share/mmix/sub2.mms
+share/mmix/tem.mms
share/mmix/test.mmconfig
share/mmix/test.mmix
share/mmix/test.mms