pkgsrc/graphics/cairo/Makefile
drochner a640febe7b update to 1.8.0
from the announcement:
The dominant theme of this release is improvements to cairo's ability
to handle text. The highlights include a new "user fonts" feature as
well as a new cairo_show_text_glyphs API which allows glyphs to be
embedded in PDF output along with their original text, (for searching,
selection, and copy-and-paste). Another major feature is a revamp of
cairo's build system making it much easier to build cairo on various
platforms.
2008-10-16 10:55:08 +00:00

51 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.67 2008/10/16 10:55:08 drochner Exp $
DISTNAME= cairo-1.8.0
CATEGORIES= graphics
MASTER_SITES= http://cairographics.org/releases/
MAINTAINER= recht@NetBSD.org
HOMEPAGE= http://cairographics.org/
COMMENT= Vector graphics library with cross-device output support
PKG_DESTDIR_SUPPORT= user-destdir
MAKE_JOBS_SAFE= no
USE_LANGUAGES+= c99
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= pkg-config
PKGCONFIG_OVERRIDE+= src/cairo.pc.in src/cairo-backend.pc.in
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-xcb
CONFIGURE_ARGS+= --enable-glitz
CONFIGURE_ARGS+= --enable-pdf
CONFIGURE_ARGS+= --enable-ps
PLIST_VARS+= carbon
.if exists(/System/Library/Frameworks/Carbon.framework)
CONFIGURE_ARGS+= --enable-quartz
CONFIGURE_ARGS+= --enable-quartz-font
CONFIGURE_ARGS+= --enable-quartz-image
PLIST.carbon= yes
.endif
.include "options.mk"
BUILDLINK_API_DEPENDS.glitz+= glitz>=0.5.1
BUILDLINK_API_DEPENDS.pixman+= pixman>=0.12.0
# For snprintf() and ctime_r()
CPPFLAGS.SunOS+= -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS
TEST_TARGET= check
.include "../../devel/zlib/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/glitz/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../x11/pixman/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"