Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Sep 2012 15:47:00 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r304363 - head/audio/madplay
Message-ID:  <201209161547.q8GFl0Yj021592@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dinoex
Date: Sun Sep 16 15:47:00 2012
New Revision: 304363
URL: http://svn.freebsd.org/changeset/ports/304363

Log:
  - use OPTIONS_DEFINE

Modified:
  head/audio/madplay/Makefile

Modified: head/audio/madplay/Makefile
==============================================================================
--- head/audio/madplay/Makefile	Sun Sep 16 15:39:48 2012	(r304362)
+++ head/audio/madplay/Makefile	Sun Sep 16 15:47:00 2012	(r304363)
@@ -30,12 +30,14 @@ ALL_TARGET=	all madtime
 
 MAN1=		abxtest.1 madplay.1
 
-OPTIONS=	NLS "NLS support" on \
-		ESOUND "with esound" on
+OPTIONS_DEFINE=NLS ESOUND
+OPTIONS_DEFAULT=NLS ESOUND
+NO_OPTIONS_SORT=yes
+TCL82_MAN_DESC= Install tcl 8.3 manpages
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-.if !defined(WITHOUT_NLS)
+.if ${PORT_OPTIONS:MNLS}
 USE_GETTEXT=		yes
 PLIST_SUB+=		NLS=""
 .else
@@ -43,7 +45,7 @@ CONFIGURE_ARGS+=	--disable-nls
 PLIST_SUB+=		NLS="@comment "
 .endif
 
-.if !defined(WITHOUT_ESOUND)
+.if ${PORT_OPTIONS:MESOUND}
 USE_GNOME+=	esound
 .else
 CONFIGURE_ARGS+=	--without-esd
@@ -52,4 +54,4 @@ CONFIGURE_ARGS+=	--without-esd
 post-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/madtime ${PREFIX}/bin
 
-.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?201209161547.q8GFl0Yj021592>