aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2012-10-16 14:21:15 +0800
committerjgh <jgh@FreeBSD.org>2012-10-16 14:21:15 +0800
commit1bfdf8a3dd3be9fe958e26ca5a4a27aba8d5ddd1 (patch)
tree7a3771e2406d2315c5a75e105a46bbf572c15dca /games
parent9e8e5819300576be3575f73e9733d40fb2ed5491 (diff)
downloadfreebsd-ports-gnome-1bfdf8a3dd3be9fe958e26ca5a4a27aba8d5ddd1.tar.gz
freebsd-ports-gnome-1bfdf8a3dd3be9fe958e26ca5a4a27aba8d5ddd1.tar.zst
freebsd-ports-gnome-1bfdf8a3dd3be9fe958e26ca5a4a27aba8d5ddd1.zip
- adopt optionsNG
- trim header while here PR: 172739 Submitted by: maintainer, turutani@scphys.kyoto-u.ac.jp Feature safe: yes
Diffstat (limited to 'games')
-rw-r--r--games/xgalaga/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/games/xgalaga/Makefile b/games/xgalaga/Makefile
index 24b7b3013994..a99ae5a12c97 100644
--- a/games/xgalaga/Makefile
+++ b/games/xgalaga/Makefile
@@ -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}/lib/X11/xgalaga \
--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>