2010-03-30 04:23:36 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.45 2010/03/30 08:23:36 ajacoutot Exp $
|
2003-01-31 14:00:10 -05:00
|
|
|
|
2007-10-26 11:41:19 -04:00
|
|
|
COMMENT= SAX-based render library for SVG files
|
2003-01-31 14:00:10 -05:00
|
|
|
|
2007-10-26 11:41:19 -04:00
|
|
|
GNOME_PROJECT= librsvg
|
2010-03-30 04:23:36 -04:00
|
|
|
GNOME_VERSION= 2.26.2
|
|
|
|
|
|
|
|
SHARED_LIBS += rsvg-2 28.0 # .28.2
|
|
|
|
|
2007-10-26 11:41:19 -04:00
|
|
|
CATEGORIES= devel
|
2003-01-31 14:00:10 -05:00
|
|
|
|
2008-11-18 08:34:43 -05:00
|
|
|
# GPLv2/LGPLv2
|
2003-01-31 14:00:10 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2007-10-26 11:41:19 -04:00
|
|
|
|
2009-10-10 06:33:32 -04:00
|
|
|
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
|
2009-10-10 07:27:49 -04:00
|
|
|
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 bz2 c cairo expat fontconfig
|
2009-10-10 06:33:32 -04:00
|
|
|
WANTLIB += freetype gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0
|
|
|
|
WANTLIB += gthread-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0
|
|
|
|
WANTLIB += pcre pixman-1 png pthread pthread-stubs xcb xml2 z
|
2007-10-26 11:41:19 -04:00
|
|
|
|
2008-11-18 08:34:43 -05:00
|
|
|
MODULES= devel/gettext \
|
|
|
|
x11/gnome
|
2007-10-26 11:41:19 -04:00
|
|
|
|
2008-11-18 08:34:43 -05:00
|
|
|
LIB_DEPENDS= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
|
|
|
|
gsf-1::devel/libgsf \
|
2007-10-26 11:41:19 -04:00
|
|
|
croco-0.6.>=3::www/libcroco
|
2009-10-10 06:33:32 -04:00
|
|
|
RUN_DEPENDS= ::x11/gtk-engines2
|
2004-12-23 00:03:09 -05:00
|
|
|
|
2003-01-31 14:00:10 -05:00
|
|
|
USE_X11= Yes
|
2007-10-26 11:41:19 -04:00
|
|
|
CONFIGURE_ARGS+= --with-svgz \
|
|
|
|
--with-croco \
|
|
|
|
--enable-gtk-theme \
|
2010-03-30 04:23:36 -04:00
|
|
|
--disable-gtk-doc
|
2003-01-31 14:00:10 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|