summaryrefslogtreecommitdiff
path: root/games/starfighter/Makefile
blob: d11403679d7d2ca83e20fa29ed97fef529d53b71 (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
# $NetBSD: Makefile,v 1.18 2008/05/26 02:13:19 joerg Exp $
#

DISTNAME=	starfighter-1.1-1
PKGNAME=	starfighter-1.1.1
PKGREVISION=	6
CATEGORIES=	games
MASTER_SITES=	ftp://ftp.NetBSD.org/pub/NetBSD/misc/xtraeme/
DISTFILES=	${DISTNAME}.tar.gz starfighter-1.0-1.music.zip

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.parallelrealities.co.uk/starfighter.php
COMMENT=	Old school 2D shoot them up

USE_TOOLS+=	gmake pax
USE_LANGUAGES=	c++
WRKSRC=		${WRKDIR}/${DISTNAME:S/-1$//}

CONFLICTS+=	starfighter-1.1-[0-9]*

MAKE_FILE=	makefile

post-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/starfighter/music
	${CHMOD} 644 ${WRKDIR}/music/*
	cd ${WRKDIR}/music && pax -rw . \
		${PREFIX}/share/starfighter/music

.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../graphics/SDL_image/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"