aboutsummaryrefslogtreecommitdiff
path: root/games/openastromenace
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-06-09 16:37:18 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-06-09 16:37:18 +0000
commitbaf4b561166ac65f9db74dc3a0fceb7e8c5d8e13 (patch)
tree1801eb8ac873ad0d7d0da986040cf43da48267e5 /games/openastromenace
parentd6f18b5b2be3c39884e28b4ad3465c2fe12cadef (diff)
downloadports-baf4b561166ac65f9db74dc3a0fceb7e8c5d8e13.tar.gz
ports-baf4b561166ac65f9db74dc3a0fceb7e8c5d8e13.zip
Notes
Diffstat (limited to 'games/openastromenace')
-rw-r--r--games/openastromenace/Makefile31
-rw-r--r--games/openastromenace/pkg-descr2
-rw-r--r--games/openastromenace/pkg-plist29
3 files changed, 17 insertions, 45 deletions
diff --git a/games/openastromenace/Makefile b/games/openastromenace/Makefile
index efdccf32c157..937abc11dcdb 100644
--- a/games/openastromenace/Makefile
+++ b/games/openastromenace/Makefile
@@ -5,26 +5,26 @@ PORTNAME= openastromenace
PORTVERSION= 1.2.0
PORTREVISION= 11
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:source,data/}
+MASTER_SITES= SF/openastromenace/openastromenace/1.2.0/:source \
+ SF/openastromenace/openastromenace%20vfs/1.2.0/:data
DISTFILES= openamenace-src-${PORTVERSION}${EXTRACT_SUFX}:source \
oamenace-data-1.2.0.tar.bz2:data \
oamenace-lang-${LANGPACK}-${PORTVERSION}${EXTRACT_SUFX}:data
-MASTER_SITE_SUBDIR= openastromenace/openastromenace/1.2.0/:source \
- openastromenace/openastromenace%20vfs/1.2.0/:data
-MAINTAINER= proler@gmail.com
+MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Hardcore 3D space shooter with spaceship upgrade possibilities
-LIB_DEPENDS+= vorbisfile:${PORTSDIR}/audio/libvorbis \
- jpeg:${PORTSDIR}/graphics/jpeg
+LIB_DEPENDS+= libvorbisfile.so:${PORTSDIR}/audio/libvorbis \
+ libjpeg.so:${PORTSDIR}/graphics/jpeg
-USE_BZIP2= yes
+USES= tar:bzip2 cmake dos2unix openal:al,alut
USE_GL= gl glu
-WANT_SDL= yes
USE_SDL= sdl
-USES= cmake dos2unix openal:al,alut
WRKSRC= ${WRKDIR}/OpenAstroMenaceSVN
+PLIST_FILES= bin/AstroMenace
+PORTDATA= *
+
OPTIONS_SINGLE= LANG
OPTIONS_SINGLE_LANG= EN DE RU
OPTIONS_DEFAULT=EN
@@ -33,7 +33,6 @@ EN_DESC= "English language pack"
DE_DESC= "German language pack"
RU_DESC= "Russian language pack"
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MEN}
@@ -53,12 +52,12 @@ post-patch:
${WRKSRC}/AstroMenaceSource/Main.cpp
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/AstroMenace ${PREFIX}/bin
- ${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKDIR}/gamedata.vfs ${DATADIR}/
- ${MKDIR} ${DATADIR}/DATA/SCRIPT
- ${INSTALL_DATA} ${WRKDIR}/DATA/SCRIPT/* ${DATADIR}/DATA/SCRIPT
+ ${INSTALL_PROGRAM} ${WRKSRC}/AstroMenace ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKDIR}/gamedata.vfs ${STAGEDIR}${DATADIR}/
+ ${MKDIR} ${STAGEDIR}${DATADIR}/DATA/SCRIPT
+ ${INSTALL_DATA} ${WRKDIR}/DATA/SCRIPT/* ${STAGEDIR}${DATADIR}/DATA/SCRIPT
${INSTALL_DATA} ${WRKDIR}/gamelang_${LANGPACK}.vfs \
- ${DATADIR}/gamelang.vfs
+ ${STAGEDIR}${DATADIR}/gamelang.vfs
.include <bsd.port.post.mk>
diff --git a/games/openastromenace/pkg-descr b/games/openastromenace/pkg-descr
index 75e2f12cdc97..c99684757a50 100644
--- a/games/openastromenace/pkg-descr
+++ b/games/openastromenace/pkg-descr
@@ -16,3 +16,5 @@ discharging the retributive wrath upon the hordes of enemies, besides it has
a great number of improvements for enhancing the defensive abilities of your
spaceship. Collect money during the combat and invest them into turning your
spaceship into an ultimate weapon of mass destruction.
+
+WWW: http://www.viewizard.com/
diff --git a/games/openastromenace/pkg-plist b/games/openastromenace/pkg-plist
deleted file mode 100644
index 79c47d860958..000000000000
--- a/games/openastromenace/pkg-plist
+++ /dev/null
@@ -1,29 +0,0 @@
-bin/AstroMenace
-%%DATADIR%%/DATA/SCRIPT/PoizAI.xml
-%%DATADIR%%/DATA/SCRIPT/aimode.xml
-%%DATADIR%%/DATA/SCRIPT/list.xml
-%%DATADIR%%/DATA/SCRIPT/mis7ex_ai.xml
-%%DATADIR%%/DATA/SCRIPT/mission1.xml
-%%DATADIR%%/DATA/SCRIPT/mission10.xml
-%%DATADIR%%/DATA/SCRIPT/mission11.xml
-%%DATADIR%%/DATA/SCRIPT/mission12.xml
-%%DATADIR%%/DATA/SCRIPT/mission13.xml
-%%DATADIR%%/DATA/SCRIPT/mission14.xml
-%%DATADIR%%/DATA/SCRIPT/mission15.xml
-%%DATADIR%%/DATA/SCRIPT/mission1_5_done.xml
-%%DATADIR%%/DATA/SCRIPT/mission1_7_done.xml
-%%DATADIR%%/DATA/SCRIPT/mission2.xml
-%%DATADIR%%/DATA/SCRIPT/mission3.xml
-%%DATADIR%%/DATA/SCRIPT/mission4.xml
-%%DATADIR%%/DATA/SCRIPT/mission5.xml
-%%DATADIR%%/DATA/SCRIPT/mission6.xml
-%%DATADIR%%/DATA/SCRIPT/mission7.xml
-%%DATADIR%%/DATA/SCRIPT/mission8.xml
-%%DATADIR%%/DATA/SCRIPT/mission9.xml
-%%DATADIR%%/DATA/SCRIPT/mission_1_(realstudent).xml
-%%DATADIR%%/DATA/SCRIPT/my_aimode_7.xml
-%%DATADIR%%/gamedata.vfs
-%%DATADIR%%/gamelang.vfs
-@dirrm %%DATADIR%%/DATA/SCRIPT
-@dirrm %%DATADIR%%/DATA
-@dirrm %%DATADIR%%