pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

chicken5: Import chicken-5.0.0rc2 as wip/chicken



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Wed Oct 3 21:09:39 2018 +0200
Changeset:	737d7bf16454b8d76eeb45338b6b2ec38682d75a

Modified Files:
	Makefile
Added Files:
	chicken5/DESCR
	chicken5/Makefile
	chicken5/PLIST
	chicken5/distinfo

Log Message:
chicken5: Import chicken-5.0.0rc2 as wip/chicken

CHICKEN is a Scheme-to-C compiler supporting most of the language
features as defined in the Revised^5 Report on Scheme.  CHICKEN
generates quite portable C code, and files compiled by it (including
itself) should work without any changes on most platforms.

The whole package is distributed under a BSD license and as such free
to use and modify as long as you adhere to its terms (see the manual).
Linkage to C modules and C-library functions is straightforward, so
it's easy to access C from Scheme.  Compiled code can be embedded into
existing C programs without problems.  The generated code supports
full tail-recursion, first-class continuations, multiple values and
dynamic-wind.

Based on lang/chicken.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=737d7bf16454b8d76eeb45338b6b2ec38682d75a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile          |   1 +
 chicken5/DESCR    |  12 +++++
 chicken5/Makefile |  54 +++++++++++++++++++++
 chicken5/PLIST    | 143 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 chicken5/distinfo |   6 +++
 5 files changed, 216 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 0d7450d8e2..0b112f3556 100644
--- a/Makefile
+++ b/Makefile
@@ -364,6 +364,7 @@ SUBDIR+=	chems
 SUBDIR+=	cherokee
 SUBDIR+=	chezscheme
 SUBDIR+=	chibi-scheme
+SUBDIR+=	chicken5
 SUBDIR+=	chocolate-doom
 SUBDIR+=	choosefont
 SUBDIR+=	chora
diff --git a/chicken5/DESCR b/chicken5/DESCR
new file mode 100644
index 0000000000..041f6a6523
--- /dev/null
+++ b/chicken5/DESCR
@@ -0,0 +1,12 @@
+CHICKEN is a Scheme-to-C compiler supporting most of the language
+features as defined in the Revised^5 Report on Scheme.  CHICKEN
+generates quite portable C code, and files compiled by it (including
+itself) should work without any changes on most platforms.
+
+The whole package is distributed under a BSD license and as such free
+to use and modify as long as you adhere to its terms (see the manual).
+Linkage to C modules and C-library functions is straightforward, so
+it's easy to access C from Scheme.  Compiled code can be embedded into
+existing C programs without problems.  The generated code supports
+full tail-recursion, first-class continuations, multiple values and
+dynamic-wind.
diff --git a/chicken5/Makefile b/chicken5/Makefile
new file mode 100644
index 0000000000..976100deb2
--- /dev/null
+++ b/chicken5/Makefile
@@ -0,0 +1,54 @@
+# $NetBSD: Makefile,v 1.58 2018/01/01 18:16:36 rillig Exp $
+
+DISTNAME=	chicken-5.0.0rc2
+CATEGORIES=	lang
+MASTER_SITES=	http://code.call-cc.org/dev-snapshots/2018/09/09/
+
+MAINTAINER=	asau%inbox.ru@localhost #, airhead%users.sourceforge.net@localhost
+HOMEPAGE=	http://www.call-cc.org/
+COMMENT=	Scheme to C compiler, handling R5RS
+LICENSE=	modified-bsd
+
+MAKE_JOBS_SAFE=	no
+
+USE_LIBTOOL=		yes
+USE_TOOLS+=		gmake
+UNLIMIT_RESOURCES=	datasize
+
+OWN_DIRS=		${PREFIX}/lib/chicken ${PREFIX}/lib/chicken/9
+
+BUILD_TARGET=		all
+
+.include "../../mk/bsd.prefs.mk"
+
+# PLATFORM detection:
+.if !empty(OPSYS:M*BSD) || ${OPSYS} == "DragonFly"
+PLATFORM=	bsd
+.elif ${OPSYS} == "Linux"
+PLATFORM=	linux
+.elif ${OPSYS} == "Darwin"
+PLATFORM=	macosx
+.elif ${OPSYS} == "SunOS"
+PLATFORM=	solaris
+.elif ${OPSYS} == "Haiku"
+PLATFORM=	haiku
+.else
+#PLATFORM+=	${OPSYS} == "Interix"
+# possible choices left: aix android cross-linux-mingw cygwin hurd mingw
+#                        mingw-msys 
+PKG_SKIP_REASON+=	"${OPSYS} is not supported"
+.endif
+
+MAKE_FILE=	GNUmakefile
+MAKE_ENV+=	C_COMPILER=${CC:Q}
+MAKE_ENV+=	HOST=	# fix ${HOST} prepending ${CC}
+# Need to have these in MAKE_FLAGS, MAKE_ENV is not enough due to the
+# way the build system overrides them.
+MAKE_FLAGS+=	PLATFORM=${PLATFORM:Q} PREFIX=${PREFIX:Q} DESTDIR=${DESTDIR:Q}
+MAKE_FLAGS+=	MANDIR=${PREFIX:Q}/${PKGMANDIR}
+MAKE_FLAGS+=	INFODIR=${PREFIX:Q}/${PKGINFODIR:Q}
+MAKE_FLAGS+=	DOCDIR=${PREFIX:Q}/share/doc/${PKGNAME_NOREV}
+
+TEST_TARGET=	check
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/chicken5/PLIST b/chicken5/PLIST
new file mode 100644
index 0000000000..f421e34ae7
--- /dev/null
+++ b/chicken5/PLIST
@@ -0,0 +1,143 @@
+@comment $NetBSD$
+bin/chicken
+bin/chicken-do
+bin/chicken-install
+bin/chicken-profile
+bin/chicken-status
+bin/chicken-uninstall
+bin/csc
+bin/csi
+bin/feathers
+include/chicken/chicken-config.h
+include/chicken/chicken.h
+lib/chicken/9/chicken.base.import.so
+lib/chicken/9/chicken.bitwise.import.so
+lib/chicken/9/chicken.blob.import.so
+lib/chicken/9/chicken.compiler.user-pass.import.so
+lib/chicken/9/chicken.condition.import.so
+lib/chicken/9/chicken.continuation.import.so
+lib/chicken/9/chicken.csi.import.so
+lib/chicken/9/chicken.errno.import.so
+lib/chicken/9/chicken.eval.import.so
+lib/chicken/9/chicken.file.import.so
+lib/chicken/9/chicken.file.posix.import.so
+lib/chicken/9/chicken.fixnum.import.so
+lib/chicken/9/chicken.flonum.import.so
+lib/chicken/9/chicken.foreign.import.so
+lib/chicken/9/chicken.format.import.so
+lib/chicken/9/chicken.gc.import.so
+lib/chicken/9/chicken.internal.import.so
+lib/chicken/9/chicken.io.import.so
+lib/chicken/9/chicken.irregex.import.so
+lib/chicken/9/chicken.keyword.import.so
+lib/chicken/9/chicken.load.import.so
+lib/chicken/9/chicken.locative.import.so
+lib/chicken/9/chicken.memory.import.so
+lib/chicken/9/chicken.memory.representation.import.so
+lib/chicken/9/chicken.pathname.import.so
+lib/chicken/9/chicken.platform.import.so
+lib/chicken/9/chicken.plist.import.so
+lib/chicken/9/chicken.port.import.so
+lib/chicken/9/chicken.pretty-print.import.so
+lib/chicken/9/chicken.process-context.import.so
+lib/chicken/9/chicken.process-context.posix.import.so
+lib/chicken/9/chicken.process.import.so
+lib/chicken/9/chicken.process.signal.import.so
+lib/chicken/9/chicken.random.import.so
+lib/chicken/9/chicken.read-syntax.import.so
+lib/chicken/9/chicken.repl.import.so
+lib/chicken/9/chicken.sort.import.so
+lib/chicken/9/chicken.string.import.so
+lib/chicken/9/chicken.syntax.import.so
+lib/chicken/9/chicken.tcp.import.so
+lib/chicken/9/chicken.time.import.so
+lib/chicken/9/chicken.time.posix.import.so
+lib/chicken/9/srfi-4.import.so
+lib/chicken/9/types.db
+lib/libchicken.a
+lib/libchicken.so
+lib/libchicken.so.9
+man/man1/chicken-install.1
+man/man1/chicken-profile.1
+man/man1/chicken-status.1
+man/man1/chicken-uninstall.1
+man/man1/chicken.1
+man/man1/csc.1
+man/man1/csi.1
+man/man1/feathers.1
+share/chicken/feathers.tcl
+share/chicken/setup.defaults
+share/doc/${PKGNAME}/LICENSE
+share/doc/${PKGNAME}/README
+share/doc/${PKGNAME}/manual/Accessing external objects.html
+share/doc/${PKGNAME}/manual/Acknowledgements.html
+share/doc/${PKGNAME}/manual/Bibliography.html
+share/doc/${PKGNAME}/manual/Bugs and limitations.html
+share/doc/${PKGNAME}/manual/C interface.html
+share/doc/${PKGNAME}/manual/Cross development.html
+share/doc/${PKGNAME}/manual/Data representation.html
+share/doc/${PKGNAME}/manual/Debugging.html
+share/doc/${PKGNAME}/manual/Declarations.html
+share/doc/${PKGNAME}/manual/Deployment.html
+share/doc/${PKGNAME}/manual/Deviations from the standard.html
+share/doc/${PKGNAME}/manual/Egg specification format.html
+share/doc/${PKGNAME}/manual/Embedding.html
+share/doc/${PKGNAME}/manual/Extension tools.html
+share/doc/${PKGNAME}/manual/Extensions to the standard.html
+share/doc/${PKGNAME}/manual/Extensions.html
+share/doc/${PKGNAME}/manual/Foreign type specifiers.html
+share/doc/${PKGNAME}/manual/Getting started.html
+share/doc/${PKGNAME}/manual/Included modules.html
+share/doc/${PKGNAME}/manual/Interface to external functions and variables.html
+share/doc/${PKGNAME}/manual/Module (chicken base).html
+share/doc/${PKGNAME}/manual/Module (chicken bitwise).html
+share/doc/${PKGNAME}/manual/Module (chicken blob).html
+share/doc/${PKGNAME}/manual/Module (chicken condition).html
+share/doc/${PKGNAME}/manual/Module (chicken continuation).html
+share/doc/${PKGNAME}/manual/Module (chicken csi).html
+share/doc/${PKGNAME}/manual/Module (chicken errno).html
+share/doc/${PKGNAME}/manual/Module (chicken eval).html
+share/doc/${PKGNAME}/manual/Module (chicken file posix).html
+share/doc/${PKGNAME}/manual/Module (chicken file).html
+share/doc/${PKGNAME}/manual/Module (chicken fixnum).html
+share/doc/${PKGNAME}/manual/Module (chicken flonum).html
+share/doc/${PKGNAME}/manual/Module (chicken foreign).html
+share/doc/${PKGNAME}/manual/Module (chicken format).html
+share/doc/${PKGNAME}/manual/Module (chicken gc).html
+share/doc/${PKGNAME}/manual/Module (chicken io).html
+share/doc/${PKGNAME}/manual/Module (chicken irregex).html
+share/doc/${PKGNAME}/manual/Module (chicken keyword).html
+share/doc/${PKGNAME}/manual/Module (chicken load).html
+share/doc/${PKGNAME}/manual/Module (chicken locative).html
+share/doc/${PKGNAME}/manual/Module (chicken memory representation).html
+share/doc/${PKGNAME}/manual/Module (chicken memory).html
+share/doc/${PKGNAME}/manual/Module (chicken module).html
+share/doc/${PKGNAME}/manual/Module (chicken pathname).html
+share/doc/${PKGNAME}/manual/Module (chicken platform).html
+share/doc/${PKGNAME}/manual/Module (chicken plist).html
+share/doc/${PKGNAME}/manual/Module (chicken port).html
+share/doc/${PKGNAME}/manual/Module (chicken pretty-print).html
+share/doc/${PKGNAME}/manual/Module (chicken process signal).html
+share/doc/${PKGNAME}/manual/Module (chicken process).html
+share/doc/${PKGNAME}/manual/Module (chicken process-context posix).html
+share/doc/${PKGNAME}/manual/Module (chicken process-context).html
+share/doc/${PKGNAME}/manual/Module (chicken random).html
+share/doc/${PKGNAME}/manual/Module (chicken read-syntax).html
+share/doc/${PKGNAME}/manual/Module (chicken repl).html
+share/doc/${PKGNAME}/manual/Module (chicken sort).html
+share/doc/${PKGNAME}/manual/Module (chicken string).html
+share/doc/${PKGNAME}/manual/Module (chicken syntax).html
+share/doc/${PKGNAME}/manual/Module (chicken tcp).html
+share/doc/${PKGNAME}/manual/Module (chicken time posix).html
+share/doc/${PKGNAME}/manual/Module (chicken time).html
+share/doc/${PKGNAME}/manual/Module r4rs.html
+share/doc/${PKGNAME}/manual/Module r5rs.html
+share/doc/${PKGNAME}/manual/Module scheme.html
+share/doc/${PKGNAME}/manual/Module srfi-4.html
+share/doc/${PKGNAME}/manual/Modules.html
+share/doc/${PKGNAME}/manual/The User's Manual.html
+share/doc/${PKGNAME}/manual/Types.html
+share/doc/${PKGNAME}/manual/Units and linking model.html
+share/doc/${PKGNAME}/manual/Using the compiler.html
+share/doc/${PKGNAME}/manual/Using the interpreter.html
+share/doc/${PKGNAME}/manual/manual.css
diff --git a/chicken5/distinfo b/chicken5/distinfo
new file mode 100644
index 0000000000..717ae1731c
--- /dev/null
+++ b/chicken5/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.42 2016/06/08 14:44:54 asau Exp $
+
+SHA1 (chicken-5.0.0rc2.tar.gz) = 18b872b42455885654a61005c3b3716ad4869baf
+RMD160 (chicken-5.0.0rc2.tar.gz) = 7d25f7371637b8d4f3b217bbc465c805882781bb
+SHA512 (chicken-5.0.0rc2.tar.gz) = fcb3f772a1300a4c3548a560ac9b49d84fd3ca4ff2d02a92efbb3ff476e061a70b0023071fbd40b3bf521fcbb4b6bbc0352e3fa1b3c07bd98e9c5e3e54f3616a
+Size (chicken-5.0.0rc2.tar.gz) = 4004627 bytes


Home | Main Index | Thread Index | Old Index