Date: Mon, 1 Oct 2012 13:27:48 +0000 (UTC) From: Pietro Cerutti <gahr@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r305120 - head/games/atr3d Message-ID: <201210011327.q91DRmEw054073@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gahr Date: Mon Oct 1 13:27:48 2012 New Revision: 305120 URL: http://svn.freebsd.org/changeset/ports/305120 Log: - Convert to OptionsNG Notified by: http://wiki.freebsd.org/Ports/Options/ConvertingToOptionsNG Modified: head/games/atr3d/Makefile (contents, props changed) Modified: head/games/atr3d/Makefile ============================================================================== --- head/games/atr3d/Makefile Mon Oct 1 13:23:35 2012 (r305119) +++ head/games/atr3d/Makefile Mon Oct 1 13:27:48 2012 (r305120) @@ -16,7 +16,8 @@ EXTRACT_SUFX= .tgz MAINTAINER= gahr@FreeBSD.org COMMENT= 3D asteroids-like multiplayer game -OPTIONS= SOUND "Enable sound" ON +OPTIONS_DEFINE= OPENAL +OPTIONS_DEFAULT=OPENAL SDL_CONFIG?= ${LOCALBASE}/bin/sdl-config @@ -27,16 +28,15 @@ USE_GL= glut glu USE_XORG= xmu xi x11 USE_PERL5_BUILD=yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-sound CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" USE_AUTOTOOLS= automake autoconf CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include ${PTHREAD_CFLAGS} LDFLAGS+= -L${LOCALBASE}/lib -L${LOCALBASE}/lib ${PTHREAD_LIBS} -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if !defined(WITHOUT_SOUND) +.if ${PORT_OPTIONS:MOPENAL} USE_OPENAL= alut CONFIGURE_ARGS+= --enable-sound .else @@ -60,4 +60,4 @@ post-configure: 's|-lpthread|${PTHREAD_LIBS}|g' \ ${WRKSRC}/Makefile -.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?201210011327.q91DRmEw054073>