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
47 lines
1.0 KiB
Makefile
47 lines
1.0 KiB
Makefile
# New ports collection makefile for: jin
|
|
# Date created: 2007-03-05
|
|
# Whom: Nicola Vitale <nivit@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= jin
|
|
PORTVERSION= 2.14.1
|
|
PORTREVISION= 2
|
|
CATEGORIES= games java
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-unix
|
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
|
COMMENT= A graphical client for chess servers
|
|
|
|
NO_BUILD= yes
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.5+
|
|
|
|
SUB_FILES= ${PORTNAME}
|
|
SUB_LIST= JINJAR=${JINJAR}
|
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
|
|
|
JINJAR= ${PORTNAME}.jar
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
FIND_DIRS= . -type d
|
|
FIND_DATA= . -type f
|
|
RM_FILES= ${PORTNAME} README changelog.txt gpl.txt
|
|
|
|
post-extract:
|
|
.for f in ${RM_FILES}
|
|
@${RM} ${WRKSRC}/${f}
|
|
.endfor
|
|
|
|
do-install:
|
|
@${MKDIR} ${DATADIR}
|
|
@cd ${WRKSRC} && ${FIND} ${FIND_DIRS} -exec ${MKDIR} ${DATADIR}/{} ";"
|
|
@cd ${WRKSRC} && ${FIND} ${FIND_DATA} -exec ${INSTALL_DATA} {} ${DATADIR}/{} ";"
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
|
|
|
|
.include <bsd.port.mk>
|