aboutsummaryrefslogtreecommitdiffstats
path: root/games/naev
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-05-31 22:40:56 +0800
committerjgh <jgh@FreeBSD.org>2013-05-31 22:40:56 +0800
commit5dd3688354ed6e74ed2c8c9e6a5d41dde98c70b6 (patch)
treefd7ac6263851705bfeae2fb7d9dce6af494453c8 /games/naev
parentf865d279ae89cb92e74059f7301e136a9da802d8 (diff)
downloadfreebsd-ports-graphics-5dd3688354ed6e74ed2c8c9e6a5d41dde98c70b6.tar.gz
freebsd-ports-graphics-5dd3688354ed6e74ed2c8c9e6a5d41dde98c70b6.tar.zst
freebsd-ports-graphics-5dd3688354ed6e74ed2c8c9e6a5d41dde98c70b6.zip
- adopt optionsNG for games
- trim historical headers and trim comments - some Makefile cleanup Approved by: portmgr (bapt)
Diffstat (limited to 'games/naev')
-rw-r--r--games/naev/Makefile18
1 files changed, 8 insertions, 10 deletions
diff --git a/games/naev/Makefile b/games/naev/Makefile
index 7a5a44a476a..380e09ce913 100644
--- a/games/naev/Makefile
+++ b/games/naev/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: naev
-# Date created: 2009-04-26
-# Whom: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
-#
+# Created by: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= naev
PORTVERSION= 0.5.3
@@ -35,19 +31,21 @@ MAN6= naev.6
PLIST_FILES= bin/${PORTNAME}
SUB_FILES= pkg-message
-OPTIONS= OPENAL "Use the OpenAL sound backend" on \
- SDL_MIXER "Use the SDL_mixer sound backend" on
+OPTIONS_DEFINE= OPENAL SDL_MIXER
+SDL_MIXER_DESC= SDL_mixer sound backend
+
+OPTIONS_DEFINE= OPENAL SDL_MIXER
.include <bsd.port.options.mk>
-.if defined(WITH_OPENAL)
+.if ${PORT_OPTIONS:MOPENAL}
USE_OPENAL= yes
CONFIGURE_ARGS+= --with-openal=yes
.else
CONFIGURE_ARGS+= --with-openal=no
.endif
-.if defined(WITH_SDL_MIXER)
+.if ${PORT_OPTIONS:MSDL_MIXER}
USE_SDL+= mixer
CONFIGURE_ARGS+= --with-sdlmixer=yes
.else
@@ -56,7 +54,7 @@ CONFIGURE_ARGS+= --with-sdlmixer=no
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
- ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${PREFIX}/man/man6
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${MAN6PREFIX}/man/man6
post-install:
@${CAT} ${PKGMESSAGE}