summaryrefslogtreecommitdiff
path: root/games/maelstrom-x11/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-07-11 13:26:12 +0000
committerwiz <wiz@pkgsrc.org>2002-07-11 13:26:12 +0000
commit6d5dc9656fefe759f73494a9fe29014fd9ad6eb5 (patch)
tree7cfbcdfd7cd8881cb4a67df50eed12c4a9feefc7 /games/maelstrom-x11/Makefile
parent5b89a9f6abe62b944054cbc5c52f9814cf4ad693 (diff)
downloadpkgsrc-6d5dc9656fefe759f73494a9fe29014fd9ad6eb5.tar.gz
Re-import of maelstrom as maelstrom-x11 to better show which version it is;
also, the SDL version seems to be the only one that's under development right now. Requested in pkg/15583 by Ben Wong.
Diffstat (limited to 'games/maelstrom-x11/Makefile')
-rw-r--r--games/maelstrom-x11/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/games/maelstrom-x11/Makefile b/games/maelstrom-x11/Makefile
new file mode 100644
index 00000000000..dc9cd989477
--- /dev/null
+++ b/games/maelstrom-x11/Makefile
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/07/11 13:26:12 wiz Exp $
+
+DISTNAME= Maelstrom-1.4.3-L2.0.6-src.tar.gz
+PKGNAME= maelstrom-x11-2.0.6
+CATEGORIES= games x11
+MASTER_SITES+= ftp://ftp.devolution.com/pub/maelstrom/
+MASTER_SITES+= ftp://ftp.devolution.com/pub/maelstrom/Maelstrom-binaries/
+MASTER_SITES+= ftp://ftp.devolution.com/pub/maelstrom/Add-Ons/
+DISTFILES= ${DISTNAME} ${STREK} ${SWARS} ${ESOUND}
+
+MAINTAINER= root@garbled.net
+HOMEPAGE= http://www.ambrosiasw.com/Products/Maelstrom.html
+COMMENT= Incredible, fast moving, high graphics version of asteroids (X11 version)
+
+ESOUND= Maelstrom-Sounds-L2.0.0.tar.gz
+STREK= Star_Trek.tar.gz
+SWARS= Star_Wars.tar.gz
+
+CONFLICTS= maelstrom-[0-9]* maelstrom-sdl-[0-9]*
+
+EXTRACT_ONLY= ${DISTNAME}
+WRKSRC= ${WRKDIR}/Maelstrom
+
+USE_X11BASE= YES
+USE_XPM= YES
+EVAL_PREFIX+= XPMDIR=xpm
+MAKE_ENV+= BINOWN=${BINOWN} BINGRP=${BINGRP} XPMDIR=${XPMDIR}
+
+post-install:
+ cd ${PREFIX}/share/maelstrom && \
+ ${PAX} -rzf ${DISTDIR}/${ESOUND} -p m && \
+ ${PAX} -rzf ${DISTDIR}/${STREK} -p m && \
+ ${PAX} -rzf ${DISTDIR}/${SWARS} -p m
+ ${CHOWN} ${BINOWN}:games ${PREFIX}/bin/Maelstrom
+ ${CHMOD} 2755 ${PREFIX}/bin/Maelstrom
+ ${CHOWN} ${BINOWN}:games /var/games/Maelstrom-Scores
+ ${CHMOD} 0664 /var/games/Maelstrom-Scores
+ ${INSTALL_DATA} ${WRKSRC}/README.* ${PREFIX}/share/maelstrom
+ ${INSTALL_PROGRAM} ${WRKSRC}/netplayd/netplayd ${PREFIX}/bin/Maelstrom_netplayd
+
+.include "../../mk/bsd.pkg.mk"