aboutsummaryrefslogtreecommitdiff
path: root/games/endgame-singularity
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-06-12 16:35:45 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-06-12 16:35:45 +0000
commit3a283e24f296371e9b753c09e3e62a92ef3d8703 (patch)
tree88e0a2bbddafb5c9bdc18e8e02c5e59fb9f9d471 /games/endgame-singularity
parent7a0a8929bea1c510b4f30261d294a78b556b49d7 (diff)
downloadports-3a283e24f296371e9b753c09e3e62a92ef3d8703.tar.gz
ports-3a283e24f296371e9b753c09e3e62a92ef3d8703.zip
Convert to new options framework
Notes
Notes: svn path=/head/; revision=299119
Diffstat (limited to 'games/endgame-singularity')
-rw-r--r--games/endgame-singularity/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/games/endgame-singularity/Makefile b/games/endgame-singularity/Makefile
index 4a9193f8c972..6ea37266f369 100644
--- a/games/endgame-singularity/Makefile
+++ b/games/endgame-singularity/Makefile
@@ -25,11 +25,13 @@ USE_SDL= image mixer
PORTDOCS= AUTHORS Changelog README.txt TODO
PROJECTHOST= ${PKGNAMEPREFIX}${PORTNAME}
-OPTIONS= MUSIC "Install original music pack" on
+OPTIONS_DEFINE= MUSIC DOCS
+OPTIONS_DEFAULT= MUSIC
+MUSIC_DESC= Install original music pack
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if !defined(WITHOUT_MUSIC)
+.if ${PORT_OPTIONS:MMUSIC}
RUN_DEPENDS+= endgame-singularity-music>=006:${PORTSDIR}/games/endgame-singularity-music
.endif
@@ -70,9 +72,9 @@ post-build:
post-install:
@cd ${WRKSRC}/data/&&${COPYTREE_SHARE} . ${DATADIR}/
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.py ${PREFIX}/bin/${PORTNAME}
-.ifndef NOPORTDOCS
+.if ${PORT_OPTIONS:MDOCS}
@${INSTALL} -d ${DOCSDIR}/
@cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>