openbsd-ports/x11/gnome/librsvg/Makefile
jasper 994b63da94 - remove USE_X11=Yes where needed (can't we fully get rid of it?)
and set USE_X11=No where needed

agreed by aja@
2010-10-18 13:18:13 +00:00

48 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.55 2010/10/18 13:18:15 jasper Exp $
COMMENT= SAX-based render library for SVG files
GNOME_PROJECT= librsvg
GNOME_VERSION= 2.32.0
REVISION= 2
SHARED_LIBS += rsvg-2 28.0 # .34.0
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 c cairo expat fontconfig
WANTLIB += freetype gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
WANTLIB += gthread-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0 croco-0.6
WANTLIB += pcre pixman-1 png pthread pthread-stubs xcb xml2 z
WANTLIB += xcb-render xcb-render-util gdk-x11-2.0 gdk_pixbuf-2.0
WANTLIB += gtk-x11-2.0
MODULES= devel/gettext \
x11/gnome \
lang/python
LIB_DEPENDS= ::x11/gtk+2 \
::www/libcroco
RUN_DEPENDS= ::x11/gtk-engines2
CONFIGURE_ARGS+= --with-svgz \
--with-croco \
--enable-gtk-theme \
--disable-gtk-doc
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
pre-configure:
perl -pi -e 's,/usr/bin/env python,${MODPY_BIN},' \
${WRKSRC}/rsvg.in
.include <bsd.port.mk>