aboutsummaryrefslogtreecommitdiff
path: root/games/bomns
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-20 02:04:55 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-20 02:04:55 +0000
commita0fda05c9586cf5346931d0ee9c94f18fc8cdb45 (patch)
tree7319a12ab997258cea96e65141f908cc20562ed5 /games/bomns
parent925cfc70518fc6a26688462965c1ea278bbd4b45 (diff)
downloadports-a0fda05c9586cf5346931d0ee9c94f18fc8cdb45.tar.gz
ports-a0fda05c9586cf5346931d0ee9c94f18fc8cdb45.zip
- Use options helpers
- Improve COMMENT - Add stage support
Notes
Notes: svn path=/head/; revision=334368
Diffstat (limited to 'games/bomns')
-rw-r--r--games/bomns/Makefile23
1 files changed, 7 insertions, 16 deletions
diff --git a/games/bomns/Makefile b/games/bomns/Makefile
index 3905e91613b3..22f8ca31b9cf 100644
--- a/games/bomns/Makefile
+++ b/games/bomns/Makefile
@@ -8,7 +8,7 @@ CATEGORIES= games
MASTER_SITES= SF/greenridge/Bomns%20for%20Linux/Bomns%20for%20Linux%20${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-COMMENT= The best old-school Deathmatch game ever (only for two players)
+COMMENT= Best old-school Deathmatch game ever (only for two players)
USES= pkgconfig
USE_BZIP2= yes
@@ -26,23 +26,14 @@ OPTIONS_DEFAULT= EDITOR LAUNCHER OPTIMIZED_CFLAGS
EDITOR_DESC= Enable building of the map editor
LAUNCHER_DESC= Enable building of the GTK2 launcher
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+OPTIONS_SUB= yes
-.if ${PORT_OPTIONS:MEDITOR}
-PLIST_SUB+= EDITOR=""
-.else
-CONFIGURE_ARGS+=--disable-editor
-PLIST_SUB+= EDITOR="@comment "
-.endif
+EDITOR_CONFIGURE_ENABLE= editor
-.if ${PORT_OPTIONS:MLAUNCHER}
-USE_GNOME= gtk20
-PLIST_SUB+= LAUNCHER=""
-.else
-CONFIGURE_ARGS+=--disable-launcher2
-PLIST_SUB+= LAUNCHER="@comment "
-.endif
+LAUNCHER_USE= GNOME=gtk20
+LAUNCHER_CONFIGURE_ENABLE= launcher2
+
+.include <bsd.port.options.mk>
post-patch:
# Fix SDL include statement.