Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 2014 13:36:31 +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: r359239 - head/games/bomns
Message-ID:  <201406251336.s5PDaVQq025483@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk>
-
-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 <bsd.port.mk>

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%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406251336.s5PDaVQq025483>