aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorflo <flo@FreeBSD.org>2012-09-05 05:54:41 +0800
committerflo <flo@FreeBSD.org>2012-09-05 05:54:41 +0800
commit541f31b0d64f44f89e4c10c972d318d81dff34be (patch)
tree7192c105c5555490e908998c9628b9be5985dde2 /games
parent1d1f0056e05bc3c07687df5d6f5081eceef9a629 (diff)
downloadfreebsd-ports-gnome-541f31b0d64f44f89e4c10c972d318d81dff34be.tar.gz
freebsd-ports-gnome-541f31b0d64f44f89e4c10c972d318d81dff34be.tar.zst
freebsd-ports-gnome-541f31b0d64f44f89e4c10c972d318d81dff34be.zip
convert to OptionsNG
PR: ports/171300 Submitted by: Barbara <barbara.xxx1975@libero.it>
Diffstat (limited to 'games')
-rw-r--r--games/linux-enemyterritory-jaymod/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/games/linux-enemyterritory-jaymod/Makefile b/games/linux-enemyterritory-jaymod/Makefile
index 0b954758b094..afe7dee2b1c6 100644
--- a/games/linux-enemyterritory-jaymod/Makefile
+++ b/games/linux-enemyterritory-jaymod/Makefile
@@ -19,7 +19,8 @@ RUN_DEPENDS= et:${PORTSDIR}/games/linux-enemyterritory
USE_LINUX= yes
-OPTIONS= OMNIBOT "Install Omni-Bot for bot support" off
+OPTIONS_DEFINE= OMNIBOT
+OMNIBOT_DESC= Install Omni-Bot for bot support
DATADIR= ${PREFIX}/lib/enemyterritory/${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc/enemyterritory-${PORTNAME}
@@ -27,9 +28,9 @@ DOCSDIR= ${PREFIX}/share/doc/enemyterritory-${PORTNAME}
CLIENT_PK3= ${PORTNAME}-${PORTVERSION}.pk3
PLIST_SUB= CLIENT_PK3="${CLIENT_PK3}"
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_OMNIBOT)
+.if ${PORT_OPTIONS:MOMNIBOT}
RUN_DEPENDS+= et-omni-bot:${PORTSDIR}/games/linux-enemyterritory-omni-bot
.endif
@@ -64,4 +65,4 @@ post-install:
${CP} -p ${DATADIR}/server.cfg.sample ${DATADIR}/server.cfg ; \
fi
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>