aboutsummaryrefslogtreecommitdiff
path: root/games/mirrormagic
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/mirrormagic
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/mirrormagic')
-rw-r--r--games/mirrormagic/Makefile19
1 files changed, 8 insertions, 11 deletions
diff --git a/games/mirrormagic/Makefile b/games/mirrormagic/Makefile
index 7bdad5fe8568..7812ce22a53c 100644
--- a/games/mirrormagic/Makefile
+++ b/games/mirrormagic/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: mirrormagic
-# Date created: 1 April 1998
-# Whom: Andrey Zakhvatov
-#
+# Created by: Andrey Zakhvatov
# $FreeBSD$
-#
PORTNAME= mirrormagic
PORTVERSION= 2.0.2
@@ -13,7 +9,7 @@ MASTER_SITES= http://www.artsoft.org/RELEASES/unix/mirrormagic/ \
http://mirror.amdmi3.ru/distfiles/
MAINTAINER= amdmi3@FreeBSD.org
-COMMENT= An arcade style game with stereo sound for X Window System
+COMMENT= Arcade style game with stereo sound for X Window System
LICENSE= GPLv2
@@ -23,11 +19,12 @@ MAKE_ARGS= CC="${CC}" MAKE="${GMAKE}" OPTIONS="${CFLAGS}" \
X11_PATH="${LOCALBASE}"
WANT_SDL= yes
-OPTIONS= SDL "SDL support" on
+OPTIONS_DEFINE= SDL
+OPTIONS_DEFAULT= SDL
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if !defined(WITHOUT_SDL)
+.if ${PORT_OPTIONS:MSDL}
USE_SDL= image mixer sdl
ALL_TARGET= sdl
.else
@@ -50,11 +47,11 @@ do-install:
${TAR} -C ${DATADIR} -xf -
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}
@${CHMOD} 777 ${DATADIR}/scores
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for file in CHANGES CREDITS README
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>