1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/games/ftjava/Makefile
Baptiste Daroussin 4a4ec28d37 Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)

bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore

Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier

With hat:	portmgr
2014-05-05 09:45:36 +00:00

54 lines
1.6 KiB
Makefile

# Created by: peter.thoenen@yahoo.com
# $FreeBSD$
PORTNAME= ftjava
PORTVERSION= 1.3
PORTREVISION= 2
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
USES= zip
USE_JAVA= yes
JAVA_VERSION= 1.6+
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
PORTDOCS= FTJava_Linux.html faq.html FTJava_Documentation.html
SUB_FILES= ftjava.sh
DESKTOP_ENTRIES= "FTJava" "A PBEM client for Full Thrust" \
"${DATADIR}/Images/FTJava.ico" \
"ftjava" "Game;BoardGame;StrategyGame;" \
false
OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC} && ${FIND} ${DATAFILES} -type d -exec ${MKDIR} ${STAGEDIR}${DATADIR}/{} ";"
cd ${WRKSRC} && ${FIND} ${DATAFILES} -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DATADIR}/{} ";"
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME:tl}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>