blob: 6528002724996b530381f5141097415dbcff4329 (
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
47
48
49
50
51
|
# $NetBSD: Makefile,v 1.25 2012/10/06 11:54:55 asau Exp $
#
DISTNAME= stratagus-2.1-src
PKGNAME= ${DISTNAME:S/-src//}
PKGREVISION= 15
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=stratagus/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://stratagus.sourceforge.net/
COMMENT= Real-time strategy engine
MAKE_JOBS_SAFE= no
WRKSRC= ${WRKDIR}/stratagus-040702
USE_TOOLS+= gmake
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
MAKE_ENV+= X11_LDFLAGS=${X_LDFLAGS:M*:Q}
CONFIGURE_ARGS+= --with-flac --with-mad
INSTALLATION_DIRS= bin
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "DragonFly"
X_LDFLAGS= ${X11_LDFLAGS} -lX11
.else
X_LDFLAGS= ${X11_LDFLAGS}
.endif
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"
|