openbsd-ports/x11/gnome/librsvg/Makefile
2010-10-19 08:13:56 +00:00

49 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.56 2010/10/19 08:13:57 espie 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"
USE_GROFF = Yes
pre-configure:
perl -pi -e 's,/usr/bin/env python,${MODPY_BIN},' \
${WRKSRC}/rsvg.in
.include <bsd.port.mk>