2003-04-04 22:52:05 +02:00
|
|
|
# New ports collection makefile for: SISC
|
|
|
|
# Date created: 18 March 2003
|
|
|
|
# Whom: Kimura Fuyuki <fuyuki@hadaly.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= sisc
|
2007-04-17 02:04:06 +02:00
|
|
|
PORTVERSION= 1.16.6
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 2
|
2005-04-06 03:34:17 +02:00
|
|
|
CATEGORIES= lang scheme java
|
2009-09-02 17:01:56 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/SISC/${PORTVERSION}
|
2003-04-04 22:52:05 +02:00
|
|
|
|
2007-06-29 18:29:19 +02:00
|
|
|
MAINTAINER= araujo@FreeBSD.org
|
2003-04-04 22:52:05 +02:00
|
|
|
COMMENT= An extensible Java-based Scheme interpreter
|
|
|
|
|
2004-04-13 10:01:02 +02:00
|
|
|
USE_JAVA= yes
|
|
|
|
JAVA_VERSION= 1.3+
|
2003-04-04 22:52:05 +02:00
|
|
|
|
2003-10-30 03:05:58 +01:00
|
|
|
NO_BUILD= yes
|
2005-04-06 03:34:17 +02:00
|
|
|
PORTDOCS= COPYING README
|
2003-04-04 22:52:05 +02:00
|
|
|
|
|
|
|
post-patch:
|
2003-10-30 03:05:58 +01:00
|
|
|
${REINPLACE_CMD} -e 's|\(SISC_HOME=\).*$$|\1${DATADIR}|' \
|
2005-04-06 03:34:17 +02:00
|
|
|
-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
|
2003-04-04 22:52:05 +02:00
|
|
|
|
|
|
|
do-install:
|
2003-10-30 03:05:58 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/sisc ${PREFIX}/bin
|
|
|
|
${MKDIR} ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.jar ${WRKSRC}/*.shp ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/scheme-src/*.scm ${DATADIR}
|
2005-04-06 03:34:17 +02:00
|
|
|
${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
|
|
|
|
|
2004-01-31 09:47:19 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2003-04-04 22:52:05 +02:00
|
|
|
${MKDIR} ${DOCSDIR}
|
2005-04-06 03:34:17 +02:00
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} COPYING README ${DOCSDIR}
|
2004-01-31 09:47:19 +01:00
|
|
|
.endif
|
2003-04-04 22:52:05 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|