summaryrefslogtreecommitdiff
path: root/lang/gauche
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gauche')
-rw-r--r--lang/gauche/Makefile32
-rw-r--r--lang/gauche/distinfo7
-rw-r--r--lang/gauche/patches/patch-aa14
-rw-r--r--lang/gauche/patches/patch-ab13
-rw-r--r--lang/gauche/patches/patch-ac13
-rw-r--r--lang/gauche/pkg/DESCR4
-rw-r--r--lang/gauche/pkg/PLIST95
7 files changed, 178 insertions, 0 deletions
diff --git a/lang/gauche/Makefile b/lang/gauche/Makefile
new file mode 100644
index 00000000000..d459cec0cb6
--- /dev/null
+++ b/lang/gauche/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/05/31 09:56:58 minoura Exp $
+#
+
+DISTNAME= Gauche-0.3.13
+CATEGORIES= lang
+MASTER_SITES= http://prdownloads.sourceforge.net/gauche/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= minoura@netbsd.org
+HOMEPAGE= http://www.shiro.dreamhost.com/scheme/gauche/index.html
+COMMENT= R5RS Scheme implementation developed to be a handy script interpreter
+
+# devel/boehm-gc cannot be used because Gauche requires PIC version
+#DEPENDS+= boehm-gc-*:../../devel/boehm-gc
+DEPENDS+= slib-*:../../devel/slib
+# XXX: On newer SunOS/Linux we have to use their native iconv(3)...?
+DEPENDS+= libiconv-*:../../converters/libiconv
+
+NOT_FOR_PLATFORM= *-*-alpha *-*-sparc64 # Gauche is not LP64 safe for now
+
+WRKSRC= ${WRKDIR}/Gauche
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-slib=${PREFIX}/share/slib
+CONFIGURE_ARGS+= --with-iconv=${PREFIX}/include
+CFLAGS+= -I${LOCALBASE}/include
+
+.include "../../mk/bsd.prefs.mk"
+.if defined(GAUCHE_MULTIBYTE)
+CONFIGURE_ARGS+= --enable-multibyte=${GAUCHE_MULTIBYTE}
+.endif
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/lang/gauche/distinfo b/lang/gauche/distinfo
new file mode 100644
index 00000000000..281fd8ff631
--- /dev/null
+++ b/lang/gauche/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/05/31 09:56:58 minoura Exp $
+
+SHA1 (Gauche-0.3.13.tgz) = 8b101b89bb600edf2b8e085cec3de3972dfb17af
+Size (Gauche-0.3.13.tgz) = 893586 bytes
+SHA1 (patch-aa) = 135ace2c47c1512ff7a2750c83458688dc30d011
+SHA1 (patch-ab) = a1e143c22024c3b531ec852c0b2ab27960729378
+SHA1 (patch-ac) = b982ca490cf135f4924a9ab159b21f9d95eb8682
diff --git a/lang/gauche/patches/patch-aa b/lang/gauche/patches/patch-aa
new file mode 100644
index 00000000000..e4958901477
--- /dev/null
+++ b/lang/gauche/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/05/31 09:56:59 minoura Exp $
+--- src/Makefile.in.orig Tue May 1 19:28:18 2001
++++ src/Makefile.in Sat May 12 10:24:47 2001
+@@ -2,8 +2,9 @@
+ LIBS = @LIBS@
+ DEFS = @DEFS@
+ #CFLAGS = -g -O2 -I. -I../gc -I../gc/include @SHLIB_SO_CFLAGS@
+-CFLAGS = -g -O2 -I. -I../gc -I../gc/include @SHLIB_SO_CFLAGS@
++#CFLAGS = -g -O2 -I. -I../gc -I../gc/include @SHLIB_SO_CFLAGS@
+ #CFLAGS = -O2 -I. -I../gc -I../gc/include
++CFLAGS = -O2 -I. -I../gc -I../gc/include @SHLIB_SO_CFLAGS@
+ LDFLAGS = @SHLIB_MAIN_LDFLAGS@
+ AR = ar
+
diff --git a/lang/gauche/patches/patch-ab b/lang/gauche/patches/patch-ab
new file mode 100644
index 00000000000..f1a023a2ae0
--- /dev/null
+++ b/lang/gauche/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/05/31 09:56:59 minoura Exp $
+
+--- ext/charconv/configure.in.orig Wed May 30 16:43:42 2001
++++ ext/charconv/configure.in Thu May 31 10:38:32 2001
+@@ -31,7 +31,7 @@
+ AC_ARG_WITH(iconv, , [
+ case $with_iconv in
+ no|yes) ;;
+- *) CPPFLAGS="$CPPFLAGS -I$with_iconv" ;;
++ *) CPPFLAGS="$CPPFLAGS -I$with_iconv"; LIBS="$LIBS -liconv" ;;
+ esac], [with_iconv=yes])
+
+ dnl Get compiler parameters which Gauche has been compiled with.
diff --git a/lang/gauche/patches/patch-ac b/lang/gauche/patches/patch-ac
new file mode 100644
index 00000000000..bf318de4230
--- /dev/null
+++ b/lang/gauche/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2001/05/31 09:56:59 minoura Exp $
+
+--- ext/charconv/configure.orig Wed May 30 18:06:30 2001
++++ ext/charconv/configure Thu May 31 10:38:46 2001
+@@ -548,7 +548,7 @@
+
+ case $with_iconv in
+ no|yes) ;;
+- *) CPPFLAGS="$CPPFLAGS -I$with_iconv" ;;
++ *) CPPFLAGS="$CPPFLAGS -I$with_iconv"; LIBS="$LIBS -liconv" ;;
+ esac
+ else
+ with_iconv=yes
diff --git a/lang/gauche/pkg/DESCR b/lang/gauche/pkg/DESCR
new file mode 100644
index 00000000000..5dc6d610d19
--- /dev/null
+++ b/lang/gauche/pkg/DESCR
@@ -0,0 +1,4 @@
+Gauche is an R5RS Scheme implementation developed to be a handy script
+interpreter, which allows programmers and system administrators to write small
+to large scripts for their daily chores. Quick startup, built-in system
+interface, native multilingual support are some of my goals.
diff --git a/lang/gauche/pkg/PLIST b/lang/gauche/pkg/PLIST
new file mode 100644
index 00000000000..a8d52ea2d4c
--- /dev/null
+++ b/lang/gauche/pkg/PLIST
@@ -0,0 +1,95 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/05/31 09:56:59 minoura Exp $
+bin/gauche-config
+bin/gosh
+lib/gauche/0.3.13/${MACHINE_GNU_ARCH}-${LOWER_VENDOR}-${LOWER_OPSYS}/gauche-config
+lib/gauche/0.3.13/${MACHINE_GNU_ARCH}-${LOWER_VENDOR}-${LOWER_OPSYS}/gosh
+lib/gauche/0.3.13/${MACHINE_GNU_ARCH}-${LOWER_VENDOR}-${LOWER_OPSYS}/libgauche.a
+lib/gauche/0.3.13/${MACHINE_GNU_ARCH}-${LOWER_VENDOR}-${LOWER_OPSYS}/libgauche.so
+lib/gauche/0.3.13/${MACHINE_GNU_ARCH}-${LOWER_VENDOR}-${LOWER_OPSYS}/libuvector.so
+lib/gauche/site/${MACHINE_GNU_ARCH}-${LOWER_VENDOR}-${LOWER_OPSYS}/charconv.so
+lib/gauche/site/${MACHINE_GNU_ARCH}-${LOWER_VENDOR}-${LOWER_OPSYS}/example.so
+lib/libgauche.a
+lib/libgauche.so
+share/gauche/0.3.13/include/gauche.h
+share/gauche/0.3.13/include/gauche/char_none.h
+share/gauche/0.3.13/include/gauche/char_euc_jp.h
+share/gauche/0.3.13/include/gauche/char_sjis.h
+share/gauche/0.3.13/include/gauche/char_utf_8.h
+share/gauche/0.3.13/include/gauche/config.h
+share/gauche/0.3.13/include/gauche/predef-syms.h
+share/gauche/0.3.13/include/gauche/portmacros.h
+share/gauche/0.3.13/include/gauche/vm.h
+share/gauche/0.3.13/include/gauche/vminsn.h
+share/gauche/0.3.13/include/gc.h
+share/gauche/0.3.13/include/uvector.h
+share/gauche/0.3.13/lib/gauche-init.scm
+share/gauche/0.3.13/lib/gauche/macroutil.scm
+share/gauche/0.3.13/lib/gauche/numerical.scm
+share/gauche/0.3.13/lib/gauche/object.scm
+share/gauche/0.3.13/lib/gauche/process.scm
+share/gauche/0.3.13/lib/gauche/regexp.scm
+share/gauche/0.3.13/lib/gauche/serializer.scm
+share/gauche/0.3.13/lib/gauche/serializer/aserializer.scm
+share/gauche/0.3.13/lib/gauche/test.scm
+share/gauche/0.3.13/lib/gauche/vm/disasm.scm
+share/gauche/0.3.13/lib/gauche/with.scm
+share/gauche/0.3.13/lib/genstub
+share/gauche/0.3.13/lib/japanize-euc.scm
+share/gauche/0.3.13/lib/rfc/base64.scm
+share/gauche/0.3.13/lib/srfi-0.scm
+share/gauche/0.3.13/lib/srfi-1.scm
+share/gauche/0.3.13/lib/srfi-1/cat.scm
+share/gauche/0.3.13/lib/srfi-1/filter.scm
+share/gauche/0.3.13/lib/srfi-1/finder.scm
+share/gauche/0.3.13/lib/srfi-1/folder.scm
+share/gauche/0.3.13/lib/srfi-1/generator.scm
+share/gauche/0.3.13/lib/srfi-1/mapper.scm
+share/gauche/0.3.13/lib/srfi-1/nary.scm
+share/gauche/0.3.13/lib/srfi-1/nth.scm
+share/gauche/0.3.13/lib/srfi-1/pred.scm
+share/gauche/0.3.13/lib/srfi-1/selector.scm
+share/gauche/0.3.13/lib/srfi-1/set.scm
+share/gauche/0.3.13/lib/srfi-1/zipper.scm
+share/gauche/0.3.13/lib/srfi-11.scm
+share/gauche/0.3.13/lib/srfi-13.scm
+share/gauche/0.3.13/lib/srfi-13/casemap.scm
+share/gauche/0.3.13/lib/srfi-13/comparer.scm
+share/gauche/0.3.13/lib/srfi-13/filter.scm
+share/gauche/0.3.13/lib/srfi-13/folder.scm
+share/gauche/0.3.13/lib/srfi-13/generator.scm
+share/gauche/0.3.13/lib/srfi-13/internal.scm
+share/gauche/0.3.13/lib/srfi-13/hash.scm
+share/gauche/0.3.13/lib/srfi-13/kmp.scm
+share/gauche/0.3.13/lib/srfi-13/misc.scm
+share/gauche/0.3.13/lib/srfi-13/pred.scm
+share/gauche/0.3.13/lib/srfi-13/prefix.scm
+share/gauche/0.3.13/lib/srfi-13/revapp.scm
+share/gauche/0.3.13/lib/srfi-13/rotator.scm
+share/gauche/0.3.13/lib/srfi-13/searcher.scm
+share/gauche/0.3.13/lib/srfi-13/selector.scm
+share/gauche/0.3.13/lib/srfi-14.scm
+share/gauche/0.3.13/lib/srfi-14/query.scm
+share/gauche/0.3.13/lib/srfi-14/set.scm
+share/gauche/0.3.13/lib/srfi-17.scm
+share/gauche/0.3.13/lib/srfi-2.scm
+share/gauche/0.3.13/lib/srfi-4.scm
+share/gauche/site/lib/example.scm
+@dirrm share/gauche/site/lib
+@dirrm share/gauche/site
+@dirrm share/gauche/0.3.13/lib/srfi-14
+@dirrm share/gauche/0.3.13/lib/srfi-13
+@dirrm share/gauche/0.3.13/lib/srfi-1
+@dirrm share/gauche/0.3.13/lib/rfc
+@dirrm share/gauche/0.3.13/lib/gauche/vm
+@dirrm share/gauche/0.3.13/lib/gauche/serializer
+@dirrm share/gauche/0.3.13/lib/gauche
+@dirrm share/gauche/0.3.13/lib
+@dirrm share/gauche/0.3.13/include/gauche
+@dirrm share/gauche/0.3.13/include
+@dirrm share/gauche/0.3.13
+@dirrm share/gauche
+@dirrm lib/gauche/site/sparc--netbsd
+@dirrm lib/gauche/site
+@dirrm lib/gauche/0.3.13/sparc--netbsd
+@dirrm lib/gauche/0.3.13
+@dirrm lib/gauche