summaryrefslogtreecommitdiff
path: root/graphics/agg/Makefile
blob: 743ec63d412cd99e718ad2d0bc1e17be56e3eae3 (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
# $NetBSD: Makefile,v 1.8 2012/10/06 14:10:41 asau Exp $
#

DISTNAME=	agg-2.5
PKGREVISION=	1
CATEGORIES=	graphics
MASTER_SITES=	http://www.antigrain.com/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.antigrain.com/
COMMENT=	High Quality Rendering Engine for C++
LICENSE=	gnu-gpl-v2

MAKE_JOBS_SAFE=		no
USE_TOOLS+=	gmake msgfmt pkg-config aclocal autoheader \
            automake autoconf
USE_LANGUAGES=	c c++
USE_LIBTOOL=            yes
GNU_CONFIGURE=          yes

PKGCONFIG_OVERRIDE+=	libagg.pc.in

pre-configure:
	cd ${WRKSRC}; chmod +x autogen.sh; ./autogen.sh

.include "../../mk/bsd.prefs.mk"

.if ${X11_TYPE} == "modular"
CONFIGURE_ARGS+=	--x-includes=${PREFIX}/include
CONFIGURE_ARGS+=	--x-libraries=${PREFIX}/lib
.endif

.include "../../x11/libX11/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"