mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +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
59 lines
1.7 KiB
Makefile
59 lines
1.7 KiB
Makefile
# New ports collection makefile for: ftjava
|
|
# Date created: 06FEB11
|
|
# Whom: peter.thoenen@yahoo.com
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ftjava
|
|
PORTVERSION= 1.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= games java
|
|
MASTER_SITES= http://www.warpfish.com/davisje/:file1 \
|
|
http://home.roadrunner.com/~davisje/ftjava/:doc1
|
|
DISTFILES= FTJavaV${PORTVERSION}.zip:file1 \
|
|
FTJava_Documentation.html:doc1 faq.html:doc1 FTJava_Linux.html:doc1
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
EXTRACT_ONLY= FTJavaV${PORTVERSION}.zip
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Full Thrust PBEM Client
|
|
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.5+
|
|
USE_ZIP= yes
|
|
NO_BUILD= yes
|
|
NO_WRKSUBDIR= yes
|
|
|
|
IGNOREFILES= FTJava_Documentation.html faq.html FTJava_Linux.html
|
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
|
DATAFILES= Images IncomingGames OutgoingGames Ships FTJava.jar \
|
|
activation.jar imap.jar log4j-1.2.7.jar mail.jar \
|
|
mailapi.jar png.jar pop3.jar skeetutil.jar smtp.jar xerces.jar \
|
|
xercesImpl.jar xmlParserAPIs.jar
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
PORTDOCS= FTJava_Linux.html faq.html FTJava_Documentation.html
|
|
.endif
|
|
|
|
SUB_FILES= ftjava.sh
|
|
|
|
DESKTOP_ENTRIES= "FTJava" "A PBEM client for Full Thrust" \
|
|
"${DATADIR}/Images/FTJava.ico" \
|
|
"ftjava" "Application;Game;BoardGame;StrategyGame;" \
|
|
false
|
|
|
|
do-install:
|
|
${MKDIR} ${DATADIR}
|
|
cd ${WRKSRC} && ${FIND} ${DATAFILES} -type d -exec ${MKDIR} ${DATADIR}/{} ";"
|
|
cd ${WRKSRC} && ${FIND} ${DATAFILES} -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} ";"
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME:L}
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for doc in ${PORTDOCS}
|
|
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${doc} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|