summaryrefslogtreecommitdiff
path: root/games/scummvm-tools/Makefile
blob: 9bb29a4dca4e0c479f618f2f4c124132bd708b76 (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
# $NetBSD: Makefile,v 1.7 2011/01/13 13:37:51 wiz Exp $
#

DISTNAME=		scummvm-tools-0.9.0
PKGREVISION=		2
CATEGORIES=		games
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=scummvm/}
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://scummvm.sourceforge.net/
COMMENT=		Conversion and compression tools for ScummVM

PKG_DESTDIR_SUPPORT=	user-destdir

WRKSRC=		${WRKDIR}/tools-0.9.0
USE_LANGUAGES=	c c++
USE_TOOLS+=	gmake

DEPENDS+=	flac-[0-9]*:../../audio/flac
DEPENDS+=	lame-[0-9]*:../../audio/lame
DEPENDS+=	vorbis-tools-[0-9]*:../../audio/vorbis-tools

INSTALLATION_DIRS=	bin share/doc/scummvm-tools

do-install:
	for f in compress_kyra compress_queen compress_saga \
        	compress_scumm_san compress_scumm_sou compress_scumm_bun \
        	compress_simon compress_sword1 compress_sword2 dekyra \
        	descumm desword2 encode_dxa extract_kyra extract_loom_tg16 \
        	extract_mm_c64 extract_mm_nes extract_scumm_mac \
        	extract_simon1_amiga extract_zak_c64; \
	do \
		${INSTALL_PROGRAM} ${WRKSRC}/$$f ${DESTDIR}${PREFIX}/bin; \
	done
	${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/scummvm-tools

.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"