aboutsummaryrefslogtreecommitdiff
path: root/lang/sisc/Makefile
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-04-04 20:52:05 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-04-04 20:52:05 +0000
commit6b211efd98a6118693474f6f86633a80d1e84327 (patch)
tree7cfbf471b9701e098441f6cb74e69cef28dc90cf /lang/sisc/Makefile
parentc37c3b3ee638b01d4115c9b3881049900b2da4b8 (diff)
downloadports-6b211efd98a6118693474f6f86633a80d1e84327.tar.gz
ports-6b211efd98a6118693474f6f86633a80d1e84327.zip
Notes
Diffstat (limited to 'lang/sisc/Makefile')
-rw-r--r--lang/sisc/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/lang/sisc/Makefile b/lang/sisc/Makefile
new file mode 100644
index 000000000000..316029ea92c6
--- /dev/null
+++ b/lang/sisc/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: SISC
+# Date created: 18 March 2003
+# Whom: Kimura Fuyuki <fuyuki@hadaly.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= sisc
+PORTVERSION= 1.7.7
+CATEGORIES= lang
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+EXTRACT_SUFX= .jar
+
+MAINTAINER= fuyuki@hadaly.org
+COMMENT= An extensible Java-based Scheme interpreter
+
+BUILD_DEPENDS= ant:${PORTSDIR}/devel/jakarta-ant
+
+USE_JAVA= 1.2+
+
+EXTRACT_CMD= ${JAR}
+EXTRACT_BEFORE_ARGS= -xf
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+USE_REINPLACE= 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
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/*.jar ${WRKSRC}/boot/*.shp ${JAVAJARDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/dist/sisc.sh ${PREFIX}/bin/sisc
+ ${MKDIR} ${DOCSDIR}
+.for i in COPYING README
+ ${INSTALL_DATA} ${WRKSRC}/dist/${i} ${DOCSDIR}
+.endfor
+
+.include <bsd.port.mk>