1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/games/ftjava/Makefile
John Marino c86267438e games/ftjava: Unbreak by providing digests for all files
While here specify a licence.  Both actions require a revbump.

PR:		191694
Submitted by:	Fonz
2014-07-13 08:49:10 +00:00

54 lines
1.5 KiB
Makefile

# Created by: peter.thoenen@yahoo.com
# $FreeBSD$
PORTNAME= ftjava
PORTVERSION= 1.3
PORTREVISION= 3
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
LICENSE= BSD2CLAUSE
USES= zip
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
NO_WRKSUBDIR= yes
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>