From owner-svn-ports-head@FreeBSD.ORG Mon Oct 21 21:23:35 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BA870A4B; Mon, 21 Oct 2013 21:23:35 +0000 (UTC) (envelope-from nemysis@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 999222739; Mon, 21 Oct 2013 21:23:35 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9LLNZPs065784; Mon, 21 Oct 2013 21:23:35 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9LLNZcc065775; Mon, 21 Oct 2013 21:23:35 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201310212123.r9LLNZcc065775@svn.freebsd.org> From: Rusmir Dusko Date: Mon, 21 Oct 2013 21:23:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r331194 - in head/games/bombherman: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2013 21:23:35 -0000 Author: nemysis Date: Mon Oct 21 21:23:34 2013 New Revision: 331194 URL: http://svnweb.freebsd.org/changeset/ports/331194 Log: - Change Makefile header - Change master sites remove GH - Change maintainer email to @FreeBSD.org - USE_GNOME cairo instead of graphics/cairo - Add DOCS Option - Support STAGEDIR and add OPTIONS_SUB - Add patch, fix build with Clang Approved by: pawel / wg (mentors, implicit) Added: head/games/bombherman/files/ head/games/bombherman/files/patch-src-display-display.cpp (contents, props changed) Modified: head/games/bombherman/Makefile head/games/bombherman/pkg-plist Modified: head/games/bombherman/Makefile ============================================================================== --- head/games/bombherman/Makefile Mon Oct 21 21:08:21 2013 (r331193) +++ head/games/bombherman/Makefile Mon Oct 21 21:23:34 2013 (r331194) @@ -1,22 +1,20 @@ -# Created by: nemysis@gmx.ch +# Created by: nemysis # $FreeBSD$ PORTNAME= bomb-her-man PORTVERSION= 0.3 PORTREVISION= 2 CATEGORIES= games -MASTER_SITES= GH \ - SF/nemysisfreebsdp/:icons +MASTER_SITES= SF/nemysisfreebsdp/:icons DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ ${PORTNAME}_icons${EXTRACT_SUFX}:icons -MAINTAINER= nemysis@gmx.ch +MAINTAINER= nemysis@FreeBSD.org COMMENT= Bomberman clone written in C++ LICENSE= GPLv3 BUILD_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser -LIB_DEPENDS= cairo:${PORTSDIR}/graphics/cairo USE_GITHUB= yes GH_ACCOUNT= Keruspe @@ -26,7 +24,7 @@ GH_COMMIT= 8f5aa22 USES= gmake pkgconfig USE_SDL= sdl image mixer ttf -USE_GNOME= intltool librsvg2 +USE_GNOME= cairo intltool librsvg2 GNU_CONFIGURE= yes USE_AUTOTOOLS= automake:env ALL_TARGET= # empty @@ -42,41 +40,35 @@ ICON_SIZES= 32x32 48x48 64x64 72x72 96x9 DESKTOP_ENTRIES="Bomb-her-man" "Bomberman clone" "${PORTNAME}" \ "${PORTNAME}" "Game;ArcadeGame;" false -OPTIONS_DEFINE= NLS +OPTIONS_DEFINE= DOCS NLS +OPTIONS_SUB= yes + +NLS_CONFIGURE_ENABLE= nls +NLS_USES= gettext # Wrong versioning upstream PORTSCOUT= ignore:1 -NO_STAGE= yes .include -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.endif - pre-configure: @(cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./autogen.sh) .if ${PORT_OPTIONS:MNLS} - @${REINPLACE_CMD} -e 's|itlocaledir = $$(prefix)/$$(DATADIRNAME)/locale|itlocaledir = $$(prefix)/share/locale|' \ + @${REINPLACE_CMD} -e 's|$$(prefix)/$$(DATADIRNAME)/locale|$$(prefix)/share/locale|' \ ${WRKSRC}/po/Makefile.in.in .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} ${WRKDIR}/${PORTNAME}_${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 Added: head/games/bombherman/files/patch-src-display-display.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/bombherman/files/patch-src-display-display.cpp Mon Oct 21 21:23:34 2013 (r331194) @@ -0,0 +1,22 @@ +--- src/display/display.cpp.orig 2012-05-26 11:11:52.000000000 +0200 ++++ src/display/display.cpp 2013-09-17 10:22:23.000000000 +0200 +@@ -20,7 +20,7 @@ + #include "display.hpp" + + #include +-#include ++#include + #include + + #include "game/player.hpp" +@@ -116,7 +116,9 @@ + throw exceptions::display::NoSDLException("Can't init use of TrueType fonts"); + } + +- g_type_init(); ++ #if !GLIB_CHECK_VERSION(2,35,0) ++ g_type_init(); ++ #endif + + setMode(); + } Modified: head/games/bombherman/pkg-plist ============================================================================== --- head/games/bombherman/pkg-plist Mon Oct 21 21:08:21 2013 (r331193) +++ head/games/bombherman/pkg-plist Mon Oct 21 21:23:34 2013 (r331194) @@ -61,18 +61,6 @@ share/icons/hicolor/72x72/apps/bomb-her- share/icons/hicolor/96x96/apps/bomb-her-man.png %%NLS%%share/locale/fr/LC_MESSAGES/bomb-her-man.mo share/pixmaps/bomb-her-man.png -@dirrmtry share/icons/hicolor/96x96/apps -@dirrmtry share/icons/hicolor/96x96 -@dirrmtry share/icons/hicolor/72x72/apps -@dirrmtry share/icons/hicolor/72x72 -@dirrmtry share/icons/hicolor/64x64/apps -@dirrmtry share/icons/hicolor/64x64 -@dirrmtry share/icons/hicolor/48x48/apps -@dirrmtry share/icons/hicolor/48x48 -@dirrmtry share/icons/hicolor/32x32/apps -@dirrmtry share/icons/hicolor/32x32 -@dirrmtry share/icons/hicolor -@dirrmtry share/icons @dirrm %%DATADIR%%/graphics/scores/2 @dirrm %%DATADIR%%/graphics/scores/1 @dirrm %%DATADIR%%/graphics/scores