Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Oct 2012 06:21:15 +0000 (UTC)
From:      Jason Helfman <jgh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305950 - head/games/xgalaga
Message-ID:  <201210160621.q9G6LFhw065811@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jgh
Date: Tue Oct 16 06:21:15 2012
New Revision: 305950
URL: http://svn.freebsd.org/changeset/ports/305950

Log:
  - adopt optionsNG
  - trim header while here
  
  PR:		172739
  Submitted by:	maintainer, turutani@scphys.kyoto-u.ac.jp
  Feature safe:	yes

Modified:
  head/games/xgalaga/Makefile

Modified: head/games/xgalaga/Makefile
==============================================================================
--- head/games/xgalaga/Makefile	Tue Oct 16 05:38:25 2012	(r305949)
+++ head/games/xgalaga/Makefile	Tue Oct 16 06:21:15 2012	(r305950)
@@ -1,9 +1,6 @@
-# New ports collection makefile for:	xgalaga
-# Date created:		27 August 1995
-# Whom:			asami
+# Created by:	asami
 #
 # $FreeBSD$
-#
 
 PORTNAME=	xgalaga
 PORTVERSION=	2.1.1.0
@@ -23,11 +20,12 @@ CONFIGURE_ARGS=	--prefix=${LOCALBASE}/li
 		--mandir=${LOCALBASE}/man \
 		--exec_prefix=${LOCALBASE}/bin
 
-OPTIONS=	SOUND	"Sound support"	on
+OPTIONS_DEFINE=	SOUND
+OPTIONS_DEFAULT=	SOUND
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-.if defined(WITHOUT_SOUND) || defined(NOSOUND)
+.if empty(PORT_OPTIONS:MSOUND)
 CONFIGURE_ARGS+=	--without-sound
 PLIST_SUB=	SOUND="@comment "
 .else
@@ -37,4 +35,4 @@ PLIST_SUB=	SOUND=""
 post-install:
 	@${STRIP_CMD} ${PREFIX}/bin/xgalaga
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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