diff options
author | Boris Samorodov <bsam@FreeBSD.org> | 2013-03-26 10:19:29 +0000 |
---|---|---|
committer | Boris Samorodov <bsam@FreeBSD.org> | 2013-03-26 10:19:29 +0000 |
commit | 51aca6b71b3f7f11f04996c897eed350c4fb0cfd (patch) | |
tree | b5b9dcc34e7972babefbb93393f8c47c7305235b /sysutils/libgksu | |
parent | ee4de43cdfa80da1de2914fd56b9b43c313557f3 (diff) | |
download | ports-51aca6b71b3f7f11f04996c897eed350c4fb0cfd.tar.gz ports-51aca6b71b3f7f11f04996c897eed350c4fb0cfd.zip |
Notes
Diffstat (limited to 'sysutils/libgksu')
-rw-r--r-- | sysutils/libgksu/Makefile | 22 | ||||
-rw-r--r-- | sysutils/libgksu/pkg-plist | 2 |
2 files changed, 12 insertions, 12 deletions
diff --git a/sysutils/libgksu/Makefile b/sysutils/libgksu/Makefile index eda64fcdfdc5..065b0b51e4a7 100644 --- a/sysutils/libgksu/Makefile +++ b/sysutils/libgksu/Makefile @@ -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> diff --git a/sysutils/libgksu/pkg-plist b/sysutils/libgksu/pkg-plist index 981f4d26185f..43f23dde9117 100644 --- a/sysutils/libgksu/pkg-plist +++ b/sysutils/libgksu/pkg-plist @@ -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 |