Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2013 02:04:55 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334368 - head/games/bomns
Message-ID:  <201311200204.rAK24tJw076157@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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.



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