From owner-svn-ports-head@FreeBSD.ORG Wed Jun 25 13:36:32 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 40CFD8DA; Wed, 25 Jun 2014 13:36:32 +0000 (UTC) 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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2113028BC; Wed, 25 Jun 2014 13:36:32 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5PDaW8x025490; Wed, 25 Jun 2014 13:36:32 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5PDaVQq025483; Wed, 25 Jun 2014 13:36:31 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201406251336.s5PDaVQq025483@svn.freebsd.org> From: Rusmir Dusko Date: Wed, 25 Jun 2014 13:36:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r359239 - head/games/bomns 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.18 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: Wed, 25 Jun 2014 13:36:32 -0000 Author: nemysis Date: Wed Jun 25 13:36:30 2014 New Revision: 359239 URL: http://svnweb.freebsd.org/changeset/ports/359239 QAT: https://qat.redports.org/buildarchive/r359239/ Log: - Update to 0.99.3, announce message: bomns * Banish the Autotools to the land of wind and ghosts. CMake for the win. * Beginnings of netplay, thanks to Charles. See the "netplay" branch. * No longer compiles unused/broken AI code bomnsedit * None bomnslauncher * GTK1 launcher is archived and no longer built (it sucks, don't worry) * bomnslauncher2 renamed bomnslauncher - Transfer maintainership to games@ team - Add license (GPLv2) - Switch to USES=cmake and change to fetch from GITHUB - Remove not existent Option and OPTIONS_SUB - Remove pkgconfig, USE_BZIP2 and obsolete patches, changed by upstream - Add CMAKE_ARGS+= -Wno-dev and USE_CSTD=gnu89 - Add DOCS and Option - Symlink the icon - Change WWW Modified: head/games/bomns/Makefile head/games/bomns/distinfo head/games/bomns/pkg-descr head/games/bomns/pkg-plist Modified: head/games/bomns/Makefile ============================================================================== --- head/games/bomns/Makefile Wed Jun 25 13:20:50 2014 (r359238) +++ head/games/bomns/Makefile Wed Jun 25 13:36:30 2014 (r359239) @@ -2,57 +2,40 @@ # $FreeBSD$ PORTNAME= bomns -PORTVERSION= 0.99.2 -PORTREVISION= 2 +PORTVERSION= 0.99.3 CATEGORIES= games -MASTER_SITES= SF/greenridge/Bomns%20for%20Linux/Bomns%20for%20Linux%20${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= games@FreeBSD.org COMMENT= Best old-school Deathmatch game ever (only for two players) -USES= pkgconfig -USE_BZIP2= yes +LICENSE= GPLv2 + +LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 + +USE_GITHUB= yes +GH_ACCOUNT= keithfancher +GH_PROJECT= Bomns-for-Linux +GH_TAGNAME= ${GH_COMMIT} +GH_COMMIT= 113be27 + +USES= cmake USE_SDL= mixer sdl -WANT_GNOME= yes +USE_GNOME= gtk20 +CMAKE_ARGS+= -Wno-dev +USE_CSTD= gnu89 INSTALLS_ICONS= yes -GNU_CONFIGURE= yes -CPPFLAGS+= `${SDL_CONFIG} --cflags` -LDFLAGS+= `${SDL_CONFIG} --libs` -CONFIGURE_ARGS= --program-transform-name= - -OPTIONS_DEFINE= EDITOR LAUNCHER OPTIMIZED_CFLAGS -OPTIONS_DEFAULT= EDITOR LAUNCHER OPTIMIZED_CFLAGS -EDITOR_DESC= Enable building of the map editor -LAUNCHER_DESC= Enable building of the GTK2 launcher - -OPTIONS_SUB= yes - -EDITOR_CONFIGURE_ENABLE= editor - -LAUNCHER_USE= GNOME=gtk20 -LAUNCHER_CONFIGURE_ENABLE= launcher2 - -.include - -post-patch: -# Fix SDL include statement. -.for f in *.cpp *.h - @${FIND} ${WRKSRC}/src -type f -name ${f} -print0 | \ - ${XARGS} -0 \ - ${REINPLACE_CMD} -e 's|\(#include.*\)SDL/\(SDL.*\)|\1\2|' -.endfor - -# Remove -lSDL linker flag. -.for f in Makefile.am Makefile.in - @${FIND} ${WRKSRC}/src -type f -name ${f} -print0 | \ - ${XARGS} -0 \ - ${REINPLACE_CMD} -e 's|-lSDL || ; s|-lSDL$$|| ; s|-lpthread||' -.endfor - -# Enable/disable compilation optimizations. -.if empty(PORT_OPTIONS:MOPTIMIZED_CFLAGS) - @${REINPLACE_CMD} -e 's|-O2||' ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} -.endif +CFLAGS+= -I${LOCALBASE}/include +CONFIGURE_ENV+= LIBS=-L${LOCALBASE}/lib + +PORTDOCS= AUTHORS ChangeLog README +OPTIONS_DEFINE= DOCS + +post-install: + ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/ + + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Modified: head/games/bomns/distinfo ============================================================================== --- head/games/bomns/distinfo Wed Jun 25 13:20:50 2014 (r359238) +++ head/games/bomns/distinfo Wed Jun 25 13:36:30 2014 (r359239) @@ -1,2 +1,2 @@ -SHA256 (bomns-0.99.2.tar.bz2) = 4be865ecde8798e6635874f714c27f3bc06a4bb2af871c386a952ad7c4d5bfa7 -SIZE (bomns-0.99.2.tar.bz2) = 904065 +SHA256 (bomns-0.99.3.tar.gz) = b7fdc1f19d19e86fa150f1895c89cefcc911d70f4098a835a37b742f5e55160f +SIZE (bomns-0.99.3.tar.gz) = 1745681 Modified: head/games/bomns/pkg-descr ============================================================================== --- head/games/bomns/pkg-descr Wed Jun 25 13:20:50 2014 (r359238) +++ head/games/bomns/pkg-descr Wed Jun 25 13:36:30 2014 (r359239) @@ -4,4 +4,4 @@ fun factor and its unique ability to inc significantly lengthen your life. Originally conceived by Charles Lindsay, it has taken many forms since the first "Bomns". -WWW: http://greenridge.sourceforge.net/ +WWW: https://github.com/keithfancher/Bomns-for-Linux Modified: head/games/bomns/pkg-plist ============================================================================== --- head/games/bomns/pkg-plist Wed Jun 25 13:20:50 2014 (r359238) +++ head/games/bomns/pkg-plist Wed Jun 25 13:36:30 2014 (r359239) @@ -1,6 +1,6 @@ bin/bomns bin/bomnsedit -bin/bomnslauncher2 +bin/bomnslauncher share/applications/bomns.desktop %%DATADIR%%/graphics/bomn32.bmp %%DATADIR%%/graphics/editor_cursor.bmp @@ -34,7 +34,8 @@ share/icons/hicolor/256x256/apps/bomns.p share/icons/hicolor/32x32/apps/bomns.png share/icons/hicolor/48x48/apps/bomns.png share/icons/hicolor/64x64/apps/bomns.png -@dirrm %%DATADIR%%/sounds -@dirrm %%DATADIR%%/levels +share/pixmaps/bomns.png @dirrm %%DATADIR%%/graphics +@dirrm %%DATADIR%%/levels +@dirrm %%DATADIR%%/sounds @dirrm %%DATADIR%%