aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2010-02-24 09:14:26 +0800
committerwen <wen@FreeBSD.org>2010-02-24 09:14:26 +0800
commit0c882779a9140e5c2b322ab2f8ae0f84994c0876 (patch)
tree5ecd4d72cfed771533c627cfe0df83f971dcb979 /sysutils
parent1e43ff2e31d6200b65a11d11cd57a2c5ab0da39c (diff)
downloadfreebsd-ports-gnome-0c882779a9140e5c2b322ab2f8ae0f84994c0876.tar.gz
freebsd-ports-gnome-0c882779a9140e5c2b322ab2f8ae0f84994c0876.tar.zst
freebsd-ports-gnome-0c882779a9140e5c2b322ab2f8ae0f84994c0876.zip
- Update to 0.4.0
PR: ports/144143 Submitted by: Nick Withers <nick@nickwithers.com> (maintainer) Feature safe: yes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/downtime/Makefile8
-rw-r--r--sysutils/downtime/distinfo6
-rw-r--r--sysutils/downtime/pkg-plist8
3 files changed, 16 insertions, 6 deletions
diff --git a/sysutils/downtime/Makefile b/sysutils/downtime/Makefile
index 9f1f42daf9cd..696d3091fd74 100644
--- a/sysutils/downtime/Makefile
+++ b/sysutils/downtime/Makefile
@@ -6,17 +6,19 @@
#
PORTNAME= downtime
-PORTVERSION= 0.3.2
-PORTREVISION= 2
+PORTVERSION= 0.4.0
CATEGORIES= sysutils
MASTER_SITES= http://www.nickwithers.com/downtime/
MAINTAINER= nick@nickwithers.com
COMMENT= A GTK-based shutdown manager using shutdown(8)
-USE_GNOME= gtk20
+USE_GNOME= gtk20 desktopfileutils
MAN1= downtime.1
MANCOMPRESSED= yes
+post-install:
+ -@update-desktop-database
+
.include <bsd.port.mk>
diff --git a/sysutils/downtime/distinfo b/sysutils/downtime/distinfo
index 6296d54b0e3e..46043d298bf4 100644
--- a/sysutils/downtime/distinfo
+++ b/sysutils/downtime/distinfo
@@ -1,3 +1,3 @@
-MD5 (downtime-0.3.2.tar.gz) = abf6fda99c4bc7cadea6cdecec4c0795
-SHA256 (downtime-0.3.2.tar.gz) = febdd4754cf54fc4487e4f9d8cd7b479f334d83be80de8917f9d4c7444d36daf
-SIZE (downtime-0.3.2.tar.gz) = 21582
+MD5 (downtime-0.4.0.tar.gz) = ad9d25a60f915949e6ac952af7b7c78f
+SHA256 (downtime-0.4.0.tar.gz) = 67a6f8c8ee6bdb95a29dd96b37e2a8ac5403c7d00492884f530cb2c553019ac6
+SIZE (downtime-0.4.0.tar.gz) = 23774
diff --git a/sysutils/downtime/pkg-plist b/sysutils/downtime/pkg-plist
index 2d2fd3ff9d5f..0bcb063fed5e 100644
--- a/sysutils/downtime/pkg-plist
+++ b/sysutils/downtime/pkg-plist
@@ -1,3 +1,11 @@
bin/downtime
share/applications/downtime.desktop
+share/mime/packages/downtime.xml
@dirrmtry share/applications
+@dirrmtry share/mime/packages
+@dirrmtry share/mime
+@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
+@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
+@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
+@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
+