diff options
author | wiz <wiz@pkgsrc.org> | 2003-06-19 16:44:07 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2003-06-19 16:44:07 +0000 |
commit | 9d17370af2180640ed5735a11c24fc3303cf9f23 (patch) | |
tree | 068350ede09ba8042687725c3ce78c836a0150db | |
parent | b5ea2c4d208c148ef8c78558225b03bbe11721ff (diff) | |
download | pkgsrc-9d17370af2180640ed5735a11c24fc3303cf9f23.tar.gz |
Initial import of majesty-demo-20030310.
Majesty is a unique sim putting you in the crushed velvet hotseat
of your own kingdom. With an epic quest before you, you make the
decisions of where to build your settlement`s guilds and temples.
Each one has a mind of its own and must be enticed to meet your
goals, via rewards you offer and spells you cast.
Meanwhile you must make sure that your treasury stays flush with
cash to support these and other outlays necessary to maintain a
thriving medieval town. The fact that you are being barraged by
attacks from mythical beasts and fantastic creatures doesn`t make
your job any easier.
This is the demo of the Linux version.
-rw-r--r-- | games/majesty-demo/DESCR | 13 | ||||
-rw-r--r-- | games/majesty-demo/Makefile | 44 | ||||
-rw-r--r-- | games/majesty-demo/PLIST | 35 | ||||
-rw-r--r-- | games/majesty-demo/distinfo | 4 | ||||
-rw-r--r-- | games/majesty-demo/files/wrapper.sh | 13 |
5 files changed, 109 insertions, 0 deletions
diff --git a/games/majesty-demo/DESCR b/games/majesty-demo/DESCR new file mode 100644 index 00000000000..b5070bf0f82 --- /dev/null +++ b/games/majesty-demo/DESCR @@ -0,0 +1,13 @@ +Majesty is a unique sim putting you in the crushed velvet hotseat +of your own kingdom. With an epic quest before you, you make the +decisions of where to build your settlement`s guilds and temples. +Each one has a mind of its own and must be enticed to meet your +goals, via rewards you offer and spells you cast. + +Meanwhile you must make sure that your treasury stays flush with +cash to support these and other outlays necessary to maintain a +thriving medieval town. The fact that you are being barraged by +attacks from mythical beasts and fantastic creatures doesn`t make +your job any easier. + +This is the demo of the Linux version. diff --git a/games/majesty-demo/Makefile b/games/majesty-demo/Makefile new file mode 100644 index 00000000000..00547551327 --- /dev/null +++ b/games/majesty-demo/Makefile @@ -0,0 +1,44 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/06/19 16:44:07 wiz Exp $ +# + +DISTNAME= majesty_demo +PKGNAME= majesty-demo-20030310 +WRKSRC= ${WRKDIR} +CATEGORIES= games +MASTER_SITES= http://demos.linuxgamepublishing.com/majesty/ +EXTRACT_SUFX= .run + +MAINTAINER= wiz@netbsd.org +HOMEPAGE= http://majesty.linuxgamepublishing.com/ +COMMENT= fantasy kingdom simulation (demo) + +EXTRACT_CMD= ${SED} '1,/^END_OF_STUB$$/d' ${DOWNLOADED_DISTFILE} | \ + ${GZCAT} | ${PAX} -O -r + +ONLY_FOR_PLATFORM=*-*-i386 + +.if (${MACHINE_ARCH} == "i386") +DEPENDS+= suse_x11>=6.3:../../emulators/${SUSE_DIR_PREFIX}_x11 +.endif + +BINNAME= maj_demo +LGP_PATH= ${PREFIX}/lib/lgp +MAJ_PATH= ${LGP_PATH}/maj_demo + +do-build: + ${SED} -e 's#@@PREFIX@@#${PREFIX}#g' \ + -e 's#@@LIBDIR@@#${MAJ_PATH}#g' \ + -e 's#@@BINNAME@@#${BINNAME}#g' \ + <${FILESDIR}/wrapper.sh >${WRKDIR}/${BINNAME}.sh + +do-install: + ${INSTALL_DATA_DIR} ${LGP_PATH} + ${INSTALL_DATA_DIR} ${MAJ_PATH} + ${INSTALL_PROGRAM} ${WRKDIR}/bin/Linux/x86/glibc-2.1/maj_demo \ + ${MAJ_PATH} + cd ${WRKDIR} && ${PAX} -rw README README.licenses data majesty* \ + quests ${MAJ_PATH} + ${INSTALL_SCRIPT} ${WRKDIR}/${BINNAME}.sh ${PREFIX}/bin/${BINNAME} + +.include "../../emulators/suse_linux/Makefile.application" +.include "../../mk/bsd.pkg.mk" diff --git a/games/majesty-demo/PLIST b/games/majesty-demo/PLIST new file mode 100644 index 00000000000..fe0f14a8de5 --- /dev/null +++ b/games/majesty-demo/PLIST @@ -0,0 +1,35 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/06/19 16:44:07 wiz Exp $ +bin/maj_demo +lib/lgp/maj_demo/maj_demo +lib/lgp/maj_demo/README +lib/lgp/maj_demo/README.licenses +lib/lgp/maj_demo/data/action.cam +lib/lgp/maj_demo/data/bytecode.bcd +lib/lgp/maj_demo/data/company.cam +lib/lgp/maj_demo/data/constants.rgs +lib/lgp/maj_demo/data/gpltext.cam +lib/lgp/maj_demo/data/interfacedata.cam +lib/lgp/maj_demo/data/maindata.cam +lib/lgp/maj_demo/data/miscdata.cam +lib/lgp/maj_demo/data/promo01.bmp +lib/lgp/maj_demo/data/promo02.bmp +lib/lgp/maj_demo/data/promo03.bmp +lib/lgp/maj_demo/data/sounddesc.cam +lib/lgp/maj_demo/data/soundfx.cam +lib/lgp/maj_demo/data/terrtype.cam +lib/lgp/maj_demo/data/textdata.cam +lib/lgp/maj_demo/data/tilesetdata.cam +lib/lgp/maj_demo/data/titlepage.bmp +lib/lgp/maj_demo/data/unittype.cam +lib/lgp/maj_demo/data/voices.cam +lib/lgp/maj_demo/data/cinedata1.cam +lib/lgp/maj_demo/data/promo04.bmp +lib/lgp/maj_demo/majesty.bmp +lib/lgp/maj_demo/majesty.xpm +lib/lgp/maj_demo/majestysite.url +lib/lgp/maj_demo/quests/vampiric_revenge.qdd +lib/lgp/maj_demo/quests/vampiric_revenge.q +@dirrm lib/lgp/maj_demo/quests +@dirrm lib/lgp/maj_demo/data +@dirrm lib/lgp/maj_demo +@unexec ${RMDIR} %D/lib/lgp 2>/dev/null || ${TRUE} diff --git a/games/majesty-demo/distinfo b/games/majesty-demo/distinfo new file mode 100644 index 00000000000..2ee3db0c934 --- /dev/null +++ b/games/majesty-demo/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/06/19 16:44:07 wiz Exp $ + +SHA1 (majesty_demo.run) = b17d7eb5dac703cf8a7c3a6a5cf9c55cfd8d7e1c +Size (majesty_demo.run) = 43170241 bytes diff --git a/games/majesty-demo/files/wrapper.sh b/games/majesty-demo/files/wrapper.sh new file mode 100644 index 00000000000..c00bdd23205 --- /dev/null +++ b/games/majesty-demo/files/wrapper.sh @@ -0,0 +1,13 @@ +#!/bin/sh -e +# $NetBSD: wrapper.sh,v 1.1.1.1 2003/06/19 16:44:07 wiz Exp $ +# Simple wrapper for lgp's @@BINNAME@@ + +# Linux binary calls mkdir for this with a trailing '/' +if [ ! -d $HOME/.lgp ];then + mkdir $HOME/.lgp +fi +if [ ! -d $HOME/.lgp/maj_demo ];then + mkdir $HOME/.lgp/maj_demo +fi +cd @@LIBDIR@@ +exec ./@@BINNAME@@ "$@" |