summaryrefslogtreecommitdiff
path: root/games/majesty-demo/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2003-06-19 16:44:07 +0000
committerwiz <wiz>2003-06-19 16:44:07 +0000
commitac68ce091771b8791186c510063b7fb859dc67ac (patch)
tree068350ede09ba8042687725c3ce78c836a0150db /games/majesty-demo/Makefile
parentd400591a4c261335828357a910e04129ff8fb249 (diff)
downloadpkgsrc-ac68ce091771b8791186c510063b7fb859dc67ac.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.
Diffstat (limited to 'games/majesty-demo/Makefile')
-rw-r--r--games/majesty-demo/Makefile44
1 files changed, 44 insertions, 0 deletions
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"