aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-10-30 02:05:58 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-10-30 02:05:58 +0000
commit39336a4e994022e3af8609b5e8c2dca6e96d6ce6 (patch)
tree1ce20a6f2cc54060e0f35f99b09f5450d05f4fb6 /lang
parent781a19d35194ae8c124c59b2d264e45f54d8dd54 (diff)
downloadports-39336a4e994022e3af8609b5e8c2dca6e96d6ce6.tar.gz
ports-39336a4e994022e3af8609b5e8c2dca6e96d6ce6.zip
Notes
Diffstat (limited to 'lang')
-rw-r--r--lang/sisc/Makefile24
-rw-r--r--lang/sisc/distinfo2
-rw-r--r--lang/sisc/pkg-plist11
3 files changed, 17 insertions, 20 deletions
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 <bsd.port.mk>
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%%