diff options
author | Dejan Lesjak <lesi@FreeBSD.org> | 2005-07-22 23:38:08 +0000 |
---|---|---|
committer | Dejan Lesjak <lesi@FreeBSD.org> | 2005-07-22 23:38:08 +0000 |
commit | 6bc9493a5982e72cb8e04ac10d17bbbef78a75d7 (patch) | |
tree | cb48cb8ae2d884a87cbfb5f87ca18b537db0b5f6 /games | |
parent | 8d4c9575031382a5f3a3540274c028370f07f005 (diff) | |
download | ports-6bc9493a5982e72cb8e04ac10d17bbbef78a75d7.tar.gz ports-6bc9493a5982e72cb8e04ac10d17bbbef78a75d7.zip |
Notes
Diffstat (limited to 'games')
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/bomns/Makefile | 68 | ||||
-rw-r--r-- | games/bomns/distinfo | 2 | ||||
-rw-r--r-- | games/bomns/pkg-descr | 10 | ||||
-rw-r--r-- | games/bomns/pkg-plist | 31 |
5 files changed, 112 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index 3ef15555e19b..38f2d21f5228 100644 --- a/games/Makefile +++ b/games/Makefile @@ -59,6 +59,7 @@ SUBDIR += bomberclone SUBDIR += bomberinstinct SUBDIR += bombermaze + SUBDIR += bomns SUBDIR += braincurses SUBDIR += briquolo SUBDIR += bs diff --git a/games/bomns/Makefile b/games/bomns/Makefile new file mode 100644 index 000000000000..a0d7a138d3a9 --- /dev/null +++ b/games/bomns/Makefile @@ -0,0 +1,68 @@ +# New ports collection makefile for: bomns +# Date created: 22 Jul 2005 +# Whom: Alejandro Pulver <alejandro@varnet.biz> +# +# $FreeBSD$ +# + +PORTNAME= bomns +PORTVERSION= 0.99.1 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= greenridge + +MAINTAINER= alejandro@varnet.biz +COMMENT= The best old-school deathmatch game EVER (only for two players) + +USE_BZIP2= yes +USE_SDL= mixer sdl +WANT_GNOME= yes +USE_REINPLACE= yes + +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="`${SDL_CONFIG} --cflags`" \ + LDFLAGS="`${SDL_CONFIG} --libs`" +CONFIGURE_ARGS= --program-transform-name= + +OPTIONS= EDITOR "Enable building of the map editor" on \ + LAUNCHER "Enable building of the GTK2 launcher" on \ + OPTIMIZED_CFLAGS "Enable compilation optimizations" on + +.include <bsd.port.pre.mk> + +.if defined(WITH_EDITOR) +PLIST_SUB+= EDITOR="" +.else +CONFIGURE_ARGS+= --disable-editor +PLIST_SUB+= EDITOR="@comment " +.endif + +.if defined(WITH_LAUNCHER) +USE_GNOME= gtk20 +PLIST_SUB+= LAUNCHER="" +.else +CONFIGURE_ARGS+= --disable-launcher2 +PLIST_SUB+= LAUNCHER="@comment " +.endif + +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 !defined(WITH_OPTIMIZED_CFLAGS) + @${REINPLACE_CMD} -e 's|-O2||' ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} +.endif + +.include <bsd.port.post.mk> diff --git a/games/bomns/distinfo b/games/bomns/distinfo new file mode 100644 index 000000000000..3cca8a03159c --- /dev/null +++ b/games/bomns/distinfo @@ -0,0 +1,2 @@ +MD5 (bomns-0.99.1.tar.bz2) = 08bca3c88209a36221966678d5a7e4bc +SIZE (bomns-0.99.1.tar.bz2) = 839812 diff --git a/games/bomns/pkg-descr b/games/bomns/pkg-descr new file mode 100644 index 000000000000..3cb1e78eb6c4 --- /dev/null +++ b/games/bomns/pkg-descr @@ -0,0 +1,10 @@ +Bomns is by far the greatest game to ever grace the face of the earth. It has +a HUGE cult following (largely based in Asheville, NC) because of its immense +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/ + +- Alejandro Pulver +alejandro@varnet.biz diff --git a/games/bomns/pkg-plist b/games/bomns/pkg-plist new file mode 100644 index 000000000000..3ac45dbfbf4e --- /dev/null +++ b/games/bomns/pkg-plist @@ -0,0 +1,31 @@ +bin/bomns +%%EDITOR%%bin/bomnsedit +%%LAUNCHER%%bin/bomnslauncher2 +%%DATADIR%%/graphics/editor_cursor.bmp +%%DATADIR%%/graphics/editor_hud.bmp +%%DATADIR%%/graphics/font.bmp +%%DATADIR%%/graphics/hud.bmp +%%DATADIR%%/graphics/intro.bmp +%%DATADIR%%/graphics/objects.bmp +%%DATADIR%%/graphics/players.bmp +%%DATADIR%%/graphics/winscreen.bmp +%%DATADIR%%/levels/faceoff.lvl +%%DATADIR%%/levels/killyou.lvl +%%DATADIR%%/levels/narrow.lvl +%%DATADIR%%/levels/test.lvl +%%DATADIR%%/sounds/beep.wav +%%DATADIR%%/sounds/begin1.wav +%%DATADIR%%/sounds/begin2.wav +%%DATADIR%%/sounds/begin3.wav +%%DATADIR%%/sounds/begin4.wav +%%DATADIR%%/sounds/begin5.wav +%%DATADIR%%/sounds/begin6.wav +%%DATADIR%%/sounds/explosion.wav +%%DATADIR%%/sounds/hurt.wav +%%DATADIR%%/sounds/invulnerable.wav +%%DATADIR%%/sounds/warp.wav +%%DATADIR%%/sounds/winner.wav +@dirrm %%DATADIR%%/sounds +@dirrm %%DATADIR%%/levels +@dirrm %%DATADIR%%/graphics +@dirrm %%DATADIR%% |