diff options
author | pawel <pawel@FreeBSD.org> | 2012-11-21 06:05:22 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2012-11-21 06:05:22 +0800 |
commit | d232e59cff48449fd92746b4ecb6b803b7f23fdc (patch) | |
tree | 1aade37eb044e25b488dd15eefa7eac5605b7bec /games | |
parent | 8efa81f0a06baaf9c4872622f1053118ff88d64a (diff) | |
download | freebsd-ports-gnome-d232e59cff48449fd92746b4ecb6b803b7f23fdc.tar.gz freebsd-ports-gnome-d232e59cff48449fd92746b4ecb6b803b7f23fdc.tar.zst freebsd-ports-gnome-d232e59cff48449fd92746b4ecb6b803b7f23fdc.zip |
Capitalism is a Client for the Monopd server.
You can play Monopoly like games with it.
WWW: http://www.linux-ecke.de/Capitalism/
PR: ports/173365
Submitted by: nemysis@gmx.ch
Feature safe: yes
Diffstat (limited to 'games')
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/capitalism/Makefile | 70 | ||||
-rw-r--r-- | games/capitalism/distinfo | 2 | ||||
-rw-r--r-- | games/capitalism/pkg-descr | 4 | ||||
-rw-r--r-- | games/capitalism/pkg-plist | 112 |
5 files changed, 189 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index ab934b971c38..ca447676282e 100644 --- a/games/Makefile +++ b/games/Makefile @@ -118,6 +118,7 @@ SUBDIR += bzflag SUBDIR += cake SUBDIR += caph + SUBDIR += capitalism SUBDIR += cardpics SUBDIR += castlevox SUBDIR += cave9 diff --git a/games/capitalism/Makefile b/games/capitalism/Makefile new file mode 100644 index 000000000000..8b9ad95fe49e --- /dev/null +++ b/games/capitalism/Makefile @@ -0,0 +1,70 @@ +# Created by: nemysis@gmx.ch +# $FreeBSD$ + +PORTNAME= capitalism +PORTVERSION= 0.5.1 +CATEGORIES= games +MASTER_SITES= http://www.linux-ecke.de/Capitalism/packages/0.5/ +DISTNAME= ${PORTNAME}_${DISTVERSION} +EXTRACT_SUFX= .tbz + +MAINTAINER= nemysis@gmx.ch +COMMENT= Qt client for the Monopd server + +LICENSE= GPLv2 + +LIB_DEPENDS= pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \ + pcre:${PORTSDIR}/devel/pcre \ + png15:${PORTSDIR}/graphics/png \ + freetype:${PORTSDIR}/print/freetype2 \ + expat:${PORTSDIR}/textproc/expat2 \ + fontconfig:${PORTSDIR}/x11-fonts/fontconfig \ + xcb:${PORTSDIR}/x11/libxcb + +USE_GETTEXT= yes +USE_ICONV= yes +USE_XORG= ice sm x11 xau xdmcp xext xrender +USE_QT4= moc_build qmake_build rcc_build uic_build iconengines imageformats \ + corelib gui network script xml +INSTALLS_ICONS= yes +MAKE_JOBS_SAFE= yes + +PORTDOCS= README changelog + +WRKSRC= ${WRKDIR}/Capitalism_${PORTVERSION} +ICON_SIZES= 16x16 22x22 24x24 32x32 48x48 64x64 + +DESKTOP_ENTRIES="Capitalism" "${COMMENT}" "${PORTNAME}" \ + "${PORTNAME}" "Game;BoardGame;" ${FALSE} + +.include <bsd.port.options.mk> + +do-configure: + @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ + ${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX} + +post-configure: + @${REINPLACE_CMD} 's|-O2 -Wall -W||g' ${WRKSRC}/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/Capitalism ${PREFIX}/bin/${PORTNAME} + +.for d in games images ts + @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${DATADIR}) +.endfor + +post-install: +.for s in ${ICON_SIZES} + ${MKDIR} ${PREFIX}/share/icons/hicolor/${s}/apps + ${INSTALL_DATA} ${WRKSRC}/icons/${s}.png \ + ${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png +.endfor + ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ + ${PREFIX}/share/pixmaps + +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/games/capitalism/distinfo b/games/capitalism/distinfo new file mode 100644 index 000000000000..2415edd08c56 --- /dev/null +++ b/games/capitalism/distinfo @@ -0,0 +1,2 @@ +SHA256 (capitalism_0.5.1.tbz) = 049baf35bf90bab35f06fe0963969362375b1d8a78efe70514f0527cfe725119 +SIZE (capitalism_0.5.1.tbz) = 343927 diff --git a/games/capitalism/pkg-descr b/games/capitalism/pkg-descr new file mode 100644 index 000000000000..ff96861038fd --- /dev/null +++ b/games/capitalism/pkg-descr @@ -0,0 +1,4 @@ +Capitalism is a Client for the Monopd server. +You can play Monopoly like games with it. + +WWW: http://www.linux-ecke.de/Capitalism/ diff --git a/games/capitalism/pkg-plist b/games/capitalism/pkg-plist new file mode 100644 index 000000000000..46086ecc0a2c --- /dev/null +++ b/games/capitalism/pkg-plist @@ -0,0 +1,112 @@ +bin/capitalism +%%DATADIR%%/games/MyMonopoly.xml +%%DATADIR%%/games/atlantic.xml +%%DATADIR%%/games/city.xml +%%DATADIR%%/images/avatars/badge.png +%%DATADIR%%/images/avatars/beachball.png +%%DATADIR%%/images/avatars/bell.png +%%DATADIR%%/images/avatars/bomb.png +%%DATADIR%%/images/avatars/cat.png +%%DATADIR%%/images/avatars/cookie.png +%%DATADIR%%/images/avatars/cube.png +%%DATADIR%%/images/avatars/eyeball.png +%%DATADIR%%/images/avatars/flag.png +%%DATADIR%%/images/avatars/ghost.png +%%DATADIR%%/images/avatars/globe.png +%%DATADIR%%/images/avatars/hamburger.png +%%DATADIR%%/images/avatars/lips.png +%%DATADIR%%/images/avatars/none.png +%%DATADIR%%/images/avatars/puzzle.png +%%DATADIR%%/images/avatars/pyramid.png +%%DATADIR%%/images/avatars/skull.png +%%DATADIR%%/images/avatars/spectating.png +%%DATADIR%%/images/avatars/traffic_light.png +%%DATADIR%%/images/avatars/wizard.png +%%DATADIR%%/images/field/document.png +%%DATADIR%%/images/field/dollar.png +%%DATADIR%%/images/field/jailed.png +%%DATADIR%%/images/field/qmark-red.png +%%DATADIR%%/images/menu/config.png +%%DATADIR%%/images/smilies/icon_arrow.gif +%%DATADIR%%/images/smilies/icon_biggrin.gif +%%DATADIR%%/images/smilies/icon_confused.gif +%%DATADIR%%/images/smilies/icon_cool.gif +%%DATADIR%%/images/smilies/icon_cry.gif +%%DATADIR%%/images/smilies/icon_eek.gif +%%DATADIR%%/images/smilies/icon_evil.gif +%%DATADIR%%/images/smilies/icon_exclaim.gif +%%DATADIR%%/images/smilies/icon_frown.gif +%%DATADIR%%/images/smilies/icon_idea.gif +%%DATADIR%%/images/smilies/icon_lol.gif +%%DATADIR%%/images/smilies/icon_mad.gif +%%DATADIR%%/images/smilies/icon_mrgreen.gif +%%DATADIR%%/images/smilies/icon_neutral.gif +%%DATADIR%%/images/smilies/icon_question.gif +%%DATADIR%%/images/smilies/icon_razz.gif +%%DATADIR%%/images/smilies/icon_redface.gif +%%DATADIR%%/images/smilies/icon_rolleyes.gif +%%DATADIR%%/images/smilies/icon_sad.gif +%%DATADIR%%/images/smilies/icon_smile.gif +%%DATADIR%%/images/smilies/icon_surprised.gif +%%DATADIR%%/images/smilies/icon_twisted.gif +%%DATADIR%%/images/smilies/icon_wink.gif +%%DATADIR%%/images/tools/addtrade.png +%%DATADIR%%/images/tools/auction.png +%%DATADIR%%/images/tools/buyhouse.png +%%DATADIR%%/images/tools/buyhouserow.png +%%DATADIR%%/images/tools/endturn.png +%%DATADIR%%/images/tools/highlight.png +%%DATADIR%%/images/tools/jailcard.png +%%DATADIR%%/images/tools/jailpay.png +%%DATADIR%%/images/tools/jailroll.png +%%DATADIR%%/images/tools/mortage.png +%%DATADIR%%/images/tools/paypercent.png +%%DATADIR%%/images/tools/reject.png +%%DATADIR%%/images/tools/removetrade.png +%%DATADIR%%/images/tools/roll.png +%%DATADIR%%/images/tools/sell.png +%%DATADIR%%/images/tools/sellhouse.png +%%DATADIR%%/images/tools/sellhouserow.png +%%DATADIR%%/images/tools/trade.png +%%DATADIR%%/images/tools/unmortage.png +%%DATADIR%%/ts/Capid_de.trans +%%DATADIR%%/ts/Capitalism_de.qm +%%DATADIR%%/ts/Capitalism_de.ts +%%DATADIR%%/ts/Capitalism_es.qm +%%DATADIR%%/ts/Capitalism_es.ts +%%DATADIR%%/ts/Capitalism_fi.qm +%%DATADIR%%/ts/Capitalism_fi.ts +%%DATADIR%%/ts/Capitalism_it.ts +%%DATADIR%%/ts/Capitalism_pl.qm +%%DATADIR%%/ts/Capitalism_pl.ts +%%DATADIR%%/ts/Capitalism_ru.ts +share/icons/hicolor/16x16/apps/capitalism.png +share/icons/hicolor/22x22/apps/capitalism.png +share/icons/hicolor/24x24/apps/capitalism.png +share/icons/hicolor/32x32/apps/capitalism.png +share/icons/hicolor/48x48/apps/capitalism.png +share/icons/hicolor/64x64/apps/capitalism.png +share/pixmaps/capitalism.png +@dirrmtry share/icons/hicolor/64x64/apps +@dirrmtry share/icons/hicolor/64x64 +@dirrmtry share/icons/hicolor/48x48/apps +@dirrmtry share/icons/hicolor/48x48 +@dirrmtry share/icons/hicolor/32x32/apps +@dirrmtry share/icons/hicolor/32x32 +@dirrmtry share/icons/hicolor/24x24/apps +@dirrmtry share/icons/hicolor/24x24 +@dirrmtry share/icons/hicolor/22x22/apps +@dirrmtry share/icons/hicolor/22x22 +@dirrmtry share/icons/hicolor/16x16/apps +@dirrmtry share/icons/hicolor/16x16 +@dirrmtry share/icons/hicolor +@dirrmtry share/icons +@dirrm %%DATADIR%%/ts +@dirrm %%DATADIR%%/images/tools +@dirrm %%DATADIR%%/images/smilies +@dirrm %%DATADIR%%/images/menu +@dirrm %%DATADIR%%/images/field +@dirrm %%DATADIR%%/images/avatars +@dirrm %%DATADIR%%/images +@dirrm %%DATADIR%%/games +@dirrm %%DATADIR%% |