svn commit: r334368 - head/games/bomns
Danilo Egea Gondolfo
danilo at FreeBSD.org
Wed Nov 20 02:04:55 UTC 2013
Author: danilo
Date: Wed Nov 20 02:04:55 2013
New Revision: 334368
URL: http://svnweb.freebsd.org/changeset/ports/334368
Log:
- Use options helpers
- Improve COMMENT
- Add stage support
Modified:
head/games/bomns/Makefile
Modified: head/games/bomns/Makefile
==============================================================================
--- head/games/bomns/Makefile Wed Nov 20 01:58:24 2013 (r334367)
+++ head/games/bomns/Makefile Wed Nov 20 02:04:55 2013 (r334368)
@@ -8,7 +8,7 @@ CATEGORIES= games
MASTER_SITES= SF/greenridge/Bomns%20for%20Linux/Bomns%20for%20Linux%20${PORTVERSION}
MAINTAINER= ports at 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 OPTIMIZ
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.
More information about the svn-ports-head
mailing list