From owner-svn-ports-all@freebsd.org Sun Nov 26 21:18:05 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BE091DF0C6E; Sun, 26 Nov 2017 21:18:05 +0000 (UTC) (envelope-from ashish@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 94916787DA; Sun, 26 Nov 2017 21:18:05 +0000 (UTC) (envelope-from ashish@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vAQLI42b046915; Sun, 26 Nov 2017 21:18:04 GMT (envelope-from ashish@FreeBSD.org) Received: (from ashish@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vAQLI4Wj046910; Sun, 26 Nov 2017 21:18:04 GMT (envelope-from ashish@FreeBSD.org) Message-Id: <201711262118.vAQLI4Wj046910@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ashish set sender to ashish@FreeBSD.org using -f From: Ashish SHUKLA Date: Sun, 26 Nov 2017 21:18:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r454923 - in head/lang: . chez-scheme X-SVN-Group: ports-head X-SVN-Commit-Author: ashish X-SVN-Commit-Paths: in head/lang: . chez-scheme X-SVN-Commit-Revision: 454923 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Nov 2017 21:18:05 -0000 Author: ashish Date: Sun Nov 26 21:18:04 2017 New Revision: 454923 URL: https://svnweb.freebsd.org/changeset/ports/454923 Log: Chez Scheme is both a programming language and an implementation of that language, with supporting tools and documentation. As a superset of the language described in the [Revised6 Report on the Algorithmic Language Scheme] (http://www.r6rs.org)(R6RS), Chez Scheme supports all standard features of Scheme, including first-class procedures, proper treatment of tail calls, continuations, user-defined records, libraries, exceptions, and hygienic macro expansion. Chez Scheme also includes extensive support for interfacing with C and other languages, support for multiple threads possibly running on multiple cores, non-blocking I/O, and many other features. WWW: https://cisco.github.io/ChezScheme Thanks to jrm for helping with testing. Added: head/lang/chez-scheme/ head/lang/chez-scheme/Makefile (contents, props changed) head/lang/chez-scheme/distinfo (contents, props changed) head/lang/chez-scheme/pkg-descr (contents, props changed) head/lang/chez-scheme/pkg-plist (contents, props changed) Modified: head/lang/Makefile Modified: head/lang/Makefile ============================================================================== --- head/lang/Makefile Sun Nov 26 21:07:20 2017 (r454922) +++ head/lang/Makefile Sun Nov 26 21:18:04 2017 (r454923) @@ -26,6 +26,7 @@ SUBDIR += cdent SUBDIR += ceylon SUBDIR += cfortran + SUBDIR += chez-scheme SUBDIR += chibi-scheme SUBDIR += chicken SUBDIR += cilkplus Added: head/lang/chez-scheme/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/chez-scheme/Makefile Sun Nov 26 21:18:04 2017 (r454923) @@ -0,0 +1,69 @@ +# Created by: Ashish SHUKLA +# $FreeBSD$ + +PORTNAME= chez-scheme +PORTVERSION= 9.5 +CATEGORIES= lang +MASTER_SITES= http://distfiles.pirateparty.in/ashish/:boot \ + LOCAL/ashish:boot +DISTFILES= ${PORTNAME}-boot-a6fb.tar.xz:boot \ + ${PORTNAME}-boot-i3fb.tar.xz:boot + +MAINTAINER= ashish@FreeBSD.org +COMMENT= Chez Scheme system + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +ONLY_FOR_ARCHS= amd64 i386 + +USE_GITHUB= yes +GH_ACCOUNT= cisco +GH_PROJECT= ChezScheme +GH_TAGNAME= v${PORTVERSION} +GH_TUPLE= nanopass:nanopass-framework-scheme:v1.9:nanopass/nanopass \ + madler:zlib:v1.2.11:zlib/zlib \ + dybvig:stex:v1.2.1:stex/stex + +WRKSRC= ${WRKDIR}/ChezScheme-${PORTVERSION} + +USES= gmake iconv:lib ncurses +USE_XORG= x11 +HAS_CONFIGURE= yes +ALL_TARGET= build +CONFLICTS_INSTALL= petite-chez-[0-9]* +STRIP_FILES= bin/petite bin/${PORTNAME} bin/${PORTNAME}-script +CHEZ_LIBDIR=lib/csv${PORTVERSION} +CONFIGURE_ARGS= --installprefix=${PREFIX} \ + --temproot=${STAGEDIR} \ + --installschemename=${PORTNAME} \ + --installscriptname=${PORTNAME}-script +PLIST_SUB= PORTNAME=${PORTNAME} \ + CHEZ_ARCH=${CHEZ_ARCH} \ + CHEZ_LIBDIR=${CHEZ_LIBDIR} + +.include + +.if (${ARCH} == "amd64") +CONFIGURE_ARGS+= --threads --64 -m=a6fb +CHEZ_ARCH= a6fb +.elif (${ARCH} == "i386") +CONFIGURE_ARGS+= --threads --32 -m=i3fb +CHEZ_ARCH= i3fb +.endif + +post-patch: + ${LN} -sf ${WRKDIR}/${CHEZ_ARCH} ${WRKSRC}/boot/ + ${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' \ + -e 's,/usr/local,${LOCALBASE},g' \ + -e 's,-liconv,${ICONV_LIB},g' ${WRKSRC}/c/Mf-${CHEZ_ARCH} + +post-install: +.for f in ${STRIP_FILES} + @${CHMOD} +w ${STAGEDIR}${PREFIX}/${f} + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${f} + @${CHMOD} -w ${STAGEDIR}${PREFIX}/${f} +.endfor + @${LN} -sf scheme.boot ${STAGEDIR}${PREFIX}/${CHEZ_LIBDIR}/${CHEZ_ARCH}/${PORTNAME}-script.boot + +.include Added: head/lang/chez-scheme/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/chez-scheme/distinfo Sun Nov 26 21:18:04 2017 (r454923) @@ -0,0 +1,13 @@ +TIMESTAMP = 1511729125 +SHA256 (chez-scheme-boot-a6fb.tar.xz) = ee94286508cf6e9d76b9ec9faf9aa73a452b59b4a86a2ed957ea89e271feb659 +SIZE (chez-scheme-boot-a6fb.tar.xz) = 2217812 +SHA256 (chez-scheme-boot-i3fb.tar.xz) = 1733fe28401f7a68c802b31e246696eaeccb3f9e8e32f57751a591383c91effa +SIZE (chez-scheme-boot-i3fb.tar.xz) = 2115580 +SHA256 (cisco-ChezScheme-9.5-v9.5_GH0.tar.gz) = a1d9f93bd8a683ea3d8f2f1b4880f85ea40bf9a482ee6b84cb0fe0ab6148a98c +SIZE (cisco-ChezScheme-9.5-v9.5_GH0.tar.gz) = 29245837 +SHA256 (nanopass-nanopass-framework-scheme-v1.9_GH0.tar.gz) = 625b239f9030d0b1e86b1fffd8b69f7249a63e8b8ca85195a00cf22889f7fc86 +SIZE (nanopass-nanopass-framework-scheme-v1.9_GH0.tar.gz) = 3816290 +SHA256 (madler-zlib-v1.2.11_GH0.tar.gz) = 629380c90a77b964d896ed37163f5c3a34f6e6d897311f1df2a7016355c45eff +SIZE (madler-zlib-v1.2.11_GH0.tar.gz) = 644492 +SHA256 (dybvig-stex-v1.2.1_GH0.tar.gz) = bf784ca46aaca9b665b7eb0c39f04f6a695aa40e99b11d8a6d4440648c1bf40e +SIZE (dybvig-stex-v1.2.1_GH0.tar.gz) = 211011 Added: head/lang/chez-scheme/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/chez-scheme/pkg-descr Sun Nov 26 21:18:04 2017 (r454923) @@ -0,0 +1,15 @@ +Chez Scheme is both a programming language and an implementation +of that language, with supporting tools and documentation. + +As a superset of the language described in the +[Revised6 Report on the Algorithmic Language Scheme] +(http://www.r6rs.org)(R6RS), Chez Scheme supports all standard +features of Scheme, including first-class procedures, proper treatment +of tail calls, continuations, user-defined records, libraries, +exceptions, and hygienic macro expansion. + +Chez Scheme also includes extensive support for interfacing with C +and other languages, support for multiple threads possibly running +on multiple cores, non-blocking I/O, and many other features. + +WWW: https://cisco.github.io/ChezScheme Added: head/lang/chez-scheme/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/chez-scheme/pkg-plist Sun Nov 26 21:18:04 2017 (r454923) @@ -0,0 +1,38 @@ +bin/petite +bin/%%PORTNAME%% +bin/%%PORTNAME%%-script +%%CHEZ_LIBDIR%%/%%CHEZ_ARCH%%/petite.boot +%%CHEZ_LIBDIR%%/%%CHEZ_ARCH%%/%%PORTNAME%%-script.boot +%%CHEZ_LIBDIR%%/%%CHEZ_ARCH%%/%%PORTNAME%%.boot +%%CHEZ_LIBDIR%%/%%CHEZ_ARCH%%/scheme.boot +%%CHEZ_LIBDIR%%/%%CHEZ_ARCH%%/scheme.h +%%CHEZ_LIBDIR%%/examples/Makefile +%%CHEZ_LIBDIR%%/examples/compat.ss +%%CHEZ_LIBDIR%%/examples/crepl.c +%%CHEZ_LIBDIR%%/examples/csocket.c +%%CHEZ_LIBDIR%%/examples/def.ss +%%CHEZ_LIBDIR%%/examples/edit.ss +%%CHEZ_LIBDIR%%/examples/ez-grammar-test.ss +%%CHEZ_LIBDIR%%/examples/ez-grammar.ss +%%CHEZ_LIBDIR%%/examples/fact.ss +%%CHEZ_LIBDIR%%/examples/fatfib.ss +%%CHEZ_LIBDIR%%/examples/fft.ss +%%CHEZ_LIBDIR%%/examples/fib.ss +%%CHEZ_LIBDIR%%/examples/foreign.ss +%%CHEZ_LIBDIR%%/examples/freq.ss +%%CHEZ_LIBDIR%%/examples/interpret.ss +%%CHEZ_LIBDIR%%/examples/m4.ss +%%CHEZ_LIBDIR%%/examples/macro.ss +%%CHEZ_LIBDIR%%/examples/matrix.ss +%%CHEZ_LIBDIR%%/examples/object.ss +%%CHEZ_LIBDIR%%/examples/power.ss +%%CHEZ_LIBDIR%%/examples/queue.ss +%%CHEZ_LIBDIR%%/examples/rabbit.ss +%%CHEZ_LIBDIR%%/examples/rsa.ss +%%CHEZ_LIBDIR%%/examples/scons.ss +%%CHEZ_LIBDIR%%/examples/setof.ss +%%CHEZ_LIBDIR%%/examples/socket.ss +%%CHEZ_LIBDIR%%/examples/template.ss +%%CHEZ_LIBDIR%%/examples/unify.ss +man/man1/petite.1.gz +man/man1/%%PORTNAME%%.1.gz