openbsd-ports/graphics/cairo/Makefile
dcoppa 55444ad507 Enable tee surface backend for cairo: it will be used by firefox4
and fennec.

OK eric@ (maintainer), landry@
2011-05-04 08:01:56 +00:00

55 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.33 2011/05/04 08:01:56 dcoppa Exp $
COMMENT= vector graphics library
DISTNAME= cairo-1.10.2
REVISION= 0
SHARED_LIBS= cairo 11.1
SHARED_LIBS+= cairo-trace 0.0
SHARED_LIBS+= cairo-gobject 0.0
SHARED_LIBS+= cairo-script-interpreter 0.0
CATEGORIES= graphics
HOMEPAGE= http://cairographics.org/introduction
MAINTAINER= Eric Faurot <eric@openbsd.org>
WANTLIB= GL X11 Xau Xdamage Xdmcp Xext Xfixes Xrender \
Xxf86vm drm expat fontconfig freetype glib-2.0 \
gobject-2.0 gthread-2.0 m pcre pixman-1 png \
pthread-stubs xcb xcb-render xcb-shm z
# LGPLv2.1 / MPL 1.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://cairographics.org/releases/
MODULES= devel/gettext
USE_LIBTOOL= Yes
USE_GMAKE= Yes
LIB_DEPENDS= graphics/png \
devel/glib2
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= PTHREAD_LIBS="-pthread"
CONFIGURE_ARGS= --enable-gl \
--enable-tee \
--enable-xml \
--enable-xcb \
--disable-silent-rules
REGRESS_DEPENDS= print/ghostscript/gnu
.include <bsd.port.mk>
.for i in ${GCC2_ARCHS}
. if ${MACHINE_ARCH} == $i
PATCH_LIST= patch-* gcc2-patch-*
. endif
.endfor