openbsd-ports/x11/gnome/libgtkhtml/Makefile

38 lines
986 B
Makefile

# $OpenBSD: Makefile,v 1.20 2007/05/30 09:56:30 jasper Exp $
COMMENT= "lightweight HTML rendering/printing/editing engine"
DISTNAME= libgtkhtml-2.11.0
PKGNAME= ${DISTNAME}p0
SHARED_LIBS= gtkhtml-2 1.0
CATEGORIES= x11/gnome
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ICE SM X11 Xext Xrender art_lgpl_2 atk-1.0 fontconfig \
freetype gdk-x11-2.0 gdk_pixbuf-2.0 glib-2.0 \
gmodule-2.0 gnomecanvas-2 gobject-2.0 gtk-x11-2.0 \
m pango-1.0 pangocairo-1.0 pangoft2-1.0 \
xml2 z cairo glitz png
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgtkhtml/2.11/}
EXTRACT_SUFX= .tar.bz2
MODULES= devel/gettext
LIB_DEPENDS= gailutil.>=17::x11/gnome/gail
USE_X11= Yes
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --disable-gtk-doc
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>