forked from Lainports/freebsd-ports
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
36 lines
817 B
Makefile
36 lines
817 B
Makefile
# New ports collection makefile for: htmlcompressor
|
|
# Date created: 20 Nov 2010
|
|
# Whom: Sergey Skvortsov <skv@protey.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= htmlcompressor
|
|
PORTVERSION= 0.9.4
|
|
CATEGORIES= www java
|
|
MASTER_SITES= GOOGLE_CODE
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
|
|
|
MAINTAINER= skv@FreeBSD.org
|
|
COMMENT= HTML/XML Compressor
|
|
|
|
LICENSE= ASL
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
USE_ZIP= yes
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.5+
|
|
NO_BUILD= yes
|
|
|
|
PLIST_FILES= bin/htmlcompressor %%DATADIR%%/htmlcompressor.jar
|
|
PLIST_DIRS= %%DATADIR%%
|
|
SUB_FILES= htmlcompressor
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
do-install:
|
|
@${MKDIR} ${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/build/htmlcompressor-${PORTVERSION}.jar ${DATADIR}/htmlcompressor.jar
|
|
${INSTALL_SCRIPT} ${WRKDIR}/htmlcompressor ${PREFIX}/bin
|
|
|
|
.include <bsd.port.post.mk>
|