From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Apr 6 19:30:01 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D907A1065677 for ; Mon, 6 Apr 2009 19:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B3D948FC17 for ; Mon, 6 Apr 2009 19:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n36JU1Fb040983 for ; Mon, 6 Apr 2009 19:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n36JU1AG040982; Mon, 6 Apr 2009 19:30:01 GMT (envelope-from gnats) Resent-Date: Mon, 6 Apr 2009 19:30:01 GMT Resent-Message-Id: <200904061930.n36JU1AG040982@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Vitaly Magerya Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 311C61065705 for ; Mon, 6 Apr 2009 19:24:14 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 1E5298FC23 for ; Mon, 6 Apr 2009 19:24:14 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n36JODdH066062 for ; Mon, 6 Apr 2009 19:24:13 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n36JODYI066059; Mon, 6 Apr 2009 19:24:13 GMT (envelope-from nobody) Message-Id: <200904061924.n36JODYI066059@www.freebsd.org> Date: Mon, 6 Apr 2009 19:24:13 GMT From: Vitaly Magerya To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/133437: [new port] lang/petite-chez: free interpreter for Chez Scheme system X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Apr 2009 19:30:02 -0000 >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 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 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: