openbsd-ports/x11/xdg-user-dirs-gtk/Makefile
ajacoutot a77597f147 Import xdg-user-dirs-gtk-0.8
xdg-user-dirs-gtk is a companion to xdg-user-dirs that integrates it
into the GNOME desktop and Gtk+ applications.

It gets run during login and does two things:
* Tracks changes of locale and prompts the user so the directories can
  be changed.
* Creates a default gtk bookmarks file if there is none, based on a set
  of xdg user dirs.

Thanks to landry@ for figuring out the weird way this was supposed to
work.
2009-06-12 16:01:30 +00:00

40 lines
1.0 KiB
Makefile
Executable File

# $OpenBSD: Makefile,v 1.1.1.1 2009/06/12 16:01:30 ajacoutot Exp $
COMMENT= integration of xdg-user-dirs into GNOME/gtk+
GNOME_PROJECT= xdg-user-dirs-gtk
GNOME_VERSION= 0.8
CATEGORIES= x11 devel
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig
WANTLIB += freetype gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0
WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 png
WANTLIB += z
MODULES= devel/gettext \
x11/gnome
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= ::devel/xdg-user-dirs
LIB_DEPENDS= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2
USE_X11= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
FAKE_FLAGS= autostartdir=${PREFIX}/share/examples/xdg-user-dirs-gtk/xdg/autostart
.include <bsd.port.mk>