diff options
Diffstat (limited to 'x11/gnome-screensaver/Makefile')
-rw-r--r-- | x11/gnome-screensaver/Makefile | 43 |
1 files changed, 14 insertions, 29 deletions
diff --git a/x11/gnome-screensaver/Makefile b/x11/gnome-screensaver/Makefile index ef46717ec00..6df7457d133 100644 --- a/x11/gnome-screensaver/Makefile +++ b/x11/gnome-screensaver/Makefile @@ -1,14 +1,16 @@ -# $NetBSD: Makefile,v 1.30 2008/06/20 01:09:44 joerg Exp $ +# $NetBSD: Makefile,v 1.31 2008/11/15 12:21:34 wiz Exp $ # -DISTNAME= gnome-screensaver-2.22.2 +DISTNAME= gnome-screensaver-2.24.1 CATEGORIES= x11 gnome -MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-screensaver/2.22/} +MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-screensaver/2.24/} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://live.gnome.org/GnomeScreensaver/ COMMENT= Screen saver and locker for the GNOME desktop +BUILD_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto + PKG_DESTDIR_SUPPORT= user-destdir GNU_CONFIGURE= yes @@ -16,26 +18,10 @@ USE_DIRS+= xdg-1.3 USE_LIBTOOL= yes USE_PKGLOCALEDIR= yes USE_TOOLS+= gmake intltool msgfmt pkg-config -USE_X11= yes CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} -PKG_OPTIONS_VAR= PKG_OPTIONS.gnome-screensaver -PKG_SUPPORTED_OPTIONS= pam - -.include "../../mk/bsd.options.mk" - -.if !empty(PKG_OPTIONS:Mpam) -. include "../../mk/pam.buildlink3.mk" -CONFIGURE_ARGS+= --enable-pam -. include "../../mk/bsd.prefs.mk" -. if ${OPSYS} == "NetBSD" -# needed to read shadow passwords -DEPENDS+= pam-pwauth_suid-*:../../security/pam-pwauth_suid -. endif -.else -CONFIGURE_ARGS+= --disable-pam -.endif +.include "options.mk" PKGCONFIG_OVERRIDE= data/gnome-screensaver.pc.in @@ -48,11 +34,6 @@ MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdg/menus CONF_FILES= ${EGDIR}/xdg/menus/gnome-screensavers.menu \ ${PKG_SYSCONFDIR}/xdg/menus/gnome-screensavers.menu -BUILDLINK_API_DEPENDS.glib2+= glib2>=2.8.0 -BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.8.0 -BUILDLINK_API_DEPENDS.libexif+= libexif>=0.6.12 -BUILDLINK_API_DEPENDS.libglade+= libglade>=2.5.0 - INSTALLATION_DIRS= ${EGDIR}/pam.d post-install: @@ -61,23 +42,27 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/data/gnome-screensaver \ ${DESTDIR}${EGDIR}/pam.d/gnome-screensaver-Linux -.if empty(PKG_OPTIONS:Mpam) -SPECIAL_PERMS+= libexec/gnome-screensaver-dialog ${SETUID_ROOT_PERMS} -.endif - .include "../../devel/GConf/schemas.mk" +BUILDLINK_API_DEPENDS.glib2+= glib2>=2.8.0 .include "../../devel/glib2/buildlink3.mk" +BUILDLINK_API_DEPENDS.libglade+= libglade>=2.5.0 .include "../../devel/libglade/buildlink3.mk" .include "../../devel/libgnomeui/buildlink3.mk" +.include "../../graphics/MesaLib/buildlink3.mk" +BUILDLINK_API_DEPENDS.libexif+= libexif>=0.6.12 .include "../../graphics/libexif/buildlink3.mk" .include "../../sysutils/dbus/buildlink3.mk" .include "../../sysutils/dbus-glib/buildlink3.mk" .include "../../sysutils/desktop-file-utils/desktopdb.mk" .include "../../sysutils/gnome-menus/buildlink3.mk" .include "../../sysutils/libnotify/buildlink3.mk" +BUILDLINK_API_DEPENDS.gnome-desktop+= gnome-desktop>=2.23.2 +.include "../../x11/gnome-desktop/buildlink3.mk" +BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.11.5 .include "../../x11/gtk2/buildlink3.mk" .include "../../x11/libXScrnSaver/buildlink3.mk" .include "../../x11/libXmu/buildlink3.mk" .include "../../x11/libXxf86misc/buildlink3.mk" .include "../../x11/libXxf86vm/buildlink3.mk" +.include "../../x11/libgnomekbd/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |