Date: Mon, 6 Apr 2009 19:24:13 GMT From: Vitaly Magerya <vmagerya@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/133437: [new port] lang/petite-chez: free interpreter for Chez Scheme system Message-ID: <200904061924.n36JODYI066059@www.freebsd.org> Resent-Message-ID: <200904061930.n36JU1AG040982@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 133437 >Category: ports >Synopsis: [new port] lang/petite-chez: free interpreter for Chez Scheme system >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Apr 06 19:30:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Vitaly Magerya >Release: FreeBSD 7.1-STABLE i386 >Organization: >Environment: FreeBSD landmine.tx97.net 7.1-STABLE FreeBSD 7.1-STABLE #0: Sat Mar 14 15:26:28 EET 2009 root@landmine.tx97.net:/usr/obj/usr/src/sys/T40_SC i386 >Description: Petite Chez is an interpreted counterpart for the commercial Chez Scheme compiler, which is one of the oldest and most respected implementations around. WWW: http://www.scheme.com/petitechezscheme.html Also note that the port does not allow creating packages, since I haven't yet figured out how to show license in pkg-install without bundling the whole license text with the port. (The license [1] states that user must agree to it's terms before installation.) [1] http://scheme.com/download/petite-lic.html >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # petite-chez # petite-chez/pkg-descr # petite-chez/Makefile # petite-chez/distinfo # petite-chez/pkg-plist # petite-chez/files # petite-chez/files/license.sh # echo c - petite-chez mkdir -p petite-chez > /dev/null 2>&1 echo x - petite-chez/pkg-descr sed 's/^X//' >petite-chez/pkg-descr << '9cbe34c9f43014975be6a7f03c91f1de' XPetite Chez Scheme is a complete Scheme system that is fully compatible Xwith Chez Scheme but uses high-speed threaded interpreter technology in Xplace of Chez Scheme's incremental native-code compiler. Programs written Xfor Chez Scheme run unchanged in Petite Chez Scheme, as long as they do Xnot depend specifically on the compiler. In fact, Petite Chez Scheme is Xbuilt from the same sources as Chez Scheme, with all but the compiler Xsources included. X XPetite Chez Scheme was conceived as a freely distributable run-time Xenvironment for compiled Chez Scheme applications. To serve this purpose, Xit needed to have a complete run-time environment, including, for many Xapplications, a working evaluator. The result is a system that is useful Xnot only to our customers for the applications they distribute, but also Xto people who want to use a top-quality Scheme system and can't justify Xpurchasing Chez Scheme. X XWWW: http://www.scheme.com/petitechezscheme.html 9cbe34c9f43014975be6a7f03c91f1de echo x - petite-chez/Makefile sed 's/^X//' >petite-chez/Makefile << '8886a1bcbb5ec24f5e47f1f7dad31984' X# New ports collection makefile for: petite-chez X# Date created: 27 Mar 2009 X# Whom: Vitaly Magerya <vmagerya@gmail.com> X# X# $FreeBSD$ X# X XPORTNAME= petite-chez XPORTVERSION= 7.4 XCATEGORIES= lang scheme XMASTER_SITES= http://www.scheme.com/download/ XDISTNAME= pcsv${PORTVERSION}-${CHEZ_MACHTYPE} X XMAINTAINER= vmagerya@gmail.com XCOMMENT= Free interpreter for Chez Scheme system X XONLY_FOR_ARCHS= i386 X XIS_INTERACTIVE= yes XNO_PACKAGE= user must accept license terms before installation X X.if defined(WITH_THREADS) XCHEZ_MACHTYPE= ti3fb X.else XCHEZ_MACHTYPE= i3fb X.endif X XWRKSRC= ${WRKDIR}/csv${PORTVERSION}/custom XHAS_CONFIGURE= yes XCONFIGURE_ARGS= --installprefix=${PREFIX} \ X --installman=${MANPREFIX}/man \ X --force-relink \ X -m=${CHEZ_MACHTYPE} X XALL_TARGET= build X XMAN1= petite.1 X XPLIST_SUB= CHEZ_VERSION="${PORTVERSION}" \ X CHEZ_MACHTYPE="${CHEZ_MACHTYPE}" X X.if !defined(WITH_THREADS) Xpre-everything:: X @${ECHO_MSG} X @${ECHO_MSG} "You can install threaded version by defining WITH_THREADS" X @${ECHO_MSG} X.endif X Xpost-extract:: X @${SH} ${FILESDIR}/license.sh ${WRKDIR}/csv${PORTVERSION}/petite.lic X Xpost-configure:: X @${REINPLACE_CMD} -e 's|group=root|group=wheel|' \ X ${WRKSRC}/Mf-${CHEZ_MACHTYPE} X X.include <bsd.port.mk> 8886a1bcbb5ec24f5e47f1f7dad31984 echo x - petite-chez/distinfo sed 's/^X//' >petite-chez/distinfo << '1cff4d90fd9bc5275ee3a117dcab9669' XMD5 (pcsv7.4-i3fb.tar.gz) = 393e1af1d40d77f32468bfd72bb6a73a XSHA256 (pcsv7.4-i3fb.tar.gz) = 9e886fed0cd086b78ba9c3c520325a60f1b4073e4cc1a331b6def2fed92e883b XSIZE (pcsv7.4-i3fb.tar.gz) = 1033242 XMD5 (pcsv7.4-ti3fb.tar.gz) = 7805b359820fdc2e81b33c81158e33f0 XSHA256 (pcsv7.4-ti3fb.tar.gz) = 28764c017e025ee4ca3da177a0908e99f4cf39534d76a4b465bf01740c326ade XSIZE (pcsv7.4-ti3fb.tar.gz) = 1057879 1cff4d90fd9bc5275ee3a117dcab9669 echo x - petite-chez/pkg-plist sed 's/^X//' >petite-chez/pkg-plist << '06fadf1f0df3fb51fab4767691f79b06' Xbin/petite Xlib/csv%%CHEZ_VERSION%%/%%CHEZ_MACHTYPE%%/petite.boot Xlib/csv%%CHEZ_VERSION%%/%%CHEZ_MACHTYPE%%/scheme.h Xlib/csv%%CHEZ_VERSION%%/lib/Makefile Xlib/csv%%CHEZ_VERSION%%/lib/compat.ss Xlib/csv%%CHEZ_VERSION%%/lib/csocket.c Xlib/csv%%CHEZ_VERSION%%/lib/def.ss Xlib/csv%%CHEZ_VERSION%%/lib/edit.ss Xlib/csv%%CHEZ_VERSION%%/lib/fact.ss Xlib/csv%%CHEZ_VERSION%%/lib/fatfib.ss Xlib/csv%%CHEZ_VERSION%%/lib/fft.ss Xlib/csv%%CHEZ_VERSION%%/lib/fib.ss Xlib/csv%%CHEZ_VERSION%%/lib/foreign.ss Xlib/csv%%CHEZ_VERSION%%/lib/freq.ss Xlib/csv%%CHEZ_VERSION%%/lib/interpret.ss Xlib/csv%%CHEZ_VERSION%%/lib/m4.ss Xlib/csv%%CHEZ_VERSION%%/lib/macro.ss Xlib/csv%%CHEZ_VERSION%%/lib/matrix.ss Xlib/csv%%CHEZ_VERSION%%/lib/object.ss Xlib/csv%%CHEZ_VERSION%%/lib/power.ss Xlib/csv%%CHEZ_VERSION%%/lib/queue.ss Xlib/csv%%CHEZ_VERSION%%/lib/rabbit.ss Xlib/csv%%CHEZ_VERSION%%/lib/rsa.ss Xlib/csv%%CHEZ_VERSION%%/lib/scons.ss Xlib/csv%%CHEZ_VERSION%%/lib/setof.ss Xlib/csv%%CHEZ_VERSION%%/lib/socket.ss Xlib/csv%%CHEZ_VERSION%%/lib/unify.ss X@dirrm lib/csv%%CHEZ_VERSION%%/lib X@dirrm lib/csv%%CHEZ_VERSION%%/%%CHEZ_MACHTYPE%% X@dirrm lib/csv%%CHEZ_VERSION%% 06fadf1f0df3fb51fab4767691f79b06 echo c - petite-chez/files mkdir -p petite-chez/files > /dev/null 2>&1 echo x - petite-chez/files/license.sh sed 's/^X//' >petite-chez/files/license.sh << '7b90ef88af62b9d6bfb138a1001a63e5' X#!/bin/sh X X# License agreement X${PAGER:-/usr/bin/more} $1 X Xagreed= Xwhile [ x$agreed = x ]; do X echo X echo "Do you agree to the above license terms? [yes or no] " X read reply leftover X case $reply in X y* | Y*) X agreed=1 X ;; X n* | n*) X echo X echo "If you don't agree to the license you can't install this software" X exit 1 X ;; X esac Xdone 7b90ef88af62b9d6bfb138a1001a63e5 exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904061924.n36JODYI066059>