aboutsummaryrefslogtreecommitdiff
path: root/games/linux-enemyterritory-omni-bot-0660/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/linux-enemyterritory-omni-bot-0660/Makefile')
-rw-r--r--games/linux-enemyterritory-omni-bot-0660/Makefile21
1 files changed, 3 insertions, 18 deletions
diff --git a/games/linux-enemyterritory-omni-bot-0660/Makefile b/games/linux-enemyterritory-omni-bot-0660/Makefile
index d0eb3263c22c..cf362627591c 100644
--- a/games/linux-enemyterritory-omni-bot-0660/Makefile
+++ b/games/linux-enemyterritory-omni-bot-0660/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= omni-bot
-PORTVERSION= 0.52
+PORTVERSION= 0.531
CATEGORIES= games linux
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= alepulver
@@ -18,24 +18,14 @@ COMMENT= Omni-Bot is a bot for Enemy Territory
RUN_DEPENDS= et:${PORTSDIR}/games/linux-enemyterritory
ONLY_FOR_ARCHS= i386
+ONLY_FOR_ARCHS_REASON= is an i386 Linux binary
USE_ZIP= yes
USE_LINUX= yes
NO_WRKSUBDIR= yes
-OPTIONS= ETPUB "Enable ETPub support" off
-
DATADIR= ${PREFIX}/lib/enemyterritory
DOCSDIR= ${PREFIX}/share/doc/enemyterritory-${PORTNAME}
-.include <bsd.port.pre.mk>
-
-.if defined(WITH_ETPUB)
-RUN_DEPENDS+= et-etpub:${PORTSDIR}/games/linux-enemyterritory-etpub
-PLIST_SUB+= ETPUB=""
-.else
-PLIST_SUB+= ETPUB="@comment "
-.endif
-
do-build:
.for f in et etded
@(${ECHO} "#!/bin/sh"; \
@@ -52,11 +42,6 @@ do-install:
${CP} -R ${WRKSRC}/omni-bot/et ${DATADIR}/${PORTNAME}
${INSTALL_PROGRAM} ${WRKSRC}/omnibot/qagame.mp.i386.so ${DATADIR}/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/omnibot/omnibot_et.pk3 ${DATADIR}/${PORTNAME}
-.if defined(WITH_ETPUB)
- cd ${DATADIR}/etpub && ${MV} qagame.mp.i386.so qagame.mp.i386.so.old
- ${INSTALL_PROGRAM} ${WRKSRC}/etpub/qagame.mp.i386.so ${DATADIR}/etpub
- ${INSTALL_DATA} ${WRKSRC}/etpub/omnibot_etpub.pk3 ${DATADIR}/etpub
-.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
. for f in *.txt omni-bot/*.txt
@@ -65,4 +50,4 @@ do-install:
${CP} -R ${WRKSRC}/omni-bot/docs ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>