summaryrefslogtreecommitdiff
path: root/games/freecol/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/freecol/Makefile')
-rw-r--r--games/freecol/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/games/freecol/Makefile b/games/freecol/Makefile
new file mode 100644
index 000000000000..9aa36ae4c981
--- /dev/null
+++ b/games/freecol/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: freecol
+# Date created: 31 March 2007
+# Whom: Alex Dupre <ale@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= freecol
+PORTVERSION= 0.5.3
+CATEGORIES= games java
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ale@FreeBSD.org
+COMMENT= An open source version of Colonization
+
+NO_BUILD= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}
+USE_JAVA= yes
+JAVA_VERSION= 1.5+
+
+post-extract:
+ @${RMDIR} ${WRKSRC}/data/fonts/CloisterBlack \
+ ${WRKSRC}/data/fonts/Plakat\ Fraktur
+
+post-patch:
+ @${REINPLACE_CMD} 's|%%DATADIR%%|${DATADIR}|g' \
+ ${WRKSRC}/freecol
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/freecol ${PREFIX}/bin/
+ @${MKDIR} ${DATADIR}
+ @${INSTALL_DATA} ${WRKSRC}/FreeCol.jar ${DATADIR}/
+ @(cd ${WRKSRC} && ${COPYTREE_SHARE} data ${DATADIR}/)
+ @(cd ${WRKSRC} && ${COPYTREE_SHARE} jars ${DATADIR}/)
+
+.include <bsd.port.mk>