mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
06e6677793
remove support for them from bsd.java.mk. As Jikes is not available in Java 1.5 or higher, remove it from bsd.java.mk too (suggested by hq@) and from the ports which used it (only occurences were USE_JIKES=no). Support for the Blackdown VM is also removed, as it is not available in Java 1.5 and higher. Also remove the mapping from Java 1.1-1.4 to Java 1.5+ in bsd.java.mk to detect old, broken ports; therefore bump the minimal value of JAVA_VERSION to 1.5. While here, replace static values of JAVA_VERSION in files/*.in by %%JAVA_VERSION%% . PR: ports/158969 Submitted by: rene Tested on: pointyhat-west -exp
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
# New ports collection makefile for: SISC
|
|
# Date created: 18 March 2003
|
|
# Whom: Kimura Fuyuki <fuyuki@hadaly.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= sisc
|
|
PORTVERSION= 1.16.6
|
|
PORTREVISION= 2
|
|
CATEGORIES= lang scheme java
|
|
MASTER_SITES= SF/${PORTNAME}/SISC/${PORTVERSION}
|
|
|
|
MAINTAINER= araujo@FreeBSD.org
|
|
COMMENT= An extensible Java-based Scheme interpreter
|
|
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.5+
|
|
|
|
NO_BUILD= yes
|
|
PORTDOCS= COPYING README
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|\(SISC_HOME=\).*$$|\1${DATADIR}|' \
|
|
-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
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/sisc ${PREFIX}/bin
|
|
${MKDIR} ${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/*.jar ${WRKSRC}/*.shp ${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/scheme-src/*.scm ${DATADIR}
|
|
${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
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC}; ${INSTALL_DATA} COPYING README ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|