From 463876f665f25f8b09772cc20f37a02a057ef733 Mon Sep 17 00:00:00 2001 From: nork Date: Thu, 30 Oct 2003 02:05:58 +0000 Subject: o Update to 1.8.5. o Patch updated mostly to prepare for later use of SLIB. PR: ports/58550 Submitted by: Kimura Fuyuki --- lang/sisc/Makefile | 24 +++++++++--------------- lang/sisc/distinfo | 2 +- lang/sisc/pkg-plist | 11 +++++++---- 3 files changed, 17 insertions(+), 20 deletions(-) (limited to 'lang/sisc') diff --git a/lang/sisc/Makefile b/lang/sisc/Makefile index a76b1dfc881c..920fc0790f3f 100644 --- a/lang/sisc/Makefile +++ b/lang/sisc/Makefile @@ -6,38 +6,32 @@ # PORTNAME= sisc -PORTVERSION= 1.7.9 +PORTVERSION= 1.8.5 CATEGORIES= lang scheme MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} -EXTRACT_SUFX= .jar MAINTAINER= ports@FreeBSD.org COMMENT= An extensible Java-based Scheme interpreter -BUILD_DEPENDS= ant:${PORTSDIR}/devel/apache-ant - USE_JAVA= 1.3+ -EXTRACT_CMD= ${JAR} -EXTRACT_BEFORE_ARGS= -xf - WRKSRC= ${WRKDIR}/${PORTNAME} USE_REINPLACE= yes +NO_BUILD= yes post-patch: - ${REINPLACE_CMD} -e 's|\(SISC_HOME=\).*$$|\1${JAVAJARDIR}|' \ - -e 's|^java|javavm|' ${WRKSRC}/dist/sisc.sh - -do-build: - cd ${WRKSRC}; ${SETENV} JAVA_HOME=${JAVA_HOME} ant sisc-lib + ${REINPLACE_CMD} -e 's|\(SISC_HOME=\).*$$|\1${DATADIR}|' \ + -e 's|^$$RLWRAP java|$$RLWRAP javavm|' ${WRKSRC}/sisc do-install: - ${INSTALL_DATA} ${WRKSRC}/*.jar ${WRKSRC}/*.shp ${JAVAJARDIR} - ${INSTALL_SCRIPT} ${WRKSRC}/dist/sisc.sh ${PREFIX}/bin/sisc + ${INSTALL_SCRIPT} ${WRKSRC}/sisc ${PREFIX}/bin + ${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/*.jar ${WRKSRC}/*.shp ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/scheme-src/*.scm ${DATADIR} ${MKDIR} ${DOCSDIR} .for i in COPYING README - ${INSTALL_DATA} ${WRKSRC}/dist/${i} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} .endfor .include diff --git a/lang/sisc/distinfo b/lang/sisc/distinfo index 498e0e58cffb..02965caf11d3 100644 --- a/lang/sisc/distinfo +++ b/lang/sisc/distinfo @@ -1 +1 @@ -MD5 (sisc-1.7.9.jar) = 5c6aa63986420aebc1e2692247587876 +MD5 (sisc-1.8.5.tar.gz) = fd25d282df7484f19ff1a6ccc7bbb216 diff --git a/lang/sisc/pkg-plist b/lang/sisc/pkg-plist index d767d317d413..c25816108685 100644 --- a/lang/sisc/pkg-plist +++ b/lang/sisc/pkg-plist @@ -1,8 +1,11 @@ bin/sisc -share/java/classes/sisc-lib.jar -share/java/classes/sisc-opt.jar -share/java/classes/sisc.jar -share/java/classes/sisc.shp +%%DATADIR%%/optional-args.scm +%%DATADIR%%/sisc-lib.jar +%%DATADIR%%/sisc-opt.jar +%%DATADIR%%/sisc.jar +%%DATADIR%%/sisc.shp +%%DATADIR%%/slib.scm +@dirrm %%DATADIR%% %%DOCSDIR%%/COPYING %%DOCSDIR%%/README @dirrm %%DOCSDIR%% -- cgit