# $OpenBSD: Makefile,v 1.9 2011/09/16 12:00:07 espie Exp $ COMMENT = lightweight web browser NETSURF_PROJECT = netsurf NETSURF_VERSION = 2.7 REVISION= 0 CATEGORIES= www HOMEPAGE= http://www.netsurf-browser.org/ MASTER_SITES = ${HOMEPAGE}downloads/releases/ MODULES = devel/gettext LIB_DEPENDS = www/netsurf/hubbub>=0.1.0 \ www/netsurf/libcss>=0.1.0 \ www/netsurf/libnsgif>=0.0.3 \ www/netsurf/libnsbmp>=0.0.3 \ graphics/libmng \ x11/gtk+2 \ devel/libglade2 \ x11/gnome/librsvg \ net/curl WANTLIB += atk-1.0 cairo gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 WANTLIB += gthread-2.0 jpeg lcms pango-1.0 pangocairo-1.0 WANTLIB += pangoft2-1.0 parserutils png wapcaplet xml2 WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes WANTLIB += Xi Xinerama Xrandr Xrender c crypto expat fontconfig WANTLIB += freetype m pixman-1 pthread pthread-stubs ssl xcb WANTLIB += xcb-render z gdk_pixbuf-2.0 GL Xxf86vm drm WANTLIB += hubbub css nsgif nsbmp mng gdk-x11-2.0 gtk-x11-2.0 WANTLIB += glade-2.0 rsvg-2 curl xcb-shm WRKDIST = ${WRKDIR}/netsurf do-configure: @echo "NETSURF_USE_HARU_PDF := NO\n" \ "NETSURF_USE_LIBICONV_PLUG := NO\n" \ "NETSURF_USE_RSVG := YES\n" \ "NETSURF_USE_NSSVG := NO\n" \ "NETSURF_USE_ROSPRITE := NO" > ${WRKSRC}/Makefile.config .include