mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
9cba0ef67a
- Chase libpthread-stubs update, and also switch to BUILD_DEPENDS from LIB_DEPENDS, as port is now only .pc file PR: 218015 Submitted by: rezny
67 lines
1.8 KiB
Makefile
67 lines
1.8 KiB
Makefile
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= capicity
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 3
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF/capitalism/Capi%20City/${PORTVERSION}/
|
|
DISTNAME= CapiCity_${DISTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Qt client for the Monopd server
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/copying.txt
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs
|
|
LIB_DEPENDS= libpcre.so:devel/pcre \
|
|
libpng.so:graphics/png \
|
|
libfreetype.so:print/freetype2 \
|
|
libexpat.so:textproc/expat2 \
|
|
libfontconfig.so:x11-fonts/fontconfig
|
|
|
|
WRKSRC= ${WRKDIR}/CapiCity_${PORTVERSION}
|
|
|
|
USES= iconv qmake
|
|
USE_XORG= ice sm x11 xau xcb xdmcp xext xrender
|
|
USE_QT4= moc_build rcc_build uic_build iconengines_run imageformats_run \
|
|
corelib gui network script xml
|
|
|
|
PORTDOCS= README changelog
|
|
|
|
INSTALLS_ICONS= yes
|
|
ICON_SIZES= 16x16 22x22 24x24 32x32 48x48 64x64
|
|
|
|
DESKTOP_ENTRIES="Capi City" "" "${PORTNAME}" \
|
|
"${PORTNAME}" "Game;BoardGame;" ""
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
NLS_USES= gettext
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/CapiCity \
|
|
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
.for d in games images
|
|
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR})
|
|
.endfor
|
|
.for s in ${ICON_SIZES}
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps
|
|
${INSTALL_DATA} ${WRKSRC}/icons/${s}.png \
|
|
${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
|
|
.endfor
|
|
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/
|
|
|
|
do-install-NLS-on:
|
|
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ts ${STAGEDIR}${DATADIR})
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|