summaryrefslogtreecommitdiff
path: root/games/maelstrom/Makefile
diff options
context:
space:
mode:
authortron <tron>1998-07-30 23:11:40 +0000
committertron <tron>1998-07-30 23:11:40 +0000
commit335aeed7ec385d7b82dacf1916b314637fb5e647 (patch)
tree5cb63c15bfb5e65ad90714e0284cd07a60d3f8c1 /games/maelstrom/Makefile
parent272b95894c2341666c1ff46422e9ed8292f504d8 (diff)
downloadpkgsrc-335aeed7ec385d7b82dacf1916b314637fb5e647.tar.gz
New "maelstrom" package created by Tim Rightnour:
an incredible, fast moving, high graphics version of asteroids.
Diffstat (limited to 'games/maelstrom/Makefile')
-rw-r--r--games/maelstrom/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/games/maelstrom/Makefile b/games/maelstrom/Makefile
new file mode 100644
index 00000000000..2193fcb69b2
--- /dev/null
+++ b/games/maelstrom/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1 1998/07/30 23:11:40 tron Exp $
+
+DISTNAME= Maelstrom-1.4.3-L2.0.6-src.tar.gz
+PKGNAME= maelstrom-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
+
+ESOUND= Maelstrom-Sounds-L2.0.0.tar.gz
+STREK= Star_Trek.tar.gz
+SWARS= Star_Wars.tar.gz
+
+EXTRACT_ONLY= ${DISTNAME}
+
+WRKSRC= ${WRKDIR}/Maelstrom
+
+USE_X11= yes
+MAKE_ENV+= BINOWN=${BINOWN} BINGRP=${BINGRP}
+
+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 ${PREFIX}/share/maelstrom/Maelstrom-Scores
+ chmod 0664 ${PREFIX}/share/maelstrom/Maelstrom-Scores
+ ${INSTALL_DATA} ${WRKSRC}/README.* ${PREFIX}/share/maelstrom
+ ${INSTALL_PROGRAM} ${WRKSRC}/netplayd/netplayd ${PREFIX}/bin/Maelstrom_netplayd
+
+.include "../../mk/bsd.pkg.mk"
+.if (${OBJECT_FMT} == "ELF")
+RPATH= -Wl,-R,${PREFIX}/lib
+.endif
+MAKE_ENV+= RPATH=${RPATH}