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
37 lines
950 B
Makefile
37 lines
950 B
Makefile
# New ports collection makefile for: dojo-shrinksafe
|
|
# Date created: 2008-05-01
|
|
# Whom: Greg Larkin <glarkin@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= shrinksafe
|
|
PORTVERSION= 1.4.2
|
|
CATEGORIES= www java
|
|
MASTER_SITES= http://download.dojotoolkit.org/release-${PORTVERSION}/ \
|
|
LOCAL/glarkin
|
|
PKGNAMEPREFIX= dojo-
|
|
DISTNAME= ${PKGNAMEPREFIX}release-${PORTVERSION}-${PORTNAME}
|
|
|
|
MAINTAINER= glarkin@FreeBSD.org
|
|
COMMENT= A Javascript code compressor
|
|
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.5+
|
|
NO_BUILD= yes
|
|
|
|
PLIST_FILES= bin/${PKGNAMEPREFIX}${PORTNAME} %%DATADIR%%/shrinksafe.jar \
|
|
%%DATADIR%%/js.jar
|
|
PLIST_DIRS= %%DATADIR%%
|
|
SUB_FILES= ${PKGNAMEPREFIX}${PORTNAME}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
do-install:
|
|
@${INSTALL} -d ${DATADIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/shrinksafe.jar ${DATADIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/js.jar ${DATADIR}
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME} ${PREFIX}/bin
|
|
@${CAT} pkg-message
|
|
|
|
.include <bsd.port.post.mk>
|