# $OpenBSD: Makefile,v 1.8 2009/06/04 00:45:39 ajacoutot Exp $ COMMENT= screen saver and locker for GNOME GNOME_PROJECT= gnome-screensaver GNOME_VERSION= 2.24.1 PKGNAME= ${DISTNAME}p6 # GPLv3 PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes WANTLIB= GL ICE ORBit-2 ORBitCosNaming-2 SM X11 Xau Xcomposite \ Xcursor Xdamage Xdmcp Xext Xfixes Xi Xinerama Xrandr \ Xrender Xss Xxf86misc Xxf86vm art_lgpl_2 atk-1.0 \ bonobo-2 bonobo-activation bonoboui-2 c \ cairo crypto 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 pcre pixman-1 png popt \ pthread ssl startup-notification-1 util xkbfile \ xklavier xml2 z MODULES= devel/gettext \ x11/gnome BUILD_DEPENDS= ::textproc/xmlto LIB_DEPENDS= gnome-desktop-2.>=6::x11/gnome/desktop \ gnome-menu.>=4::x11/gnome/menus \ gnomekbdui.>=3,gnomekbd::x11/gnome/libgnomekbd \ notify.>=2::devel/libnotify # notification-daemon is needed for the "Leave Message" button RUN_DEPENDS= ::x11/gnome/librsvg \ :xscreensaver-data-*:x11/xscreensaver,-data,no_gle \ :notification-daemon-*|notification-daemon-xfce-*|xfce4-notifyd-*:sysutils/notification-daemon CONFIGURE_STYLE= autoconf AUTOCONF_VERSION= 2.61 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" CONFIGURE_ARGS= ${CONFIGURE_SHARED} \ --disable-schemas-install \ --disable-pam \ --enable-docbook-docs \ --enable-locking \ --with-x \ --with-bsdauth=yes \ --with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/gnome-screensaver \ --with-xscreensaverdir="${LOCALBASE}/share/xscreensaver/config" \ --with-xscreensaverhackdir="${LOCALBASE}/libexec/xscreensaver" \ --with-gdm-config="${SYSCONFDIR}/X11/gdm/custom.conf" \ --with-mit-ext \ --with-xf86gamma-ext \ --with-libgl \ --with-kbd-layout-indicator \ --with-libnotify USE_X11= Yes MODGNOME_HELP_FILES= Yes DESKTOP_FILES= Yes MAKE_FLAGS= GNOMELOCALEDIR="${LOCALBASE}/share/locale" \ DOCDIR="${PREFIX}/share/doc/gnome-screensaver" FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/gnome-xscreensaver post-extract: cp ${FILESDIR}/gs-auth-bsdauth.c ${WRKSRC}/src/ .include