From 31002c0394cbeb4aacfd236b94aaf6dcb62bffff Mon Sep 17 00:00:00 2001 From: Rusmir Dusko Date: Sun, 15 Sep 2013 01:52:53 +0000 Subject: [PATCH] Capi City is a client for the online server monopd. You can play Monopoly like games with it online. Integrated Capid to be able to start a server for LAN. WWW: http://linux-ecke.de/CapiCity/ CapiCity v1.0 is the stable successor of Capitalism (games/capitalism). Approved by: wg/pawel (mentors) --- games/Makefile | 1 + games/capicity/Makefile | 75 +++++++++++++++++++++++++++++++ games/capicity/distinfo | 2 + games/capicity/pkg-descr | 6 +++ games/capicity/pkg-plist | 95 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 179 insertions(+) create mode 100644 games/capicity/Makefile create mode 100644 games/capicity/distinfo create mode 100644 games/capicity/pkg-descr create mode 100644 games/capicity/pkg-plist diff --git a/games/Makefile b/games/Makefile index 76b8bdcdc720..4bcde0e4ee09 100644 --- a/games/Makefile +++ b/games/Makefile @@ -119,6 +119,7 @@ SUBDIR += bzflag SUBDIR += cake SUBDIR += caph + SUBDIR += capicity SUBDIR += capitalism SUBDIR += cardpics SUBDIR += castlevox diff --git a/games/capicity/Makefile b/games/capicity/Makefile new file mode 100644 index 000000000000..3e1cbecc2dec --- /dev/null +++ b/games/capicity/Makefile @@ -0,0 +1,75 @@ +# Created by: Rusmir Dusko +# $FreeBSD$ + +PORTNAME= capicity +PORTVERSION= 1.0 +CATEGORIES= games +MASTER_SITES= SF/capitalism/Capi%20City/${PORTVERSION}/ +DISTNAME= CapiCity_${DISTVERSION} + +MAINTAINER= nemysis@FreeBSD.org +COMMENT= Qt client for the Monopd server + +LICENSE= GPLv2 + +LIB_DEPENDS= libpthread-stubs.so:${PORTSDIR}/devel/libpthread-stubs \ + libpcre.so:${PORTSDIR}/devel/pcre \ + libpng15.so:${PORTSDIR}/graphics/png \ + libfreetype.so:${PORTSDIR}/print/freetype2 \ + libexpat.so:${PORTSDIR}/textproc/expat2 \ + libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig + +WRKSRC= ${WRKDIR}/CapiCity_${PORTVERSION} + +USES= iconv +USE_XORG= ice sm x11 xau xcb xdmcp xext xrender +USE_QT4= moc_build qmake_build rcc_build uic_build iconengines imageformats \ + corelib gui network script xml + +PORTDOCS= README changelog + +INSTALLS_ICONS= yes +ICON_SIZES= 16x16 22x22 24x24 32x32 48x48 64x64 + +DESKTOP_ENTRIES="Capi City" "${COMMENT}" "${PORTNAME}" \ + "${PORTNAME}" "Game;BoardGame;" false + +OPTIONS_DEFINE= DOCS NLS +OPTIONS_SUB= yes + +NLS_CONFIGURE_ENABLE= nls +NLS_USES= gettext + +.include + +do-configure: + @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ + ${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX} + +post-configure: + @${REINPLACE_CMD} -e 's|-O2 -pthread||g' ${WRKSRC}/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/CapiCity ${PREFIX}/bin/${PORTNAME} + +.for d in games images + @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${DATADIR}) +.endfor + +.if ${PORT_OPTIONS:MNLS} + @(cd ${WRKSRC} && ${COPYTREE_SHARE} ts ${DATADIR}) +.endif + +.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 diff --git a/games/capicity/distinfo b/games/capicity/distinfo new file mode 100644 index 000000000000..0b99651f27b4 --- /dev/null +++ b/games/capicity/distinfo @@ -0,0 +1,2 @@ +SHA256 (CapiCity_1.0.tar.gz) = b4efa91aa7476dd9769cea151239bfcd9afa35cb28afd574d9bb7fdfaba1a33b +SIZE (CapiCity_1.0.tar.gz) = 363899 diff --git a/games/capicity/pkg-descr b/games/capicity/pkg-descr new file mode 100644 index 000000000000..a4539561951e --- /dev/null +++ b/games/capicity/pkg-descr @@ -0,0 +1,6 @@ +Capi City is a client for the online server monopd. +You can play Monopoly like games with it online. + +Integrated Capid to be able to start a server for LAN. + +WWW: http://linux-ecke.de/CapiCity/ diff --git a/games/capicity/pkg-plist b/games/capicity/pkg-plist new file mode 100644 index 000000000000..d9fdf489559f --- /dev/null +++ b/games/capicity/pkg-plist @@ -0,0 +1,95 @@ +bin/capicity +%%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 +%%NLS%%%%DATADIR%%/ts/CapiCity_de_DE.qm +%%NLS%%%%DATADIR%%/ts/CapiCity_de_DE.ts +%%NLS%%%%DATADIR%%/ts/CapiCity_es_ES.ts +%%NLS%%%%DATADIR%%/ts/CapiCity_fi_FI.ts +%%NLS%%%%DATADIR%%/ts/CapiCity_it.ts +%%NLS%%%%DATADIR%%/ts/CapiCity_pl.ts +%%NLS%%%%DATADIR%%/ts/CapiCity_ru_RU.qm +%%NLS%%%%DATADIR%%/ts/CapiCity_ru_RU.ts +%%NLS%%%%DATADIR%%/ts/Capid_de_DE.trans +share/icons/hicolor/16x16/apps/capicity.png +share/icons/hicolor/22x22/apps/capicity.png +share/icons/hicolor/24x24/apps/capicity.png +share/icons/hicolor/32x32/apps/capicity.png +share/icons/hicolor/48x48/apps/capicity.png +share/icons/hicolor/64x64/apps/capicity.png +share/pixmaps/capicity.png +%%NLS%%@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%%