blob: e1fb0c3f6df5bc1fe73bb1475b1080489987344e (
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
|
# $NetBSD: Makefile,v 1.19 2009/06/30 00:07:16 joerg Exp $
#
DISTNAME= stratagus-2.1-src
PKGNAME= ${DISTNAME:S/-src//}
PKGREVISION= 11
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=stratagus/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://stratagus.sourceforge.net/
COMMENT= Real-time strategy engine
PKG_DESTDIR_SUPPORT= user-destdir
MAKE_JOBS_SAFE= no
WRKSRC= ${WRKDIR}/stratagus-040702
USE_TOOLS+= gmake
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
MAKE_ENV+= X11_LDFLAGS=${X11_LDFLAGS:M*:Q}
CONFIGURE_ARGS+= --with-flac --with-mad
INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/stratagus ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/stratagus
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/stratagus/graphics
${INSTALL_DATA} ${WRKSRC}/doc/*.* ${DESTDIR}${PREFIX}/share/doc/stratagus
${INSTALL_DATA} ${WRKSRC}/doc/graphics/* \
${DESTDIR}${PREFIX}/share/doc/stratagus/graphics
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../audio/flac/buildlink3.mk"
.include "../../audio/libmad/buildlink3.mk"
.include "../../audio/libmikmod/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../lang/lua/buildlink3.mk"
.include "../../multimedia/libogg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|