aboutsummaryrefslogtreecommitdiff
path: root/lang/mosh
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2009-03-07 15:29:45 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2009-03-07 15:29:45 +0000
commit5ede981a007f1caffb71f7f351fd9648d10f3e8d (patch)
treec4e0714c3a436ba3e8edf60b5f66485e9e1a7d99 /lang/mosh
parent464602e87ad7c0635c21a48f7da9c55a49fc04d9 (diff)
downloadports-5ede981a007f1caffb71f7f351fd9648d10f3e8d.tar.gz
ports-5ede981a007f1caffb71f7f351fd9648d10f3e8d.zip
Notes
Diffstat (limited to 'lang/mosh')
-rw-r--r--lang/mosh/Makefile27
-rw-r--r--lang/mosh/distinfo6
-rw-r--r--lang/mosh/files/patch-TextualInputPort.cpp11
-rw-r--r--lang/mosh/pkg-plist6
4 files changed, 37 insertions, 13 deletions
diff --git a/lang/mosh/Makefile b/lang/mosh/Makefile
index 08ac56f9b005..f20a54df7f57 100644
--- a/lang/mosh/Makefile
+++ b/lang/mosh/Makefile
@@ -6,32 +6,39 @@
#
PORTNAME= mosh
-PORTVERSION= 0.0.6
+PORTVERSION= 0.0.7
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MAINTAINER= katsuji.ishikawa@gmail.com
COMMENT= A Fast R6RS Scheme interpreter
-BUILD_DEPENDS= gosh:${PORTSDIR}/lang/gauche
-
PROJECTHOST= mosh-scheme
GNU_CONFIGURE= yes
-USE_GMAKE= yes
USE_GCC= 4.2+
-# Compilation tends to eat extreme amounts of memory otherwise
-CFLAGS+= "-O0"
-CXXFLAGS+= "-O0"
-
-SCMS= all-tests.scm repl.scm r6rs-examples/psyntax.scm
+SCMS= all-tests.scm repl.scm tools/psyntax-r6rs/rev10_to_10/psyntax.scm
+SS1= lib/srfi/%3A8.ss lib/srfi/%3A98.ss
+SS2= lib/mosh/test.ss
do-install:
- ${MKDIR} ${DATADIR}
+ ${MKDIR} ${DATADIR}/lib
+ ${MKDIR} ${DATADIR}/lib/srfi
+ ${MKDIR} ${DATADIR}/lib/mosh
+
.for F in ${SCMS}
${INSTALL_DATA} ${WRKSRC}/${F} ${DATADIR}/
.endfor
+
+.for F in ${SS1}
+ ${INSTALL_DATA} ${WRKSRC}/${F} ${DATADIR}/lib/srfi/
+.endfor
+
+.for F in ${SS2}
+ ${INSTALL_DATA} ${WRKSRC}/${F} ${DATADIR}/lib/mosh/
+.endfor
+
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
.include <bsd.port.mk>
diff --git a/lang/mosh/distinfo b/lang/mosh/distinfo
index bd750a454209..5a2d91779aa7 100644
--- a/lang/mosh/distinfo
+++ b/lang/mosh/distinfo
@@ -1,3 +1,3 @@
-MD5 (mosh-0.0.6.tar.gz) = 6496bb281ad543816ae0ba18ecbf3a09
-SHA256 (mosh-0.0.6.tar.gz) = f6d10f739247f20b6e6031c7ac8564d1352eda2ac05019c22599de30cc1c3e8e
-SIZE (mosh-0.0.6.tar.gz) = 4828440
+MD5 (mosh-0.0.7.tar.gz) = 3c4e312234f0b15db3ac7eb6fa888e68
+SHA256 (mosh-0.0.7.tar.gz) = ab576a7ec6a9221c67914f9bd1006e8a23c464365ee807543cf1a7b6e640f5ae
+SIZE (mosh-0.0.7.tar.gz) = 3629298
diff --git a/lang/mosh/files/patch-TextualInputPort.cpp b/lang/mosh/files/patch-TextualInputPort.cpp
new file mode 100644
index 000000000000..6c0994eb127b
--- /dev/null
+++ b/lang/mosh/files/patch-TextualInputPort.cpp
@@ -0,0 +1,11 @@
+--- TextualInputPort.cpp.orig 2008-10-30 10:15:23.000000000 +0300
++++ TextualInputPort.cpp 2009-03-02 22:01:49.000000000 +0300
+@@ -52,7 +52,7 @@
+ TextualInputPort::TextualInputPort(BinaryInputPort* port, Transcoder* coder) : codec_(coder->codec()),
+ port_(port),
+ coder_(coder),
+- buffer_(NULL),
++ buffer_((const ucs4char*)NULL),
+ line_(1),
+ error_(Object::Nil),
+ scanner_(new Scanner)
diff --git a/lang/mosh/pkg-plist b/lang/mosh/pkg-plist
index e345ae16e437..368e42eee6ec 100644
--- a/lang/mosh/pkg-plist
+++ b/lang/mosh/pkg-plist
@@ -2,4 +2,10 @@ bin/mosh
%%DATADIR%%/all-tests.scm
%%DATADIR%%/psyntax.scm
%%DATADIR%%/repl.scm
+%%DATADIR%%/lib/srfi/%3A8.ss
+%%DATADIR%%/lib/srfi/%3A98.ss
+%%DATADIR%%/lib/mosh/test.ss
+@dirrmtry %%DATADIR%%/lib/srfi
+@dirrmtry %%DATADIR%%/lib/mosh
+@dirrmtry %%DATADIR%%/lib
@dirrmtry %%DATADIR%%