diff options
author | bsam <bsam@FreeBSD.org> | 2013-03-26 18:19:29 +0800 |
---|---|---|
committer | bsam <bsam@FreeBSD.org> | 2013-03-26 18:19:29 +0800 |
commit | d2e2837dc8089f930d155eac5300afb6b5732000 (patch) | |
tree | b5b9dcc34e7972babefbb93393f8c47c7305235b /sysutils/libgksu | |
parent | 2c8b198dccf9c2cc57e391e9785cfb1b917a64c5 (diff) | |
download | freebsd-ports-gnome-d2e2837dc8089f930d155eac5300afb6b5732000.tar.gz freebsd-ports-gnome-d2e2837dc8089f930d155eac5300afb6b5732000.tar.zst freebsd-ports-gnome-d2e2837dc8089f930d155eac5300afb6b5732000.zip |
. 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.
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 |