aboutsummaryrefslogtreecommitdiff
path: root/games/naev
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2013-05-31 14:40:56 +0000
committerJason Helfman <jgh@FreeBSD.org>2013-05-31 14:40:56 +0000
commit8199e9dc487a0e6b99c306fa637033bf11374c41 (patch)
treefd7ac6263851705bfeae2fb7d9dce6af494453c8 /games/naev
parentfe6302c7633911c7e779bee40e0b1c093ff8260a (diff)
downloadports-8199e9dc487a0e6b99c306fa637033bf11374c41.tar.gz
ports-8199e9dc487a0e6b99c306fa637033bf11374c41.zip
- adopt optionsNG for games
- trim historical headers and trim comments - some Makefile cleanup Approved by: portmgr (bapt)
Notes
Notes: svn path=/head/; revision=319495
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 7a5a44a476ab..380e09ce9133 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}