2006-02-14 14:09:59 +00:00
|
|
|
# New ports collection makefile for: ftjava
|
|
|
|
# Date created: 06FEB11
|
|
|
|
# Whom: peter.thoenen@yahoo.com
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ftjava
|
2007-12-14 23:19:56 +00:00
|
|
|
PORTVERSION= 1.3
|
2008-06-06 14:17:21 +00:00
|
|
|
PORTREVISION= 1
|
2006-02-14 14:09:59 +00:00
|
|
|
CATEGORIES= games java
|
|
|
|
MASTER_SITES= http://www.warpfish.com/davisje/:file1 \
|
|
|
|
http://home.nycap.rr.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= peter.thoenen@yahoo.com
|
|
|
|
COMMENT= Full Thrust PBEM Client
|
|
|
|
|
|
|
|
USE_JAVA= yes
|
|
|
|
JAVA_VERSION= 1.4+
|
|
|
|
USE_ZIP= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
|
|
|
IGNOREFILES= FTJava_Documentation.html faq.html FTJava_Linux.html
|
|
|
|
|
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
2007-10-23 14:10:58 +00:00
|
|
|
DATAFILES= Images IncomingGames OutgoingGames Ships FTJava.jar \
|
2006-02-14 14:09:59 +00:00
|
|
|
activation.jar imap.jar log4j-1.2.7.jar mail.jar \
|
2007-12-14 23:19:56 +00:00
|
|
|
mailapi.jar png.jar pop3.jar skeetutil.jar smtp.jar xerces.jar \
|
2006-02-14 14:09:59 +00:00
|
|
|
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" \
|
2006-05-16 20:53:27 +00:00
|
|
|
"ftjava" "Application;Game;BoardGame;StrategyGame;" \
|
2006-02-14 14:09:59 +00:00
|
|
|
false
|
|
|
|
|
|
|
|
do-install:
|
2007-10-23 14:10:58 +00:00
|
|
|
${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}
|
2006-02-14 14:09:59 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2007-10-23 14:10:58 +00:00
|
|
|
${MKDIR} ${DOCSDIR}
|
2006-02-14 14:09:59 +00:00
|
|
|
.for doc in ${PORTDOCS}
|
2007-10-23 14:10:58 +00:00
|
|
|
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${doc} ${DOCSDIR}
|
2006-02-14 14:09:59 +00:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|