pkgsrc/games/gate88/Makefile
rillig 7a273b1698 games/*: fix alignment of variable values
pkglint -Wall -r --autofix --only aligned

After running the above command, three packages had to be adjusted
manually:

In maelstrom-x11, pkglint didn't see that a commented variable
assignment should have been re-aligned as well.

In netmaze, there was a single line that didn't align well with all the
others, but pkglint decided to adjust the whole paragraph to this single
line. The result would have been ok, but not good.

In tscp, there was a paragraph where some of the lines were indented
one space more than the others. This rule is useful when one variable
name is very long compared to the others, but not in this case.
2018-01-14 17:33:57 +00:00

51 lines
1.8 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2018/01/14 17:33:59 rillig 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
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}
EMUL_PLATFORMS= linux-i386
EMUL_MODULES.linux= base x11
USE_LANGUAGES= # none
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 ${DESTDIR}${PREFIX}/bin/gate88
${INSTALL_SCRIPT} ${WRKSRC}/gate88server.sh ${DESTDIR}${PREFIX}/bin/gate88server
${INSTALL_PROGRAM} ${WRKSRC}/gate88 ${DESTDIR}${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 ${DESTDIR}${PREFIX}/lib/gate88; \
done
for i in LGPL_license.txt license.txt readme.txt manual.html; do \
${INSTALL_DATA} ${WRKSRC}/$$i ${DESTDIR}${PREFIX}/share/doc/gate88; \
done
${INSTALL_LIB} ${WRKSRC}/lib/* ${DESTDIR}${PREFIX}/lib/gate88/lib
${INSTALL_DATA} ${WRKSRC}/music/*.ogg ${DESTDIR}${PREFIX}/lib/gate88/music
${INSTALL_DATA} ${WRKSRC}/music/non-ingame/*.ogg \
${DESTDIR}${PREFIX}/lib/gate88/music/non-ingame
${INSTALL_DATA} ${WRKSRC}/sound/* ${DESTDIR}${PREFIX}/lib/gate88/sound
.include "../../mk/bsd.pkg.mk"