61981afd4b
more than 30 bugfixes.
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.47 2010/05/01 13:09:07 ajacoutot Exp $
|
|
|
|
COMMENT= SAX-based render library for SVG files
|
|
|
|
GNOME_PROJECT= librsvg
|
|
GNOME_VERSION= 2.26.3
|
|
|
|
SHARED_LIBS += rsvg-2 28.0 # .28.2
|
|
|
|
CATEGORIES= devel
|
|
|
|
# GPLv2/LGPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
|
|
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 bz2 c cairo expat fontconfig
|
|
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
|
|
WANTLIB += xcb-render xcb-render-util
|
|
|
|
MODULES= devel/gettext \
|
|
x11/gnome
|
|
|
|
LIB_DEPENDS= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
|
|
gsf-1::devel/libgsf \
|
|
croco-0.6.>=3::www/libcroco
|
|
RUN_DEPENDS= ::x11/gtk-engines2
|
|
|
|
USE_X11= Yes
|
|
CONFIGURE_ARGS+= --with-svgz \
|
|
--with-croco \
|
|
--enable-gtk-theme \
|
|
--disable-gtk-doc
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
.include <bsd.port.mk>
|