diff options
author | agc <agc> | 1999-08-06 09:43:30 +0000 |
---|---|---|
committer | agc <agc> | 1999-08-06 09:43:30 +0000 |
commit | ad68f9d91f1af7238bd41f2ff13c4ca45a3f2df3 (patch) | |
tree | a045a130ed5babc76f7e1b3d9655f78df5d108ce | |
parent | 3e07246bc33460227d6e2cb2e21ad97f0548011d (diff) | |
download | pkgsrc-ad68f9d91f1af7238bd41f2ff13c4ca45a3f2df3.tar.gz |
Initial import of SIOD 3.4, Scheme in One Day/Defun, a small-footprint
implementation of the Scheme programming language, into the NetBSD
packages collection.
This package as marked as being only for Solaris at the moment because
it is, as yet, untested on NetBSD.
-rw-r--r-- | lang/siod/Makefile | 25 | ||||
-rw-r--r-- | lang/siod/files/md5 | 3 | ||||
-rw-r--r-- | lang/siod/files/patch-sum | 4 | ||||
-rw-r--r-- | lang/siod/patches/patch-aa | 50 | ||||
-rw-r--r-- | lang/siod/patches/patch-ab | 15 | ||||
-rw-r--r-- | lang/siod/pkg/COMMENT | 1 | ||||
-rw-r--r-- | lang/siod/pkg/DESCR | 16 | ||||
-rw-r--r-- | lang/siod/pkg/PLIST | 56 |
8 files changed, 170 insertions, 0 deletions
diff --git a/lang/siod/Makefile b/lang/siod/Makefile new file mode 100644 index 00000000000..dac20be1686 --- /dev/null +++ b/lang/siod/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/08/06 09:43:30 agc Exp $ + +DISTNAME= siod +PKGNAME= siod-3.0 +CATEGORIES= lang +MASTER_SITES= ftp://ftp.std.com/pub/gjc/ +EXTRACT_SUFX= .tgz + +MAINTAINER= packages@netbsd.org +HOMEPAGE= ftp://ftp.std.com/pub/gjc/siod.html + +ONLY_FOR_PLATFORM= SunOS-*-* # untested on NetBSD + +NO_WRKSUBDIR= yes +MAKEFILE= makefile +ALL_TARGET= ${OPSYS} +MAKE_ENV+= CC=${CC} + +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "SunOS" +MAKE_ENV+= CPPFLAGS= +.endif + +.include "../../mk/bsd.pkg.mk" diff --git a/lang/siod/files/md5 b/lang/siod/files/md5 new file mode 100644 index 00000000000..143b82f06d9 --- /dev/null +++ b/lang/siod/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 1999/08/06 09:43:31 agc Exp $ + +MD5 (siod.tgz) = c92809b7b2b8b7581e8cce00899732c9 diff --git a/lang/siod/files/patch-sum b/lang/siod/files/patch-sum new file mode 100644 index 00000000000..331fd35290a --- /dev/null +++ b/lang/siod/files/patch-sum @@ -0,0 +1,4 @@ +$NetBSD: patch-sum,v 1.1.1.1 1999/08/06 09:43:31 agc Exp $ + +MD5 (patch-aa) = 8d55e0a472dd5df133d2ee7c560623a2 +MD5 (patch-ab) = c0b18f06a3d53996857ec19b476c1d49 diff --git a/lang/siod/patches/patch-aa b/lang/siod/patches/patch-aa new file mode 100644 index 00000000000..aa229c54702 --- /dev/null +++ b/lang/siod/patches/patch-aa @@ -0,0 +1,50 @@ +$NetBSD: patch-aa,v 1.1.1.1 1999/08/06 09:43:31 agc Exp $ + +NetBSD definition for makefile, and make solaris into SunOS so +that we can use ${OPSYS}. + +--- makefile 1999/08/06 09:16:57 1.1 ++++ makefile 1999/08/06 09:20:34 +@@ -19,10 +19,10 @@ + # + # + MANSEC=1 +-MANDIR=$(IROOT)/usr/local/man/man$(MANSEC) +-BINDIR=$(IROOT)/usr/local/bin +-INCDIR=$(IROOT)/usr/local/include +-LIBDIR=$(IROOT)/usr/local/lib ++MANDIR=$(IROOT)${PREFIX}/man/man$(MANSEC) ++BINDIR=$(IROOT)${PREFIX}/bin ++INCDIR=$(IROOT)${PREFIX}/include ++LIBDIR=$(IROOT)${PREFIX}/lib + LIBSIODDIR=$(LIBDIR)/siod + CP_F=cp -f + # -Wmissing-prototypes +@@ -137,14 +137,25 @@ + # from /usr/lib/libSYBxxx.so -> /sybase/lib/libxxx.so + # for each shared library in /sybase/lib. + +-solaris: ++SunOS: + $(MAKE) $(LDLP) \ + PROGS="siod ndbm.so tar.so parser_pratt.so ss.so regex.so" \ +- CC=gcc \ + LD=ld \ + CFLAGS="$(GCCW) $(CDEBUG) -DSUN5 -O2 $(SLD)" \ + LD_EXE_FLAGS="-R $(LIBDIR) -R $(LIBSIODDIR)" \ + LD_EXE_LIBS="-lm -lsocket -lnsl -lposix4 -dl" \ ++ LD_LIB_FLAGS="-G" \ ++ LD_LIB_LIBS="$(LD_EXE_LIBS)" \ ++ SO="so" \ ++ build_driver ++ ++NetBSD: ++ $(MAKE) $(LDLP) \ ++ PROGS="siod ndbm.so tar.so parser_pratt.so ss.so regex.so" \ ++ LD=ld \ ++ CFLAGS="$(GCCW) $(CDEBUG) -DSUN5 -O2 $(SLD)" \ ++ LD_EXE_FLAGS="-Wl,-R$(LIBDIR) -L${LIBDIR} -Wl,-R$(LIBSIODDIR) -L${LIBSIODDIR}" \ ++ LD_EXE_LIBS="-lm" \ + LD_LIB_FLAGS="-G" \ + LD_LIB_LIBS="$(LD_EXE_LIBS)" \ + SO="so" \ diff --git a/lang/siod/patches/patch-ab b/lang/siod/patches/patch-ab new file mode 100644 index 00000000000..e237bbde004 --- /dev/null +++ b/lang/siod/patches/patch-ab @@ -0,0 +1,15 @@ +$NetBSD: patch-ab,v 1.1.1.1 1999/08/06 09:43:31 agc Exp $ + +Solaris (2.6 and above) already has usleep() + +--- slibu.c 1999/08/06 09:27:05 1.1 ++++ slibu.c 1999/08/06 09:28:11 +@@ -1311,7 +1311,7 @@ + } + #endif + +-#if defined(sun) || defined(sgi) ++#if (defined(sun) && !defined(__svr4__)) || defined(sgi) + long usleep(unsigned int winks) + {struct timespec x; + x.tv_sec = winks / 1000000; diff --git a/lang/siod/pkg/COMMENT b/lang/siod/pkg/COMMENT new file mode 100644 index 00000000000..1bd3465f4a8 --- /dev/null +++ b/lang/siod/pkg/COMMENT @@ -0,0 +1 @@ +a small-footprint implementation of the Scheme programming language diff --git a/lang/siod/pkg/DESCR b/lang/siod/pkg/DESCR new file mode 100644 index 00000000000..218d9bb617b --- /dev/null +++ b/lang/siod/pkg/DESCR @@ -0,0 +1,16 @@ +SIOD is a small-footprint implementation of the Scheme programming +language that is provided with some database, unix programming and cgi +scripting extensions. + +The motivation behind SIOD remains a small footprint, in every sense +of the word, at runtime, at compile time, and in cognitive attention +required to understand how the system works enough to be able to +extend it as well as the author would have done the work himself. + +About eight years have passed since that initial release. It has been +possible to add a feature or two without contributing to the cause of +software bloat, with the code segment of the libsiod shared library +remaining under 75K bytes on a prototypical comparison machine like a +VAX. Furthermore, as the richness of the C runtime library available +on most systems has improved over time, SIOD remains a useful kind of +glue to have in a software engineers toolbox. diff --git a/lang/siod/pkg/PLIST b/lang/siod/pkg/PLIST new file mode 100644 index 00000000000..152c2dd476a --- /dev/null +++ b/lang/siod/pkg/PLIST @@ -0,0 +1,56 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1999/08/06 09:43:31 agc Exp $ +lib/siod/fork-test.scm +lib/siod/http-server.scm +lib/siod/http-stress.scm +lib/siod/http.scm +lib/siod/maze-support.scm +lib/siod/pratt.scm +lib/siod/siod.scm +lib/siod/smtp.scm +lib/siod/sql_oracle.scm +lib/siod/sql_rdb.scm +lib/siod/sql_sybase.scm +lib/siod/cgi-echo.scm +lib/siod/find-files.scm +lib/siod/hello.scm +lib/siod/parser_pratt.scm +lib/siod/pop3.scm +lib/siod/selfdoc.scm +lib/siod/sample.c +lib/siod/siod.html +lib/siod/piechart.scm +lib/siod/cgi.scm +lib/siod/ftp.scm +lib/siod/sql_msql.scm +lib/siod/ndbm.so +lib/siod/tar.so +lib/siod/ss.so +lib/siod/regex.so +lib/siod/parser_pratt.so +lib/libsiod.so +bin/csiod +bin/snapshot-dir +bin/snapshot-compare +bin/http-get +bin/cp-build +bin/ftp-cp +bin/ftp-put +bin/ftp-test +bin/ftp-get +bin/http-stress +bin/proxy-server +bin/siod +include/siod.h +man/man1/siod.1 +man/man1/snapshot-dir.1 +man/man1/snapshot-compare.1 +man/man1/http-get.1 +man/man1/cp-build.1 +man/man1/ftp-cp.1 +man/man1/csiod.1 +man/man1/ftp-put.1 +man/man1/ftp-test.1 +man/man1/ftp-get.1 +man/man1/http-stress.1 +man/man1/proxy-server.1 +@dirrm lib/siod |