svn commit: r327324 - in head/games: . capicity

Rusmir Dusko nemysis at FreeBSD.org
Sun Sep 15 01:52:55 UTC 2013


Author: nemysis
Date: Sun Sep 15 01:52:53 2013
New Revision: 327324
URL: http://svnweb.freebsd.org/changeset/ports/327324

Log:
  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)

Added:
  head/games/capicity/
  head/games/capicity/Makefile   (contents, props changed)
  head/games/capicity/distinfo   (contents, props changed)
  head/games/capicity/pkg-descr   (contents, props changed)
  head/games/capicity/pkg-plist   (contents, props changed)
Modified:
  head/games/Makefile

Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile	Sun Sep 15 00:07:34 2013	(r327323)
+++ head/games/Makefile	Sun Sep 15 01:52:53 2013	(r327324)
@@ -119,6 +119,7 @@
     SUBDIR += bzflag
     SUBDIR += cake
     SUBDIR += caph
+    SUBDIR += capicity
     SUBDIR += capitalism
     SUBDIR += cardpics
     SUBDIR += castlevox

Added: head/games/capicity/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/capicity/Makefile	Sun Sep 15 01:52:53 2013	(r327324)
@@ -0,0 +1,75 @@
+# Created by: Rusmir Dusko <nemysis at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	capicity
+PORTVERSION=	1.0
+CATEGORIES=	games
+MASTER_SITES=	SF/capitalism/Capi%20City/${PORTVERSION}/
+DISTNAME=	CapiCity_${DISTVERSION}
+
+MAINTAINER=	nemysis at 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 <bsd.port.options.mk>
+
+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 <bsd.port.mk>

Added: head/games/capicity/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/capicity/distinfo	Sun Sep 15 01:52:53 2013	(r327324)
@@ -0,0 +1,2 @@
+SHA256 (CapiCity_1.0.tar.gz) = b4efa91aa7476dd9769cea151239bfcd9afa35cb28afd574d9bb7fdfaba1a33b
+SIZE (CapiCity_1.0.tar.gz) = 363899

Added: head/games/capicity/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/capicity/pkg-descr	Sun Sep 15 01:52:53 2013	(r327324)
@@ -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/

Added: head/games/capicity/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/capicity/pkg-plist	Sun Sep 15 01:52:53 2013	(r327324)
@@ -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
+ at dirrm %%DATADIR%%/images/tools
+ at dirrm %%DATADIR%%/images/smilies
+ at dirrm %%DATADIR%%/images/menu
+ at dirrm %%DATADIR%%/images/field
+ at dirrm %%DATADIR%%/images/avatars
+ at dirrm %%DATADIR%%/images
+ at dirrm %%DATADIR%%/games
+ at dirrm %%DATADIR%%


More information about the svn-ports-all mailing list