2003-10-07 01:48:53 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2003/10/07 05:48:55 marcm Exp $
|
2003-01-31 14:00:10 -05:00
|
|
|
|
|
|
|
COMMENT= "SAX-based render library for SVG files"
|
|
|
|
|
2003-10-07 01:48:53 -04:00
|
|
|
DISTNAME= librsvg-2.4.0
|
2003-01-31 14:00:10 -05:00
|
|
|
CATEGORIES= devel x11/gnome
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.gnome.org
|
|
|
|
MAINTAINER= Marc Matteo <marcm@openbsd.org>
|
|
|
|
|
2003-10-07 01:48:53 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/librsvg/2.4/}
|
2003-01-31 14:00:10 -05:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
# LGPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MODULES= gettext
|
|
|
|
|
2003-10-07 01:48:53 -04:00
|
|
|
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
|
2003-06-12 16:01:28 -04:00
|
|
|
LIB_DEPENDS= art_lgpl_2.5::graphics/libart \
|
2003-10-07 01:48:53 -04:00
|
|
|
bz2::archivers/bzip2 \
|
2003-06-12 16:01:28 -04:00
|
|
|
gdk-x11-2.0.0.0,gdk_pixbuf-2.0.0.0,gtk-x11-2.0.0.0::x11/gtk+2 \
|
|
|
|
pangoft2-1.0.0.0::devel/pango \
|
|
|
|
popt::devel/popt \
|
|
|
|
xml2.6::textproc/libxml
|
2003-10-07 01:48:53 -04:00
|
|
|
|
2003-01-31 14:00:10 -05:00
|
|
|
SEPARATE_BUILD= concurrent
|
|
|
|
USE_X11= Yes
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
2003-10-07 01:48:53 -04:00
|
|
|
CONFIGURE_ARGS+= --disable-gtk-doc
|
|
|
|
# Requires libgsf which isn't in-tree yet
|
|
|
|
#CONFIGURE_ARGS+= --with-svgz
|
|
|
|
CONFIGURE_ARGS+= --without-croco
|
2003-08-06 16:45:03 -04:00
|
|
|
CONFIGURE_ARGS+= --without-gimp
|
2003-01-31 14:00:10 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|