openbsd-ports/x11/gnome/screensaver/Makefile
2009-08-11 08:38:41 +00:00

77 lines
2.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.13 2009/08/11 08:39:39 ajacoutot Exp $
COMMENT= screen saver and locker for GNOME
GNOME_PROJECT= gnome-screensaver
GNOME_VERSION= 2.24.1
PKGNAME= ${DISTNAME}p11
# 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 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 avahi-client avahi-common avahi-glib \
pthread-stubs xcb
MODULES= devel/gettext \
x11/gnome \
devel/gconf2
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
MODGCONF2_SCHEMAS_DIR= gnome-screensaver
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-pam \
--enable-docbook-docs \
--enable-locking \
--with-x \
--with-bsdauth=yes \
--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 <bsd.port.mk>