pkgsrc/graphics/agg/Makefile
bsiegert 0e88fa5e7b agg: fix build with newer automake.
Skip the examples directory. Switch to using autoreconf.
2018-12-14 17:03:04 +00:00

36 lines
919 B
Makefile

# $NetBSD: Makefile,v 1.12 2018/12/14 17:03:04 bsiegert Exp $
#
DISTNAME= agg-2.5
PKGREVISION= 5
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 autoreconf
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
PKGCONFIG_OVERRIDE+= libagg.pc.in
pre-configure:
cd ${WRKSRC}; ${TOOLS_PATH.autoreconf} -vi
.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"