2011-10-29 04:12:31 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.53 2011/10/29 08:12:32 ajacoutot Exp $
|
2011-09-21 04:08:56 -04:00
|
|
|
|
|
|
|
# XXX fix building with glib2 >= 2.29 (G_CONST_RETURN is deprecated)
|
|
|
|
CFLAGS += "-DG_CONST_RETURN=const"
|
2009-09-25 04:12:11 -04:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
2005-05-24 18:12:39 -04:00
|
|
|
|
2007-09-15 16:38:20 -04:00
|
|
|
COMMENT= lightweight HTML rendering/printing/editing engine
|
2005-05-24 18:12:39 -04:00
|
|
|
|
2007-11-10 09:13:10 -05:00
|
|
|
GNOME_PROJECT= gtkhtml
|
2011-03-07 14:27:27 -05:00
|
|
|
GNOME_VERSION= 3.32.2
|
2007-05-08 04:07:07 -04:00
|
|
|
API_VERSION= 3.14
|
2010-09-14 03:01:16 -04:00
|
|
|
|
2009-12-14 08:11:55 -05:00
|
|
|
PKGNAME= gtkhtml3-${VERSION}
|
2010-11-22 09:28:14 -05:00
|
|
|
|
2011-10-29 04:12:31 -04:00
|
|
|
REVISION= 3
|
2011-05-14 06:09:20 -04:00
|
|
|
|
2010-11-22 09:28:14 -05:00
|
|
|
HOMEPAGE= http://www.gnome.org/
|
2009-01-20 18:13:30 -05:00
|
|
|
|
2011-03-07 14:27:27 -05:00
|
|
|
SHARED_LIBS += gtkhtml-3.14 4.0 # 20.1
|
2010-09-30 03:41:02 -04:00
|
|
|
SHARED_LIBS += gtkhtml-editor-3.14 0.0 # unknown
|
2009-03-20 13:36:15 -04:00
|
|
|
|
2005-05-24 18:12:39 -04:00
|
|
|
CATEGORIES= www
|
2005-12-31 09:35:36 -05:00
|
|
|
|
2009-09-25 11:56:29 -04:00
|
|
|
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
|
|
|
|
Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
|
2008-11-16 16:55:13 -05:00
|
|
|
# GPLv2/LGPLv2
|
2005-05-24 18:12:39 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2007-11-10 09:13:10 -05:00
|
|
|
|
2011-10-29 04:12:31 -04:00
|
|
|
WANTLIB += GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
|
|
|
|
WANTLIB += Xi Xinerama Xrandr Xrender Xxf86vm atk-1.0 c cairo
|
|
|
|
WANTLIB += dbus-1 dbus-glib-1 drm enchant expat ffi fontconfig
|
|
|
|
WANTLIB += freetype gailutil gconf-2 gdk-x11-2.0 gdk_pixbuf-2.0
|
|
|
|
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
|
|
|
|
WANTLIB += gtk-x11-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 z
|
2011-09-12 08:07:24 -04:00
|
|
|
|
2011-10-29 04:12:31 -04:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2007-11-10 09:13:10 -05:00
|
|
|
|
|
|
|
MODULES= devel/gettext \
|
|
|
|
x11/gnome
|
|
|
|
|
2010-11-22 03:36:47 -05:00
|
|
|
LIB_DEPENDS= devel/gconf2 \
|
2011-05-14 17:29:03 -04:00
|
|
|
textproc/enchant \
|
|
|
|
x11/gtk+2
|
2010-09-14 03:01:16 -04:00
|
|
|
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
2010-11-22 03:36:47 -05:00
|
|
|
RUN_DEPENDS= devel/iso-codes \
|
|
|
|
x11/gnome/icon-theme
|
2005-05-24 18:12:39 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
|
|
|
|
SUBST_VARS= API_VERSION
|
|
|
|
|
2011-05-14 06:09:20 -04:00
|
|
|
# Resolve conflict with gtkhtml4.
|
|
|
|
post-install:
|
|
|
|
mv ${PREFIX}/bin/gtkhtml-editor-test ${PREFIX}/bin/gtkhtml3-editor-test
|
|
|
|
|
2005-05-24 18:12:39 -04:00
|
|
|
.include <bsd.port.mk>
|