blob: 951fc87f397ea2897695647e1d516c15f1128784 (
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
52
|
# $NetBSD: Makefile,v 1.33 2012/02/20 15:39:37 reinoud Exp $
#
DISTNAME= allegro-4.4.2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=alleg/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://alleg.sourceforge.net/
COMMENT= Allegro game programming library
#LICENSE= # TODO: (see mk/license.mk)
PKG_DESTDIR_SUPPORT= user-destdir
USE_CMAKE= yes
USE_TOOLS+= pkg-config makeinfo
USE_LANGUAGES= c c++
INFO_FILES= yes
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
SUBST_CLASSES+= ossmidi
SUBST_STAGE.ossmidi= pre-configure
SUBST_MESSAGE.ossmidi= NetBSD's OSS midi emulation is non-existent.
SUBST_FILES.ossmidi= CMakeLists.txt
SUBST_SED.ossmidi= -e 's/ALLEGRO_WITH_OSSMIDI 1/ALLEGRO_WITH_OSSMIDI 0/'
.endif
PKGCONFIG_OVERRIDE+= misc/logg.pc.in
PKGCONFIG_OVERRIDE+= misc/loadpng.pc.in
PKGCONFIG_OVERRIDE+= misc/allegrogl.pc.in
PKGCONFIG_OVERRIDE+= misc/jpgalleg.pc.in
PKGCONFIG_OVERRIDE+= misc/allegro.pc.in
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXcursor/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXxf86vm/buildlink3.mk"
.include "../../x11/libXxf86dga/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../multimedia/libogg/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../x11/libICE/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|