Plutocracy is a multiplayer 3D RTS game focusing on merchant trade

and domination by economic means, although warfare and piracy are
always an option. The game has a 1600s Caribbean theme, is played
on a real globe, and aims to replicate realistic economic transactions.

WWW: http://plutocracy.ca/
WWW: http://code.google.com/p/plutocracy/
This commit is contained in:
Dmitry Marakasov 2008-12-30 22:58:00 +00:00
parent f652dc8619
commit de8dbef9ea
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=225020
7 changed files with 256 additions and 0 deletions

View file

@ -616,6 +616,7 @@
SUBDIR += planeshift
SUBDIR += plee-the-bear
SUBDIR += plonx
SUBDIR += plutocracy
SUBDIR += pmars
SUBDIR += pmars-sdl
SUBDIR += poker-engine

46
games/plutocracy/Makefile Normal file
View file

@ -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>

View file

@ -0,0 +1,3 @@
MD5 (plutocracy-0.0.20081229.tar.bz2) = 80416ceb0eb207343665d7e5ca0cb586
SHA256 (plutocracy-0.0.20081229.tar.bz2) = f1cd75f5638667d03bf53006e67bd96106911bfd61897989a6d3e25822ca314b
SIZE (plutocracy-0.0.20081229.tar.bz2) = 7286689

View file

@ -0,0 +1,26 @@
--- setup.py.orig 2008-12-26 22:15:17.000000000 +0300
+++ setup.py 2008-12-29 04:03:48.000000000 +0300
@@ -33,17 +33,17 @@
api_extension = Extension("plutocracy.api", ["src/plutocracy-lib.c",
"src/plutocracy.c"] + plutocracy_src,
- include_dirs=[".", "/usr/include/SDL",
- "/usr/include/pango-1.0",
- "/usr/include/glib-2.0",
- "/usr/lib/glib-2.0/include"],
+ include_dirs=[".", "/usr/local/include/SDL",
+ "/usr/local/include/pango-1.0",
+ "/usr/local/include/glib-2.0",
+ "/usr/local/include"],
libraries = ['GL', 'GLU', 'z', 'png', "SDL_Pango",
- 'pango-1.0'],
+ 'pango-1.0', 'SDL'],
define_macros=[("_REENTRANT", None),
("PACKAGE", '"%s"' % "plutocracy"),
("PACKAGE_STRING", '"%s"' % PACKAGE_STRING),
("PKGDATADIR", '"%s"' % PKGDATADIR)],
- extra_link_args= ["-lSDL"],
+ extra_link_args= ["-L/usr/local/lib"],
depends = headers)
extensions.append( api_extension )

View file

@ -0,0 +1,10 @@
#!/usr/bin/env python
import sys
import os.path
#Change current work directory
os.chdir(os.path.join("%%DATADIR%%"))
#Launch the program!
execfile("pluto.py")

View file

@ -0,0 +1,7 @@
Plutocracy is a multiplayer 3D RTS game focusing on merchant trade
and domination by economic means, although warfare and piracy are
always an option. The game has a 1600s Caribbean theme, is played
on a real globe, and aims to replicate realistic economic transactions.
WWW: http://plutocracy.ca/
WWW: http://code.google.com/p/plutocracy/

163
games/plutocracy/pkg-plist Normal file
View file

@ -0,0 +1,163 @@
bin/plutocracy
%%PYTHON_SITELIBDIR%%/plutocracy/__init__.py
%%PYTHON_SITELIBDIR%%/plutocracy/__init__.pyc
%%PYTHON_SITELIBDIR%%/plutocracy/__init__.pyo
%%PYTHON_SITELIBDIR%%/plutocracy/api.so
%%PYTHON_SITELIBDIR%%/plutocracy/cargo.py
%%PYTHON_SITELIBDIR%%/plutocracy/cargo.pyc
%%PYTHON_SITELIBDIR%%/plutocracy/cargo.pyo
%%DATADIR%%/configs/names.cfg
%%DATADIR%%/gui/flags/blue.png
%%DATADIR%%/gui/flags/green.png
%%DATADIR%%/gui/flags/pirate.png
%%DATADIR%%/gui/flags/red.png
%%DATADIR%%/gui/fonts/BLKCHCRY.TTF
%%DATADIR%%/gui/fonts/BLKCHCRY.TXT
%%DATADIR%%/gui/fonts/DejaVuSans-Bold.ttf
%%DATADIR%%/gui/fonts/DejaVuSansMono-Bold.ttf
%%DATADIR%%/gui/fonts/LCD2U___.TTF
%%DATADIR%%/gui/fonts/LCD2U___.TXT
%%DATADIR%%/gui/fonts/SF_Archery_Black.ttf
%%DATADIR%%/gui/fonts/SF_Archery_Black.txt
%%DATADIR%%/gui/icons/arrow-left.png
%%DATADIR%%/gui/icons/arrow-right.png
%%DATADIR%%/gui/icons/buying.png
%%DATADIR%%/gui/icons/console.png
%%DATADIR%%/gui/icons/game.png
%%DATADIR%%/gui/icons/kick.png
%%DATADIR%%/gui/icons/nations.png
%%DATADIR%%/gui/icons/players.png
%%DATADIR%%/gui/icons/ring/board.png
%%DATADIR%%/gui/icons/ring/dock.png
%%DATADIR%%/gui/icons/ring/follow.png
%%DATADIR%%/gui/icons/ring/galleon.png
%%DATADIR%%/gui/icons/ring/mill.png
%%DATADIR%%/gui/icons/ring/none.png
%%DATADIR%%/gui/icons/ring/ship+.png
%%DATADIR%%/gui/icons/ring/ship.png
%%DATADIR%%/gui/icons/ring/spider.png
%%DATADIR%%/gui/icons/ring/tree.png
%%DATADIR%%/gui/icons/ring/unknown.png
%%DATADIR%%/gui/icons/scrollback.png
%%DATADIR%%/gui/icons/selling.png
%%DATADIR%%/gui/icons/trade.png
%%DATADIR%%/gui/icons/video.png
%%DATADIR%%/gui/icons/zoom.png
%%DATADIR%%/gui/logo.png
%%DATADIR%%/gui/themes/default/button.png
%%DATADIR%%/gui/themes/default/button_active.png
%%DATADIR%%/gui/themes/default/button_hover.png
%%DATADIR%%/gui/themes/default/hanger.png
%%DATADIR%%/gui/themes/default/popup.png
%%DATADIR%%/gui/themes/default/ring.png
%%DATADIR%%/gui/themes/default/round_active.png
%%DATADIR%%/gui/themes/default/round_hover.png
%%DATADIR%%/gui/themes/default/select_hover.png
%%DATADIR%%/gui/themes/default/select_off.png
%%DATADIR%%/gui/themes/default/select_on.png
%%DATADIR%%/gui/themes/default/sep_horizontal.png
%%DATADIR%%/gui/themes/default/sep_vertical.png
%%DATADIR%%/gui/themes/default/square_active.png
%%DATADIR%%/gui/themes/default/square_hover.png
%%DATADIR%%/gui/themes/default/theme.cfg
%%DATADIR%%/gui/themes/default/window.png
%%DATADIR%%/gui/themes/default/work_area.png
%%DATADIR%%/gui/themes/test/theme.cfg
%%DATADIR%%/gui/themes/test/window.png
%%DATADIR%%/lang/fr
%%DATADIR%%/models/field/README
%%DATADIR%%/models/gib/README
%%DATADIR%%/models/gib/crates.plum.gz
%%DATADIR%%/models/gib/crates.png
%%DATADIR%%/models/globe/README
%%DATADIR%%/models/globe/blend_mask.png
%%DATADIR%%/models/globe/border.png
%%DATADIR%%/models/globe/dashed_border.png
%%DATADIR%%/models/globe/select_arrow.png
%%DATADIR%%/models/globe/select_dot.png
%%DATADIR%%/models/globe/select_goto.png
%%DATADIR%%/models/globe/select_tile.png
%%DATADIR%%/models/globe/terrain.png
%%DATADIR%%/models/globe/terrain_full.png
%%DATADIR%%/models/globe/trans_mask.png
%%DATADIR%%/models/guildhall/README
%%DATADIR%%/models/litter/README
%%DATADIR%%/models/litter/rock.plum.gz
%%DATADIR%%/models/litter/rock.png
%%DATADIR%%/models/mill/README
%%DATADIR%%/models/mine/README
%%DATADIR%%/models/ship/README
%%DATADIR%%/models/ship/board.png
%%DATADIR%%/models/ship/galleon.plum.gz
%%DATADIR%%/models/ship/galleon.png
%%DATADIR%%/models/ship/sloop.plum.gz
%%DATADIR%%/models/ship/sloop.png
%%DATADIR%%/models/ship/spider.plum.gz
%%DATADIR%%/models/ship/spider.png
%%DATADIR%%/models/ship/status_bars.png
%%DATADIR%%/models/ship/status_circle.png
%%DATADIR%%/models/ship/status_other.png
%%DATADIR%%/models/ship/status_select.png
%%DATADIR%%/models/solar/README
%%DATADIR%%/models/solar/moon.png
%%DATADIR%%/models/solar/sky.plum.gz
%%DATADIR%%/models/solar/sky.png
%%DATADIR%%/models/solar/sun.png
%%DATADIR%%/models/special/README
%%DATADIR%%/models/statue/README
%%DATADIR%%/models/terrain/README
%%DATADIR%%/models/test/README
%%DATADIR%%/models/test/check_gp.png
%%DATADIR%%/models/test/check_rb.png
%%DATADIR%%/models/test/check_trans.png
%%DATADIR%%/models/test/checkers.png
%%DATADIR%%/models/test/cube.plum
%%DATADIR%%/models/test/cube_sphere.plum.gz
%%DATADIR%%/models/test/granger.plum
%%DATADIR%%/models/test/granger.plum.gz
%%DATADIR%%/models/test/granger.png
%%DATADIR%%/models/test/lag_100000.plum.gz
%%DATADIR%%/models/test/mill.plum
%%DATADIR%%/models/test/rock1.plum
%%DATADIR%%/models/test/rock1.png
%%DATADIR%%/models/test/tile_bounds.plum.gz
%%DATADIR%%/models/test/trans_stack.plum
%%DATADIR%%/models/test/tree.plum
%%DATADIR%%/models/test/tree2.png
%%DATADIR%%/models/tree/README
%%DATADIR%%/models/tree/deciduous.plum.gz
%%DATADIR%%/models/tree/deciduous.png
%%DATADIR%%/models/water/README
%%DATADIR%%/models/water/dock.plum.gz
%%DATADIR%%/models/water/dock.png
%%DATADIR%%/models/workshop/README
%%DATADIR%%/pluto.py
@dirrm %%DATADIR%%/models/workshop
@dirrm %%DATADIR%%/models/water
@dirrm %%DATADIR%%/models/tree
@dirrm %%DATADIR%%/models/test
@dirrm %%DATADIR%%/models/terrain
@dirrm %%DATADIR%%/models/statue
@dirrm %%DATADIR%%/models/special
@dirrm %%DATADIR%%/models/solar
@dirrm %%DATADIR%%/models/ship
@dirrm %%DATADIR%%/models/mine
@dirrm %%DATADIR%%/models/mill
@dirrm %%DATADIR%%/models/litter
@dirrm %%DATADIR%%/models/guildhall
@dirrm %%DATADIR%%/models/globe
@dirrm %%DATADIR%%/models/gib
@dirrm %%DATADIR%%/models/field
@dirrm %%DATADIR%%/models
@dirrm %%DATADIR%%/lang
@dirrm %%DATADIR%%/gui/themes/test
@dirrm %%DATADIR%%/gui/themes/default
@dirrm %%DATADIR%%/gui/themes
@dirrm %%DATADIR%%/gui/icons/ring
@dirrm %%DATADIR%%/gui/icons
@dirrm %%DATADIR%%/gui/fonts
@dirrm %%DATADIR%%/gui/flags
@dirrm %%DATADIR%%/gui
@dirrm %%DATADIR%%/configs
@dirrm %%DATADIR%%
@dirrm %%PYTHON_SITELIBDIR%%/plutocracy