blob: cdeb03e1a8b1cbb6a71d8be5baedf3b465c4e744 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# $NetBSD: Makefile,v 1.6 1999/03/08 08:20:27 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
HOMEPAGE= http://www.ambrosiasw.com/Products/Maelstrom.html
DEPENDS+= xpm-3.4k:../../graphics/xpm
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_X11BASE= 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 /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"
|