aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorHerve Quiroz <hq@FreeBSD.org>2005-04-06 01:34:17 +0000
committerHerve Quiroz <hq@FreeBSD.org>2005-04-06 01:34:17 +0000
commit4d924d8c746c4eeffe365355cfaf47771e28731b (patch)
tree1ed17301cb6c3ba4a2e3f7d9d5965c2afaaa9c00 /lang
parent6fbecb173036fe736491417d93fe2fa47788eb55 (diff)
downloadports-4d924d8c746c4eeffe365355cfaf47771e28731b.tar.gz
ports-4d924d8c746c4eeffe365355cfaf47771e28731b.zip
- Update to 1.9.7 [1]
- Also install srfi-22 support scripts (standard ways of invoking interpreter) [1] - Fix substitution in launcher shell script - Add 'java' category [2] PR: 59577 [1] Submitted by: Sam Lawrance <boris@brooknet.com.au> [1] Reported by: portlint [2]
Notes
Notes: svn path=/head/; revision=132602
Diffstat (limited to 'lang')
-rw-r--r--lang/sisc/Makefile20
-rw-r--r--lang/sisc/distinfo4
-rw-r--r--lang/sisc/pkg-plist6
3 files changed, 21 insertions, 9 deletions
diff --git a/lang/sisc/Makefile b/lang/sisc/Makefile
index de9f9940dce0..344467b6b2c4 100644
--- a/lang/sisc/Makefile
+++ b/lang/sisc/Makefile
@@ -6,36 +6,42 @@
#
PORTNAME= sisc
-PORTVERSION= 1.8.8
-CATEGORIES= lang scheme
+PORTVERSION= 1.9.7
+CATEGORIES= lang scheme java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= ${PORTNAME}
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=\)java|\1"${LOCALBASE}/bin/java" ; export JAVA_VERSION="${JAVA_VERSION}"|' \
+ ${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>
diff --git a/lang/sisc/distinfo b/lang/sisc/distinfo
index 6d0668916692..ea6df5330d1f 100644
--- a/lang/sisc/distinfo
+++ b/lang/sisc/distinfo
@@ -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
diff --git a/lang/sisc/pkg-plist b/lang/sisc/pkg-plist
index 4b787d68df03..7d6b61daf844 100644
--- a/lang/sisc/pkg-plist
+++ b/lang/sisc/pkg-plist
@@ -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