blob: 9517925899948c7808685e07137ee19f78ce5a63 (
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
40
41
42
43
44
45
46
47
48
49
50
51
|
# $NetBSD: Makefile,v 1.1.1.1 2008/03/14 01:01:56 wiz Exp $
#
DISTNAME= Gate88_Mar19_05
PKGNAME= gate88-20050319
CATEGORIES= games
MASTER_SITES= http://www.queasygames.com/gate88/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.queasygames.com/gate88/
COMMENT= Deep space intergalactic battle
EMUL_PLATFORMS= linux-i386
EMUL_MODULES.linux= base x11
USE_LANGUAGES= # none
LICENSE= gate88-license
RESTRICTED= ${LICENSE}
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_SRC_ON_FTP= ${RESTRICTED}
INSTALLATION_DIRS= bin lib/gate88 lib/gate88/lib lib/gate88/music
INSTALLATION_DIRS+= lib/gate88/music/non-ingame lib/gate88/sound
INSTALLATION_DIRS+= share/doc/gate88
do-build:
sed "s,@PREFIX@,${PREFIX}," files/gate88 > ${WRKSRC}/gate88.sh
sed "s,@PREFIX@,${PREFIX}," files/gate88server > \
${WRKSRC}/gate88server.sh
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/gate88.sh ${PREFIX}/bin/gate88
${INSTALL_SCRIPT} ${WRKSRC}/gate88server.sh ${PREFIX}/bin/gate88server
${INSTALL_PROGRAM} ${WRKSRC}/gate88 ${PREFIX}/lib/gate88
for i in audio.conf colours.conf debug.conf irc_client.conf \
irc_connection.conf masterserver.conf multiplayer.conf \
practice.conf server.conf textcolours.conf video.conf; do \
${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/lib/gate88; \
done
for i in LGPL_license.txt license.txt readme.txt manual.html; do \
${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/gate88; \
done
${INSTALL_LIB} ${WRKSRC}/lib/* ${PREFIX}/lib/gate88/lib
${INSTALL_DATA} ${WRKSRC}/music/*.ogg ${PREFIX}/lib/gate88/music
${INSTALL_DATA} ${WRKSRC}/music/non-ingame/*.ogg \
${PREFIX}/lib/gate88/music/non-ingame
${INSTALL_DATA} ${WRKSRC}/sound/* ${PREFIX}/lib/gate88/sound
.include "../../mk/bsd.pkg.mk"
|