Date: Mon, 21 Oct 2013 20:45:19 +0000 (UTC) From: Rusmir Dusko <nemysis@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r331190 - head/games/capitalism Message-ID: <201310212045.r9LKjJYU044239@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nemysis Date: Mon Oct 21 20:45:19 2013 New Revision: 331190 URL: http://svnweb.freebsd.org/changeset/ports/331190 Log: - Change maintainer email to @FreeBSD.org - Use the new format for LIB_DEPENDS Approved by: pawel / wg (mentors, implicit) Modified: head/games/capitalism/Makefile Modified: head/games/capitalism/Makefile ============================================================================== --- head/games/capitalism/Makefile Mon Oct 21 20:41:54 2013 (r331189) +++ head/games/capitalism/Makefile Mon Oct 21 20:45:19 2013 (r331190) @@ -8,17 +8,17 @@ CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/Capitalism/0.5/ EXTRACT_SUFX= .tbz -MAINTAINER= nemysis@gmx.ch +MAINTAINER= nemysis@FreeBSD.org 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 +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}/Capitalism-${PORTVERSION} @@ -36,46 +36,40 @@ DESKTOP_ENTRIES="Capitalism" "${COMMENT} "${PORTNAME}" "Game;BoardGame;" false OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes -NO_STAGE= yes -.include <bsd.port.options.mk> +NLS_CONFIGURE_ENABLE= nls +NLS_USES= gettext -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -PLIST_SUB+= NLS="@comment " -.endif +.include <bsd.port.options.mk> do-configure: @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ ${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX} post-configure: - @${REINPLACE_CMD} -e 's|-O2 -Wall -W||g' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|-O2 -pthread||g' ${WRKSRC}/Makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/Capitalism ${PREFIX}/bin/${PORTNAME} + ${INSTALL_PROGRAM} ${WRKSRC}/Capitalism ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .for d in games images - @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${DATADIR}) + @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR}) .endfor .if ${PORT_OPTIONS:MNLS} - @(cd ${WRKSRC} && ${COPYTREE_SHARE} ts ${DATADIR}) + @(cd ${WRKSRC} && ${COPYTREE_SHARE} ts ${STAGEDIR}${DATADIR}) .endif -post-install: .for s in ${ICON_SIZES} - ${MKDIR} ${PREFIX}/share/icons/hicolor/${s}/apps + @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps ${INSTALL_DATA} ${WRKSRC}/icons/${s}.png \ - ${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png + ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png .endfor - ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps + ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/ -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310212045.r9LKjJYU044239>