- 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
This commit is contained in:
parent
31c806e7de
commit
63d0782052
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359239
4 changed files with 32 additions and 48 deletions
|
@ -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=
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
CONFIGURE_ENV+= LIBS=-L${LOCALBASE}/lib
|
||||
|
||||
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
|
||||
PORTDOCS= AUTHORS ChangeLog README
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
OPTIONS_SUB= yes
|
||||
post-install:
|
||||
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
|
||||
${STAGEDIR}${PREFIX}/share/pixmaps/
|
||||
|
||||
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
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -4,4 +4,4 @@ fun factor and its unique ability to increase your sex appeal and
|
|||
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
|
||||
|
|
|
@ -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.png
|
|||
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%%
|
||||
|
|
Loading…
Reference in a new issue