2009-10-28 02:02:03 +01:00
|
|
|
# $NetBSD: Makefile,v 1.3 2009/10/28 01:02:03 joerg Exp $
|
2008-04-27 08:41:08 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= agg-2.5
|
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= http://www.antigrain.com/
|
|
|
|
|
|
|
|
MAINTAINER= matias@dotbsd.org
|
|
|
|
HOMEPAGE= http://www.antigrain.com/
|
|
|
|
COMMENT= High Quality Rendering Engine for C++
|
|
|
|
|
2008-06-12 04:14:13 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2008-04-27 08:41:08 +02:00
|
|
|
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
|
|
|
|
|
2009-10-28 02:02:03 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${X11_TYPE} == "modular"
|
|
|
|
CONFIGURE_ARGS+= --x-includes=${PREFIX}/include
|
|
|
|
CONFIGURE_ARGS+= --x-libraries=${PREFIX}/lib
|
|
|
|
.endif
|
|
|
|
|
2008-04-27 08:41:08 +02:00
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
|
|
.include "../../devel/SDL/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|