openbsd-ports/x11/gnome/librsvg/Makefile
ajacoutot 65978ca70b Set SHARED_ONLY.
Fix DESCR.
2012-08-21 06:59:57 +00:00

52 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.78 2012/08/21 06:59:57 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= SAX-based render library for SVG files
GNOME_PROJECT= librsvg
GNOME_VERSION= 2.36.2
REVISION= 0
SHARED_LIBS += rsvg-2 38.0 # .38.0
CATEGORIES= devel
HOMEPAGE= https://live.gnome.org/LibRsvg
# GPLv2/LGPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += GL X11 Xau Xdamage Xdmcp Xext Xfixes Xrender Xxf86vm
WANTLIB += c cairo croco-0.6 drm expat ffi fontconfig freetype
WANTLIB += gdk_pixbuf-2.0 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
WANTLIB += pcre pixman-1 png pthread pthread-stubs stdc++ xcb
WANTLIB += xcb-render xcb-shm xml2 z
MODULES= devel/gettext \
x11/gnome
MODGNOME_TOOLS= goi
LIB_DEPENDS= graphics/gdk-pixbuf2 \
devel/pango \
www/libcroco \
textproc/libxml
CONFIGURE_ARGS= --disable-gtk-theme \
--disable-tools \
--disable-Bsymbolic
# these will be built if gtk+2 and gtk+3 are installed at compile time,
# but we don't want to add these dependencies (not really needed for
# proper functionality)
post-install:
rm -f ${PREFIX}/bin/rsvg-view-3 # gtk+3
rm -f ${PREFIX}/man/man1/rsvg.1 # gtk+2
.include <bsd.port.mk>