aboutsummaryrefslogtreecommitdiff
path: root/games/plutocracy/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2008-12-30 22:58:00 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2008-12-30 22:58:00 +0000
commitde8dbef9eac36cfdc14e09ec82897c6cf06a3fd4 (patch)
treeeb620e67f81b13b14d564509022e4ff27db137ef /games/plutocracy/Makefile
parentf652dc86194007dcef163d1d080780adb053eb18 (diff)
downloadports-de8dbef9eac36cfdc14e09ec82897c6cf06a3fd4.tar.gz
ports-de8dbef9eac36cfdc14e09ec82897c6cf06a3fd4.zip
Notes
Diffstat (limited to 'games/plutocracy/Makefile')
-rw-r--r--games/plutocracy/Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/games/plutocracy/Makefile b/games/plutocracy/Makefile
new file mode 100644
index 000000000000..5f63497aad9c
--- /dev/null
+++ b/games/plutocracy/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: plutocracy
+# Date created: 29 Dec 2008
+# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= plutocracy
+PORTVERSION= 0.0.20081229
+CATEGORIES= games
+MASTER_SITES= http://mirror.amdmi3.ru/
+
+MAINTAINER= amdmi3@FreeBSD.org
+COMMENT= Multiplayer 3D economy/trade-based RTS
+
+USE_BZIP2= yes
+USE_SDL= sdl pango
+USE_GL= gl glu
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+INSTALLS_EGGINFO= yes
+PYDISTUTILS_PKGVERSION= 0.0
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+SUB_FILES= plutocracy_
+
+PORTDOCS= AUTHORS README
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|span font|span font_desc|' \
+ ${WRKSRC}/src/render/r_assets.c
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
+ ${WRKSRC}/setup.py
+
+post-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/pluto.py ${DATADIR}/
+ ${INSTALL_SCRIPT} ${WRKDIR}/plutocracy_ ${PREFIX}/bin/${PORTNAME}
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>