openbsd-ports/graphics/cairo/Makefile
kili 0d23a6ec1a Do not hide required libs in the .pc files.
Fixes the build of hs-cairo.

ok dcoppa@, jasper@ (who wanted the extra comment in the patch file)
2011-06-28 11:04:40 +00:00

54 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.35 2011/06/28 11:04:40 kili Exp $
COMMENT= vector graphics library
DISTNAME= cairo-1.10.2
REVISION= 1
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
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