openbsd-ports/x11/gnome/devhelp/Makefile

53 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.13 2008/12/05 16:35:45 jasper Exp $
COMMENT= API documentation browser for GNOME
GNOME_PROJECT= devhelp
GNOME_VERSION= 0.22
PKGNAME= ${DISTNAME}p0
SHARED_LIBS += devhelp-1 1.0 # .0.0
CATEGORIES= textproc
HOMEPAGE= http://developer.imendio.com/projects/devhelp/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ICE ORBit-2 SM X11 XRes Xau Xcomposite Xcursor Xdamage \
Xdmcp Xext Xfixes Xi Xinerama Xrandr Xrender Xt atk-1.0 \
c cairo crypto curl dbus-1 dbus-glib-1 expat fontconfig \
freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 \
glitz gmodule-2.0 gobject-2.0 gthread-2.0 gtk-x11-2.0 \
icudata icui18n icuuc idn jpeg m pango-1.0 pangocairo-1.0 \
pangoft2-1.0 pcre pixman-1 png pthread sqlite3 ssl \
xml2 xslt z
MODULES= devel/gettext \
lang/python \
x11/gnome
BUILD_DEPENDS= ::devel/xulrunner,-devel \
:gnome-doc-utils-*:x11/gnome/doc-utils
LIB_DEPENDS= gconf-2::devel/gconf2 \
wnck-1::devel/libwnck \
startup-notification-1::devel/startup-notification \
webkit-1.0::www/webkit
USE_X11= Yes
DESKTOP_FILES= Yes
CONFIGURE_ARGS+= --with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/devhelp/ \
--disable-schemas-install
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
PYTHON="${MODPY_BIN}"
post-patch:
@ln -s /usr/bin/true ${WRKDIR}/bin/scrollkeeper-update
.include <bsd.port.mk>
CONFIGURE_ARGS+= --sysconfdir="${SYSCONFDIR}/gnome"