Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Mar 2013 10:19:29 +0000 (UTC)
From:      Boris Samorodov <bsam@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r315274 - head/sysutils/libgksu
Message-ID:  <201303261019.r2QAJTpo009362@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bsam
Date: Tue Mar 26 10:19:29 2013
New Revision: 315274
URL: http://svnweb.freebsd.org/changeset/ports/315274

Log:
  . trim makefile headers to two line style;
  . remove ABI version numbers from LIB_DEPENDS;
  . USE_GNOME=pkgconfig -> USE_PKGCONFIG=build;
  . utilise USE_GNOME=desktopfileutils;
  . remove standard options from CPPFLAGS and LDFLAGS;
  . bump PORTREVISION.

Modified:
  head/sysutils/libgksu/Makefile
  head/sysutils/libgksu/pkg-plist

Modified: head/sysutils/libgksu/Makefile
==============================================================================
--- head/sysutils/libgksu/Makefile	Tue Mar 26 10:05:44 2013	(r315273)
+++ head/sysutils/libgksu/Makefile	Tue Mar 26 10:19:29 2013	(r315274)
@@ -1,33 +1,31 @@
-# New ports collection makefile for:   libgksu1.2
-# Date created:        1 October 2004
-# Whom:                Jesse van den Kieboom <troplosti@orcaweb.cjb.net>
-#
+# Created by: Jesse van den Kieboom <troplosti@orcaweb.cjb.net>
 # $FreeBSD$
-#
 
 PORTNAME=	libgksu
 PORTVERSION=	2.0.9
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils
 MASTER_SITES=	http://people.debian.org/~kov/gksu/
 
 MAINTAINER=	bsam@FreeBSD.org
 COMMENT=	Library providing su and sudo functionality
 
-LIB_DEPENDS=	gtop-2.0.7:${PORTSDIR}/devel/libgtop \
+LIB_DEPENDS=	gtop-2.0:${PORTSDIR}/devel/libgtop \
 		glade-2.0:${PORTSDIR}/devel/libglade2 \
-		gcr.0:${PORTSDIR}/security/gnome-keyring \
-		startup-notification-1.0:${PORTSDIR}/x11/startup-notification
+		gcr:${PORTSDIR}/security/gnome-keyring \
+		startup-notification-1:${PORTSDIR}/x11/startup-notification
 RUN_DEPENDS=	xauth:${PORTSDIR}/x11/xauth \
 		sudo:${PORTSDIR}/security/sudo
 
-USE_GNOME=	pkgconfig glib20 gconf2
+USE_PKGCONFIG=	build
+USE_GNOME=	desktopfileutils glib20 gconf2
 USE_LDCONFIG=	yes
 CONFIGURE_ARGS=	--enable-gtk-doc=no
 GNU_CONFIGURE=	yes
 GCONF_SCHEMAS=	gksu.schemas
 USE_GMAKE=	yes
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
+
+post-install:
+	-update-desktop-database
 
 .include <bsd.port.mk>

Modified: head/sysutils/libgksu/pkg-plist
==============================================================================
--- head/sysutils/libgksu/pkg-plist	Tue Mar 26 10:05:44 2013	(r315273)
+++ head/sysutils/libgksu/pkg-plist	Tue Mar 26 10:19:29 2013	(r315274)
@@ -14,3 +14,5 @@ share/pixmaps/gksu.png
 @dirrm lib/libgksu
 @dirrm include/libgksu
 @dirrmtry share/applications
+@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
+@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303261019.r2QAJTpo009362>