aboutsummaryrefslogtreecommitdiffstats
path: root/lang/sisc
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2003-10-30 10:05:58 +0800
committernork <nork@FreeBSD.org>2003-10-30 10:05:58 +0800
commit463876f665f25f8b09772cc20f37a02a057ef733 (patch)
treeafba95ebfa7cce347f9146b1386d43fc5fd2508d /lang/sisc
parent156fb91637b8e9e402cc15ee1f796d0a4227aa42 (diff)
downloadfreebsd-ports-gnome-463876f665f25f8b09772cc20f37a02a057ef733.tar.gz
freebsd-ports-gnome-463876f665f25f8b09772cc20f37a02a057ef733.tar.zst
freebsd-ports-gnome-463876f665f25f8b09772cc20f37a02a057ef733.zip
o Update to 1.8.5.
o Patch updated mostly to prepare for later use of SLIB. PR: ports/58550 Submitted by: Kimura Fuyuki <fuyuki@nigredo.org>
Diffstat (limited to 'lang/sisc')
-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%%