aboutsummaryrefslogtreecommitdiff
path: root/games/balazarbrothers
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/balazarbrothers
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/balazarbrothers')
-rw-r--r--games/balazarbrothers/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/games/balazarbrothers/Makefile b/games/balazarbrothers/Makefile
index 058f61e0a97d..5742c578d85a 100644
--- a/games/balazarbrothers/Makefile
+++ b/games/balazarbrothers/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: balazarbrothers
-# Date created: 2006-05-07
-# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
-#
+# Created by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
# $FreeBSD$
-#
PORTNAME= balazarbrothers
PORTVERSION= 0.3.1
@@ -34,12 +30,14 @@ PYDISTUTILS_PKGNAME= BalazarBrothers
PYDISTUTILS_EGGINFODIR= ${PREFIX}/share
DATADIR= share/balazar_brothers
-OPTIONS= OPENAL "Use openal sound system" on
+OPTIONS_DEFINE= OPENAL
+OPTIONS_DEFAULT= OPENAL
+.include <bsd.port.options.mk>
.include <bsd.port.pre.mk>
-.if !defined(WITHOUT_OPENAL)
-RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_openal.so:${PORTSDIR}/audio/py-openal
+.if ${PORT_OPTIONS:MOPENAL}
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}openal>=0:${PORTSDIR}/audio/py-openal
.endif
post-patch: