Date: Mon, 25 Mar 2013 19:28:16 +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: r315243 - head/sysutils/gksu Message-ID: <201303251928.r2PJSGRV037524@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bsam Date: Mon Mar 25 19:28:15 2013 New Revision: 315243 URL: http://svnweb.freebsd.org/changeset/ports/315243 Log: . trim makefile header to two line style; . remove shlib ABI versions from LIB_DEPENDS; . USE_GNOME=gnomehack -> USES=pathfix; . USE_GNOME=pkgconfig -> USE_PKGCONFIG=build; . add USE_LDCONFIG=yes (a library is installed); . utilise USE_GNOME=desktopfileutils; . fix build after glib2 update; [1] . sort pkg-plist. PR: ports/176863 [1] Reported by: Ivan Klymenko <fidaj@ukr.net> [1] Modified: head/sysutils/gksu/Makefile head/sysutils/gksu/pkg-plist Modified: head/sysutils/gksu/Makefile ============================================================================== --- head/sysutils/gksu/Makefile Mon Mar 25 19:14:43 2013 (r315242) +++ head/sysutils/gksu/Makefile Mon Mar 25 19:28:15 2013 (r315243) @@ -1,13 +1,9 @@ -# New ports collection makefile for: gksu -# Date created: 2 October 2004 -# Whom: Jesse van den Kieboom <troplosti@orcaweb.cjb.net> -# +# Created by: Jesse van den Kieboom <troplosti@orcaweb.cjb.net> # $FreeBSD$ -# PORTNAME= gksu PORTVERSION= 2.0.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= http://people.debian.org/~kov/gksu/ @@ -15,15 +11,25 @@ MAINTAINER= bsam@FreeBSD.org COMMENT= Graphical frontend to su LIB_DEPENDS= gksu2:${PORTSDIR}/sysutils/libgksu \ - nautilus-extension.1:${PORTSDIR}/x11-fm/nautilus \ - gnome-keyring.0:${PORTSDIR}/security/gnome-keyring + nautilus-extension:${PORTSDIR}/x11-fm/nautilus \ + gnome-keyring:${PORTSDIR}/security/gnome-keyring -USE_GNOME= gtk20 pkgconfig gnomeprefix gnomehack gconf2 intlhack +USES= pathfix +USE_PKGCONFIG= build +USE_GNOME= desktopfileutils gconf2 gnomeprefix gtk20 intlhack GNU_CONFIGURE= yes USE_GMAKE= yes +USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib MAN1= gksu.1 +post-patch: + @${REINPLACE_CMD} -e 's|glib/gkeyfile.h|glib.h|g' \ + ${WRKSRC}/nautilus-gksu/libnautilus-gksu.c + +post-install: + -update-desktop-database + .include <bsd.port.mk> Modified: head/sysutils/gksu/pkg-plist ============================================================================== --- head/sysutils/gksu/pkg-plist Mon Mar 25 19:14:43 2013 (r315242) +++ head/sysutils/gksu/pkg-plist Mon Mar 25 19:28:15 2013 (r315243) @@ -3,10 +3,12 @@ bin/gksudo lib/nautilus/extensions-2.0/libnautilus-gksu.la lib/nautilus/extensions-2.0/libnautilus-gksu.so lib/nautilus/extensions-2.0/libnautilus-gksu.a +man/man1/gksudo.1 share/applications/gksu.desktop share/pixmaps/gksu-icon.png share/pixmaps/gksu-root-terminal.png share/gksu/gksu-migrate-conf.sh -man/man1/gksudo.1 @dirrm share/gksu @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?201303251928.r2PJSGRV037524>