diff options
author | hq <hq@FreeBSD.org> | 2005-04-06 09:34:17 +0800 |
---|---|---|
committer | hq <hq@FreeBSD.org> | 2005-04-06 09:34:17 +0800 |
commit | f789c8b62ab1091273bb11428d225dde9caa4b8f (patch) | |
tree | 6680f56311a56556aef402400a3f81b78487869b /lang/sisc/Makefile | |
parent | 93dcf0206abac6808584519efc2c95ed3433915f (diff) | |
download | freebsd-ports-graphics-f789c8b62ab1091273bb11428d225dde9caa4b8f.tar.gz freebsd-ports-graphics-f789c8b62ab1091273bb11428d225dde9caa4b8f.tar.zst freebsd-ports-graphics-f789c8b62ab1091273bb11428d225dde9caa4b8f.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]
Diffstat (limited to 'lang/sisc/Makefile')
-rw-r--r-- | lang/sisc/Makefile | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/lang/sisc/Makefile b/lang/sisc/Makefile index de9f9940dce..344467b6b2c 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> |