openbsd-ports/x11/gnome/librsvg/Makefile
2010-11-22 08:36:47 +00:00

45 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.59 2010/11/22 08:36:58 espie Exp $
COMMENT= SAX-based render library for SVG files
GNOME_PROJECT= librsvg
GNOME_VERSION= 2.32.1
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 gdk-x11-2.0 gdk_pixbuf-2.0
WANTLIB += gtk-x11-2.0 GL Xxf86vm drm xcb-shm
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"
USE_GROFF = Yes
MODPY_ADJ_FILES= rsvg.in
.include <bsd.port.mk>