svn commit: r305950 - head/games/xgalaga
Jason Helfman
jgh at FreeBSD.org
Tue Oct 16 06:21:16 UTC 2012
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 at 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>
More information about the svn-ports-head
mailing list