openbsd-ports/graphics/cairo/Makefile
eric f435d6ef56 - update to 1.10.2 (from Brad)
- build on gcc2 archs (from and tested by sebastiap@)

ok ajacoutot@ dcoppa@
2011-01-05 13:26:05 +00:00

53 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.32 2011/01/05 13:26:05 eric Exp $
COMMENT= vector graphics library
DISTNAME= cairo-1.10.2
SHARED_LIBS= cairo 11.0
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-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