Date: Wed, 6 Apr 2005 09:36:58 +1000 (EST) From: Sam Lawrance <boris@brooknet.com.au> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/79577: [PATCH] lang/sisc: unbreak and update to 1.9.7 Message-ID: <20050405233658.8E12B700@localhost> Resent-Message-ID: <200504052340.j35Ne7JX082852@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 79577 >Category: ports >Synopsis: [PATCH] lang/sisc: unbreak and update to 1.9.7 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Apr 05 23:40:07 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Sam Lawrance >Release: FreeBSD 5.4-PRERELEASE i386 >Organization: >Environment: System: FreeBSD dirk.no.domain 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #11: Sun Mar 6 12:44:50 EST >Description: - Update to 1.9.7 - Also install srfi-22 support scripts (standard ways of invoking interpreter) Tested as much as a non-schemer can do... copy and paste a few functions from tutorials etc :) >How-To-Repeat: >Fix: --- sisc-1.9.7.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/FreeBSD/ports/lang/sisc/Makefile,v retrieving revision 1.12 diff -u -r1.12 Makefile --- Makefile 26 Mar 2005 07:05:09 -0000 1.12 +++ Makefile 5 Apr 2005 23:29:02 -0000 @@ -6,7 +6,7 @@ # PORTNAME= sisc -PORTVERSION= 1.8.8 +PORTVERSION= 1.9.7 CATEGORIES= lang scheme MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -14,28 +14,33 @@ MAINTAINER= ports@FreeBSD.org COMMENT= An extensible Java-based Scheme interpreter -BROKEN= Size mismatch - USE_JAVA= yes JAVA_VERSION= 1.3+ WRKSRC= ${WRKDIR}/${PORTNAME} USE_REINPLACE= yes NO_BUILD= yes -PORTDOCS= COPYING README *.html +PORTDOCS= COPYING README post-patch: ${REINPLACE_CMD} -e 's|\(SISC_HOME=\).*$$|\1${DATADIR}|' \ - -e "s| java | ${LOCALBASE}/bin/javavm |" ${WRKSRC}/sisc + -e "s| java | ${LOCALBASE}/bin/java |" ${WRKSRC}/sisc + ${REINPLACE_CMD} -e 's|#!/bin/bash|#!/bin/sh|' \ + ${WRKSRC}/scheme-src/srfi-22/srfi-22.sh do-install: ${INSTALL_SCRIPT} ${WRKSRC}/sisc ${PREFIX}/bin ${MKDIR} ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/*.jar ${WRKSRC}/*.shp ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/scheme-src/*.scm ${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/scheme-src/srfi-22/srfi-22.sh ${PREFIX}/bin +.for i in r4rs r5rs srfi-0 srfi-7 ieee-1178-1900 + ${LN} -sf ${PREFIX}/bin/srfi-22.sh ${PREFIX}/bin/scheme-${i} +.endfor + .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} - cd ${WRKSRC}; ${INSTALL_DATA} COPYING README doc/* ${DOCSDIR} + cd ${WRKSRC}; ${INSTALL_DATA} COPYING README ${DOCSDIR} .endif .include <bsd.port.mk> Index: distinfo =================================================================== RCS file: /home/ncvs/FreeBSD/ports/lang/sisc/distinfo,v retrieving revision 1.7 diff -u -r1.7 distinfo --- distinfo 13 Apr 2004 08:01:02 -0000 1.7 +++ distinfo 5 Apr 2005 11:48:04 -0000 @@ -1,2 +1,2 @@ -MD5 (sisc-1.8.8.tar.gz) = d5fc70f5ec4d15563ea15665881b0d6a -SIZE (sisc-1.8.8.tar.gz) = 669306 +MD5 (sisc-1.9.7.tar.gz) = 8ceff850f1c2fa640c7e07eaf574379b +SIZE (sisc-1.9.7.tar.gz) = 609248 Index: pkg-plist =================================================================== RCS file: /home/ncvs/FreeBSD/ports/lang/sisc/pkg-plist,v retrieving revision 1.3 diff -u -r1.3 pkg-plist --- pkg-plist 31 Jan 2004 08:47:19 -0000 1.3 +++ pkg-plist 5 Apr 2005 23:28:22 -0000 @@ -1,4 +1,10 @@ bin/sisc +bin/srfi-22.sh +bin/scheme-r4rs +bin/scheme-r5rs +bin/scheme-srfi-0 +bin/scheme-srfi-7 +bin/scheme-ieee-1178-1900 %%DATADIR%%/optional-args.scm %%DATADIR%%/sisc-lib.jar %%DATADIR%%/sisc-opt.jar --- sisc-1.9.7.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050405233658.8E12B700>