aboutsummaryrefslogtreecommitdiff
path: root/sysutils/downtime
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2010-02-24 01:14:26 +0000
committerWen Heping <wen@FreeBSD.org>2010-02-24 01:14:26 +0000
commit51513f1594ca622fc4d27c3a6d435249d34512dd (patch)
tree401c46a2bc50c6a1561fe5f8985ca27b09bed34c /sysutils/downtime
parent0fc9ca1a99e69fd20ee01eed9e60c478b2d9a1cf (diff)
Notes
Diffstat (limited to 'sysutils/downtime')
-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
+