openbsd-ports/x11/gnome/mousetweaks/Makefile
ajacoutot 205c226bb2 Rework the way we handle build_depends with the gnome MODULE when
MODGNOME_HELP_FILES is set to yes.

* add a build_depends on gnome-doc-utils if MODGNOME_HELP_FILES is set
to yes
* add rarian as a run_depends for gnome-doc-utils (will help with older
ports that will never be updated from using deprecated scrollkeeper)
* remove build+run_depends on gnome-doc-utils and rarian for ports that
have MODGNOME_HELP_FILES as they are now implied.
* bump where needed

This should help in having all required build dependencies for
gnome-related ports and it greatly simplifies things.

"thanks for cleaning this mess" and ok jasper@
2009-04-06 10:05:20 +00:00

47 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.9 2009/04/06 10:05:21 ajacoutot Exp $
COMMENT= mouse accessibility enhancements for GNOME
GNOME_PROJECT= mousetweaks
GNOME_VERSION= 2.24.3
PKGNAME= ${DISTNAME}p4
HOMEPAGE= http://live.gnome.org/Mousetweaks/Home
# GPLv3 - GFDLv1.2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ICE ORBit-2 SM X11 Xau Xcomposite Xcursor Xdamage \
Xdmcp Xext Xfixes Xi Xinerama Xrandr Xrender Xtst \
art_lgpl_2 atk-1.0 bonobo-2 \
bonobo-activation bonoboui-2 c cairo dbus-1 \
dbus-glib-1 expat fontconfig freetype gailutil \
gconf-2 gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glade-2.0 \
glib-2.0 glitz gmodule-2.0 gnome-2 gnome-keyring \
gnomecanvas-2 gnomeui-2 gnomevfs-2 gobject-2.0 \
gthread-2.0 gtk-x11-2.0 m pango-1.0 pangocairo-1.0 \
pangoft2-1.0 pixman-1 png popt pthread xml2 z
MODULES= devel/gettext \
x11/gnome
LIB_DEPENDS= panel-applet-2.>=2::x11/gnome/applets2 \
spi,cspi::x11/gnome/at-spi
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/mousetweaks \
--disable-schemas-install
USE_X11= Yes
MODGNOME_HELP_FILES= Yes
post-patch:
@ln -s /usr/bin/true ${WRKDIR}/bin/scrollkeeper-update
.include <bsd.port.mk>