aboutsummaryrefslogtreecommitdiffstats
path: root/lang/whitespace
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2011-05-09 23:18:39 +0800
committerpgj <pgj@FreeBSD.org>2011-05-09 23:18:39 +0800
commit68d57607f34ddaf37078a2f2c05eccec6727a33e (patch)
tree2bf2f9c9239e60ee0f3d7d0016e0d70a83595e4a /lang/whitespace
parentfde7d0711cbd8d376e221f52b2e3184e750d6c4e (diff)
downloadfreebsd-ports-gnome-68d57607f34ddaf37078a2f2c05eccec6727a33e.tar.gz
freebsd-ports-gnome-68d57607f34ddaf37078a2f2c05eccec6727a33e.tar.zst
freebsd-ports-gnome-68d57607f34ddaf37078a2f2c05eccec6727a33e.zip
- Chase GHC update
Obtained from: FreeBSD Haskell
Diffstat (limited to 'lang/whitespace')
-rw-r--r--lang/whitespace/Makefile5
-rw-r--r--lang/whitespace/distinfo1
-rw-r--r--lang/whitespace/files/patch-Makefile41
3 files changed, 45 insertions, 2 deletions
diff --git a/lang/whitespace/Makefile b/lang/whitespace/Makefile
index f4ff953863e8..1fe6554636cb 100644
--- a/lang/whitespace/Makefile
+++ b/lang/whitespace/Makefile
@@ -7,7 +7,7 @@
PORTNAME= whitespace
PORTVERSION= 0.3
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= lang
MASTER_SITES= http://compsoc.dur.ac.uk/whitespace/downloads/
DISTNAME= wspace-${PORTVERSION}
@@ -16,8 +16,11 @@ EXTRACT_SUFX= .tgz
MAINTAINER= llwang@infor.org
COMMENT= An interpreter for the Whitespace programming language
+LICENSE= GPLv2
+
BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc
LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp
+USE_PERL5_BUILD= 5.8+
WRKSRC= ${WRKDIR}/WSpace
USE_GMAKE= yes
diff --git a/lang/whitespace/distinfo b/lang/whitespace/distinfo
index 5b8ab6c38aa3..1270867741a7 100644
--- a/lang/whitespace/distinfo
+++ b/lang/whitespace/distinfo
@@ -1,3 +1,2 @@
-MD5 (wspace-0.3.tgz) = fda72d6e3e5a0e5af2f0a42829f031e5
SHA256 (wspace-0.3.tgz) = 53e47bf05df991c1d0f88a75cf5208bfc42d42b87f8fe3e8ee6a05ac78544a73
SIZE (wspace-0.3.tgz) = 15471
diff --git a/lang/whitespace/files/patch-Makefile b/lang/whitespace/files/patch-Makefile
new file mode 100644
index 000000000000..e328abd90a50
--- /dev/null
+++ b/lang/whitespace/files/patch-Makefile
@@ -0,0 +1,41 @@
+--- Makefile.orig 2003-03-31 14:39:29.000000000 +0200
++++ Makefile 2011-03-26 12:58:40.517004812 +0100
+@@ -2,13 +2,12 @@
+ GHCI = ghci
+
+ SRCS = main.hs Input.hs VM.hs Tokens.hs
+-OBJS = main.o Input.o VM.o Tokens.o
+-OPTS = -O -fvia-C
++OPTS = -O
+
+ TARGET = wspace
+
+-$TARGET: ${OBJS}
+- ${GHC} ${OPTS} ${OBJS} -o ${TARGET}
++$TARGET: ${SRCS}
++ ${GHC} --make ${OPTS} ${SRCS} -o ${TARGET}
+
+ ghci:
+ ${GHCI} ${OPTS} main.hs
+@@ -19,21 +18,3 @@
+ clean:
+ rm -f ${TARGET} ${OBJS}
+ rm -f *~ *.hi
+-
+-%.o: %.hs
+- ${GHC} -c ${OPTS} $< -o $@
+-
+-%.hi: %.o
+- @:
+-
+-# DO NOT DELETE: Beginning of Haskell dependencies
+-main.o : main.hs
+-main.o : ./Tokens.hi
+-main.o : ./VM.hi
+-main.o : ./Input.hi
+-Input.o : Input.hs
+-Input.o : ./Tokens.hi
+-Input.o : ./VM.hi
+-VM.o : VM.hs
+-Tokens.o : Tokens.hs
+-# DO NOT DELETE: End of Haskell dependencies