pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Added chezscheme: Cisco implementation of the Scheme programming language.
Module Name: pkgsrc-wip
Committed By: Aleksej Lebedev <root%zta.lk@localhost>
Pushed By: zhtw
Date: Mon May 15 20:24:47 2017 +0200
Changeset: f58a4cb7bb705c2ac39d11f33c33683353b5a6b3
Added Files:
chezscheme/DESCR
chezscheme/Makefile
chezscheme/PLIST
chezscheme/distinfo
chezscheme/patches/patch-configure
chezscheme/patches/patch-makefiles_installsh
Log Message:
Added chezscheme: Cisco implementation of the Scheme programming language.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f58a4cb7bb705c2ac39d11f33c33683353b5a6b3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
chezscheme/DESCR | 2 ++
chezscheme/Makefile | 44 ++++++++++++++++++++++++++++
chezscheme/PLIST | 36 +++++++++++++++++++++++
chezscheme/distinfo | 20 +++++++++++++
chezscheme/patches/patch-configure | 27 +++++++++++++++++
chezscheme/patches/patch-makefiles_installsh | 13 ++++++++
6 files changed, 142 insertions(+)
diffs:
diff --git a/chezscheme/DESCR b/chezscheme/DESCR
new file mode 100644
index 0000000000..16fdc3e391
--- /dev/null
+++ b/chezscheme/DESCR
@@ -0,0 +1,2 @@
+Chez Scheme is both a programming language and an implementation of that
+language, with supporting tools and documentation.
diff --git a/chezscheme/Makefile b/chezscheme/Makefile
new file mode 100644
index 0000000000..2e5fc6dd58
--- /dev/null
+++ b/chezscheme/Makefile
@@ -0,0 +1,44 @@
+# $NetBSD$
+
+GITHUB_PROJECT= ChezScheme
+VERSION= 9.4
+PKGNAME= ${GITHUB_PROJECT:tl}-${VERSION}
+DISTNAME= v${VERSION}
+CATEGORIES= lang
+MASTER_SITES= ${MASTER_SITE_GITHUB:=cisco/}
+GITHUB_TAG= ${DISTNAME}
+DIST_SUBDIR= ${GITHUB_PROJECT}
+DISTFILES= ChezScheme-9.4.tar.gz \
+ zlib-1.2.8.tar.gz \
+ nanopass-framework-scheme-1.9.tar.gz \
+ stex-1.2.1.tar.gz
+SITES.zlib-1.2.8.tar.gz= -https://github.com/madler/zlib/archive/v1.2.8.tar.gz
+SITES.ChezScheme-9.4.tar.gz= -https://github.com/cisco/ChezScheme/archive/v9.4.tar.gz
+SITES.nanopass-framework-scheme-1.9.tar.gz= -https://github.com/nanopass/nanopass-framework-scheme/archive/v1.9.tar.gz
+SITES.stex-1.2.1.tar.gz= -https://github.com/dybvig/stex/archive/v1.2.1.tar.gz
+
+MAINTAINER= root%zta.lk@localhost
+HOMEPAGE= https://cisco.github.io/ChezScheme/
+COMMENT= Cisco implementation of the Scheme programming language
+LICENSE= apache-2.0
+
+WRKSRC= ${WRKDIR}/ChezScheme-9.4
+HAS_CONFIGURE= yes
+USE_TOOLS+= gmake
+USE_LANGUAGES+= c
+
+pre-configure:
+ cd ${WRKSRC} && rmdir stex && mv ../stex-1.2.1 stex && \
+ rmdir zlib && mv ../zlib-1.2.8 zlib && \
+ rmdir nanopass && mv ../nanopass-framework-scheme-1.9 nanopass
+do-configure:
+ cd ${WRKSRC} && ./configure --installprefix=${PREFIX} \
+ --installman=${PREFIX}/${PKGMANDIR} \
+ --temproot=${DESTDIR} \
+ LDFLAGS="${LDFLAGS}"
+
+BUILD_TARGET=build
+
+.include "../../mk/curses.buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/chezscheme/PLIST b/chezscheme/PLIST
new file mode 100644
index 0000000000..29bc2a7907
--- /dev/null
+++ b/chezscheme/PLIST
@@ -0,0 +1,36 @@
+@comment $NetBSD$
+bin/petite
+bin/scheme
+bin/scheme-script
+lib/csv${PKGVERSION}/a6le/petite.boot
+lib/csv${PKGVERSION}/a6le/scheme-script.boot
+lib/csv${PKGVERSION}/a6le/scheme.boot
+lib/csv${PKGVERSION}/a6le/scheme.h
+lib/csv${PKGVERSION}/examples/Makefile
+lib/csv${PKGVERSION}/examples/compat.ss
+lib/csv${PKGVERSION}/examples/crepl.c
+lib/csv${PKGVERSION}/examples/csocket.c
+lib/csv${PKGVERSION}/examples/def.ss
+lib/csv${PKGVERSION}/examples/edit.ss
+lib/csv${PKGVERSION}/examples/fact.ss
+lib/csv${PKGVERSION}/examples/fatfib.ss
+lib/csv${PKGVERSION}/examples/fft.ss
+lib/csv${PKGVERSION}/examples/fib.ss
+lib/csv${PKGVERSION}/examples/foreign.ss
+lib/csv${PKGVERSION}/examples/freq.ss
+lib/csv${PKGVERSION}/examples/interpret.ss
+lib/csv${PKGVERSION}/examples/m4.ss
+lib/csv${PKGVERSION}/examples/macro.ss
+lib/csv${PKGVERSION}/examples/matrix.ss
+lib/csv${PKGVERSION}/examples/object.ss
+lib/csv${PKGVERSION}/examples/power.ss
+lib/csv${PKGVERSION}/examples/queue.ss
+lib/csv${PKGVERSION}/examples/rabbit.ss
+lib/csv${PKGVERSION}/examples/rsa.ss
+lib/csv${PKGVERSION}/examples/scons.ss
+lib/csv${PKGVERSION}/examples/setof.ss
+lib/csv${PKGVERSION}/examples/socket.ss
+lib/csv${PKGVERSION}/examples/template.ss
+lib/csv${PKGVERSION}/examples/unify.ss
+man/man1/petite.1
+man/man1/scheme.1
diff --git a/chezscheme/distinfo b/chezscheme/distinfo
new file mode 100644
index 0000000000..80527af537
--- /dev/null
+++ b/chezscheme/distinfo
@@ -0,0 +1,20 @@
+$NetBSD$
+
+SHA1 (ChezScheme/ChezScheme-9.4.tar.gz) = f1273793cbceb545e51baa2cbf1be1d9c870c8f4
+RMD160 (ChezScheme/ChezScheme-9.4.tar.gz) = 6162cde0b929a03bcc1984f83f0e63554018cc53
+SHA512 (ChezScheme/ChezScheme-9.4.tar.gz) = 722b072f28d6a4e3c21b220ddb5c01f60b421feaaa54f837cea3a225ce360eb12f217651538d677daae7187ce6d54f124c8aa697e7e477f1563d65b662002c46
+Size (ChezScheme/ChezScheme-9.4.tar.gz) = 28843543 bytes
+SHA1 (ChezScheme/nanopass-framework-scheme-1.9.tar.gz) = 7f872c409165e822a031ebfb0f8639271306bcbe
+RMD160 (ChezScheme/nanopass-framework-scheme-1.9.tar.gz) = 783777cdcf0609444c0f7f1481af2320d5003d41
+SHA512 (ChezScheme/nanopass-framework-scheme-1.9.tar.gz) = 6b11058332b52f6cac08855cd5881ddf7ec12f3c1154ebb2a95e0f44ad4d090f8101f3b68419a65a32a1b6f4ae38f39b204ddfec048bfa30adb4456bae14ab7a
+Size (ChezScheme/nanopass-framework-scheme-1.9.tar.gz) = 3816290 bytes
+SHA1 (ChezScheme/stex-1.2.1.tar.gz) = e97e52fdad75c150997c30f549e18bbecd785929
+RMD160 (ChezScheme/stex-1.2.1.tar.gz) = a2dbdd9dc857920944b80b53f44e83ec4fa366a4
+SHA512 (ChezScheme/stex-1.2.1.tar.gz) = 29909a05cd813e5b7918d55dc10f1b2de80dec18ae89a1644261decfd79ac8e5468ac3b50f49c70796bde05ddfad5eaacd879dbadc995ce87f6a74c17b947058
+Size (ChezScheme/stex-1.2.1.tar.gz) = 211011 bytes
+SHA1 (ChezScheme/zlib-1.2.8.tar.gz) = 730c4e75b553cafc0c081127de43174192ce98fd
+RMD160 (ChezScheme/zlib-1.2.8.tar.gz) = 820cab211e9311390e206c658c4c1ad3c6c84ccc
+SHA512 (ChezScheme/zlib-1.2.8.tar.gz) = 7e393976368975446b263ae4143fb404bc33bf3b436e72007700b5b88e5be332cd461cdec42d31a4b6dffdca2368550f01b9fa1165d81c0aa818bbf2b1ac191e
+Size (ChezScheme/zlib-1.2.8.tar.gz) = 604952 bytes
+SHA1 (patch-configure) = e85217732e4d4381b82940ed2ca147c8c2c5e97a
+SHA1 (patch-makefiles_installsh) = e3b114e27633cc2d9a0828a82f53151a9f00e520
diff --git a/chezscheme/patches/patch-configure b/chezscheme/patches/patch-configure
new file mode 100644
index 0000000000..3d7e838c9d
--- /dev/null
+++ b/chezscheme/patches/patch-configure
@@ -0,0 +1,27 @@
+$NetBSD$
+
+--- configure.orig 2016-05-13 16:59:20.000000000 +0000
++++ configure
+@@ -288,22 +288,6 @@ if [ "$m" = "" -o ! -f boot/$m/scheme.bo
+ exit 1
+ fi
+
+-if [ -d '.git' ] ; then
+- git submodule init && git submodule update || exit 1
+-else
+- if [ ! -f 'nanopass/nanopass.ss' ] ; then
+- rmdir nanopass && (curl -L -o v1.9.tar.gz https://github.com/nanopass/nanopass-framework-scheme/archive/v1.9.tar.gz && tar -zxf v1.9.tar.gz && mv nanopass-framework-scheme-1.9 nanopass && rm v1.9.tar.gz) || exit 1
+- fi
+-
+- if [ ! -f 'zlib/configure' ] ; then
+- rmdir zlib && (curl -L -o v1.2.8.tar.gz https://github.com/madler/zlib/archive/v1.2.8.tar.gz && tar -xzf v1.2.8.tar.gz && mv zlib-1.2.8 zlib && rm v1.2.8.tar.gz) || exit 1
+- fi
+-
+- if [ ! -f 'stex/Mf-stex' ] ; then
+- rmdir stex && (curl -L -o v1.2.1.tar.gz https://github.com/dybvig/stex/archive/v1.2.1.tar.gz && tar -zxf v1.2.1.tar.gz && mv stex-1.2.1 stex && rm v1.2.1.tar.gz) || exit 1
+- fi
+-fi
+-
+ ./workarea $m $w
+
+ sed -e 's/$(m)/'$m'/g'\
diff --git a/chezscheme/patches/patch-makefiles_installsh b/chezscheme/patches/patch-makefiles_installsh
new file mode 100644
index 0000000000..16b2311956
--- /dev/null
+++ b/chezscheme/patches/patch-makefiles_installsh
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- makefiles/installsh.orig 2016-05-13 16:59:20.000000000 +0000
++++ makefiles/installsh
+@@ -61,7 +61,7 @@ while ${TRUE} ; do
+ for file in $files ; do
+ destfile=$dest
+ if [ -d $destfile ] ; then destfile=$destfile/`basename $file` ; fi
+- if [ $ifdiff == 1 ] && cmp -s $file $destfile || cp -f -p $file $destfile ; then
++ if [ $ifdiff = 1 ] && cmp -s $file $destfile || cp -f -p $file $destfile ; then
+ if [ "$owner" != "" ] ; then chown $owner $destfile ; fi
+ if [ "$group" != "" ] ; then chgrp $group $destfile ; fi
+ if [ "$mode" != "" ] ; then chmod $mode $destfile ; fi
Home |
Main Index |
Thread Index |
Old Index