openbsd-ports/x11/gnome/librsvg/Makefile
marcm f83db8d218 Unf**k the LIB_DEPENDS. With 2.8 librsvg started picking up a whole lot
more GNOME than before.  And for added debugging fun, if you disable the
additional GNOME support - you still pick it up!

Regen the patches while I'm here.  Add better libtool patching.  Bump
package version.

Noticed by sturm@ and wa1ter at myrealbox dot com
2004-12-23 05:03:09 +00:00

50 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.12 2004/12/23 05:03:09 marcm Exp $
COMMENT= "SAX-based render library for SVG files"
VERSION= 2.8.1
DISTNAME= librsvg-${VERSION}
PKGNAME= ${DISTNAME}p0
CATEGORIES= devel x11/gnome
HOMEPAGE= http://www.gnome.org
MAINTAINER= Marc Matteo <marcm@openbsd.org>
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/librsvg/2.8/}
EXTRACT_SUFX= .tar.bz2
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ORBit-2 ORBitCosNaming-2 X11 Xcursor Xext Xft Xinerama Xrender \
atk-1.0.0.0 bonobo-2 bonobo-activation c crypto fontconfig \
freetype gconf-2 glib-2.0.0.0 gmodule-2.0.0.0 gnomevfs-2 \
gobject-2.0.0.0 gthread-2.0.0.0 iconv intl m pango-1.0.0.0 \
pangox-1.0.0.0 pangoxft-1.0.0.0 pthread ssl z gnomecanvas-2 \
gnomeprint-2-2 gnomeprintui-2-2
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
LIB_DEPENDS= art_lgpl_2.5::graphics/libart \
bz2::archivers/bzip2 \
gdk-x11-2.0.0.0,gdk_pixbuf-2.0.0.0,gtk-x11-2.0.0.0::x11/gtk+2 \
gnomevfs-2.800.3::x11/gnome/vfs2 \
gnomecanvas-2.800.0::x11/gnome/libgnomecanvas \
gnomeprintui-2-2.1.0::x11/gnome/libgnomeprintui \
gsf-1::devel/libgsf,no_gnome \
pangoft2-1.0.0.0::devel/pango \
popt.0.3::devel/popt \
xml2.6::textproc/libxml
USE_X11= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --disable-gtk-doc
CONFIGURE_ARGS+= --with-svgz
CONFIGURE_ARGS+= --without-croco
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>