pkgsrc-wip/overgod/Makefile
Thomas Klausner 953f05e4a6 Initial import of overgod-1.0:
For too long has humanity been ruled by cruel and disputatious
gods! Fly through the various layers of the Celestial Oversphere
to unseat those who control the universe.

Basically, you control a little vehicle in the middle of the screen
and fly around and shoot things - a bit like asteroids, but the
asteroids move independently and shoot back. You can also upgrade
your vehicle in various ways.

Features include:
- Over 100 different enemies
- Lots of randomness and chaos
- Various different modes and unlockable challenges
- 1 or 2 players (splitscreen)
- Pretty low system requirements (about 300MHz is plenty, and it
  doesn't need any kind of fancy graphics card)
- Days of fun!

TODO:

Writes config and highscore to ${PREFIX}/share/overgod.
Either find a different solution or make dir group games writeable
and overgod setgid games.
2009-07-18 15:25:55 +00:00

46 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2009/07/18 15:25:55 thomasklausner Exp $
#
DISTNAME= ogsrc10
PKGNAME= overgod-1.0
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=overgod/}
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.allegro.cc/depot/Overgod
COMMENT= Shoot'em Up
LICENSE= gnu-gpl-v2
WRKSRC= ${WRKDIR}
PKG_DESTDIR_SUPPORT= user-destdir
INSTALLATION_DIRS= bin libexec share/doc/overgod
INSTALLATION_DIRS+= share/overgod/gfx share/overgod/wavs/beat
do-build:
cd ${WRKSRC} && \
for i in *.c; \
do \
j=`${ECHO} $$i | sed "s/.c$$/.o/"`; \
gcc $$i `allegro-config --cflags` -o $$j -c; \
done; \
gcc -o overgod *.o `allegro-config --libs`
${ECHO} "#!/bin/sh" > ${WRKSRC}/overgod.sh
${ECHO} "cd ${PREFIX}/share/overgod && ${PREFIX}/libexec/overgod" \
>> ${WRKSRC}/overgod.sh
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/overgod ${DESTDIR}${PREFIX}/libexec
${INSTALL_SCRIPT} ${WRKSRC}/overgod.sh ${DESTDIR}${PREFIX}/bin/overgod
${INSTALL_DATA} ${WRKSRC}/readme.txt \
${DESTDIR}${PREFIX}/share/doc/overgod
${INSTALL_DATA} ${WRKSRC}/gfx/* \
${DESTDIR}${PREFIX}/share/overgod/gfx
${INSTALL_DATA} ${WRKSRC}/wavs/*.* \
${DESTDIR}${PREFIX}/share/overgod/wavs
${INSTALL_DATA} ${WRKSRC}/wavs/beat/* \
${DESTDIR}${PREFIX}/share/overgod/wavs/beat
.include "../../devel/allegro/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"