2013-05-19 01:22:44 +02:00
|
|
|
# Created by: nemysis <nemysis@gmx.ch>
|
2012-11-20 23:05:22 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= capitalism
|
|
|
|
PORTVERSION= 0.5.1
|
2013-05-19 01:22:44 +02:00
|
|
|
PORTREVISION= 3
|
2012-11-20 23:05:22 +01:00
|
|
|
CATEGORIES= games
|
2013-05-19 01:22:44 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/Capitalism/0.5/
|
2012-11-20 23:05:22 +01:00
|
|
|
EXTRACT_SUFX= .tbz
|
|
|
|
|
2013-10-21 22:45:19 +02:00
|
|
|
MAINTAINER= nemysis@FreeBSD.org
|
2012-11-20 23:05:22 +01:00
|
|
|
COMMENT= Qt client for the Monopd server
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2013-10-21 22:45:19 +02:00
|
|
|
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
|
2012-11-20 23:05:22 +01:00
|
|
|
|
2013-05-19 01:22:44 +02:00
|
|
|
WRKSRC= ${WRKDIR}/Capitalism-${PORTVERSION}
|
|
|
|
|
2013-11-22 19:48:31 +01:00
|
|
|
USES= iconv qmake
|
The FreeBSD x11 team proudly presents
an zeising, kwm, miwi, bapt, eadler production:
Xorg 7.7
Starring:
xserver 1.12.4 (new xorg only)
Mesa 8.0.4, including libGL, libGLU and dri (new xorg only)
libX11 1.5.0
libxcb 1.9
libdrm 2.4.42 (new xorg only)
freeglut 2.8.1
Also starring:
Updates to drivers and other libraries and utilities
Additional notes:
Change pkgconf to be a build dependency.
Add a new USE_XORG, xcb, to depend on libxcb and update all ports to use
this.
Trim makefile headers.
Take maintanership of x11/xcb-proto, ok'd by ashish.
If you are running WITH_NEW_XORG=, you need to rebuild all installed
drivers, see UPDATING for more information.
Various fixes to make ports compile.
PR: ports/177942
Exp-run by: miwi
Approved by: portmgr (miwi)
Thanks to all who helped testing!
2013-05-25 16:37:02 +02:00
|
|
|
USE_XORG= ice sm x11 xau xcb xdmcp xext xrender
|
2013-11-22 19:48:31 +01:00
|
|
|
USE_QT4= moc_build rcc_build uic_build iconengines_run imageformats_run \
|
2012-11-20 23:05:22 +01:00
|
|
|
corelib gui network script xml
|
|
|
|
|
2013-05-19 01:22:44 +02:00
|
|
|
PORTDOCS= README changelog readme.txt
|
2012-11-20 23:05:22 +01:00
|
|
|
|
2013-05-19 01:22:44 +02:00
|
|
|
INSTALLS_ICONS= yes
|
2012-11-20 23:05:22 +01:00
|
|
|
ICON_SIZES= 16x16 22x22 24x24 32x32 48x48 64x64
|
|
|
|
|
|
|
|
DESKTOP_ENTRIES="Capitalism" "${COMMENT}" "${PORTNAME}" \
|
2013-11-22 19:48:31 +01:00
|
|
|
"${PORTNAME}" "Game;BoardGame;" true
|
2013-05-19 01:22:44 +02:00
|
|
|
|
|
|
|
OPTIONS_DEFINE= NLS
|
2013-10-21 22:45:19 +02:00
|
|
|
OPTIONS_SUB= yes
|
2012-11-20 23:05:22 +01:00
|
|
|
|
2013-10-21 22:45:19 +02:00
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
|
|
NLS_USES= gettext
|
2012-11-20 23:05:22 +01:00
|
|
|
|
2013-10-21 22:45:19 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2013-05-19 01:22:44 +02:00
|
|
|
|
2012-11-20 23:05:22 +01:00
|
|
|
do-install:
|
2013-10-21 22:45:19 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/Capitalism ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
2012-11-20 23:05:22 +01:00
|
|
|
|
2013-05-19 01:22:44 +02:00
|
|
|
.for d in games images
|
2013-10-21 22:45:19 +02:00
|
|
|
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR})
|
2012-11-20 23:05:22 +01:00
|
|
|
.endfor
|
|
|
|
|
2013-05-19 01:22:44 +02:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-10-21 22:45:19 +02:00
|
|
|
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ts ${STAGEDIR}${DATADIR})
|
2013-05-19 01:22:44 +02:00
|
|
|
.endif
|
|
|
|
|
2012-11-20 23:05:22 +01:00
|
|
|
.for s in ${ICON_SIZES}
|
2013-10-21 22:45:19 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps
|
2012-11-20 23:05:22 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/icons/${s}.png \
|
2013-10-21 22:45:19 +02:00
|
|
|
${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
|
2012-11-20 23:05:22 +01:00
|
|
|
.endfor
|
2013-10-21 22:45:19 +02:00
|
|
|
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
|
|
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/
|
2012-11-20 23:05:22 +01:00
|
|
|
|
2013-10-21 22:45:19 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
2012-11-20 23:05:22 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|