aboutsummaryrefslogtreecommitdiff
path: root/net/vinagre
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2007-12-30 18:21:20 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2007-12-30 18:21:20 +0000
commitcbb8759c430ce104405ffe56c56f7bcd3eca132e (patch)
tree43e8041a5cae2494333abffd78bc1e60269b3f65 /net/vinagre
parent2afce06c33a628075668aa818ad6bfffcf25b11c (diff)
downloadports-cbb8759c430ce104405ffe56c56f7bcd3eca132e.tar.gz
ports-cbb8759c430ce104405ffe56c56f7bcd3eca132e.zip
Notes
Diffstat (limited to 'net/vinagre')
-rw-r--r--net/vinagre/Makefile5
-rw-r--r--net/vinagre/pkg-plist2
2 files changed, 5 insertions, 2 deletions
diff --git a/net/vinagre/Makefile b/net/vinagre/Makefile
index 883c7e7e1ec6..5143efce23c4 100644
--- a/net/vinagre/Makefile
+++ b/net/vinagre/Makefile
@@ -7,7 +7,7 @@
PORTNAME= vinagre
PORTVERSION= 0.4
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
@@ -32,7 +32,8 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-install:
- @-update-desktop-database
+ @-update-desktop-database > /dev/null
+ @-update-mime-database ${PREFIX}/share/mime > /dev/null
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for f in AUTHORS COPYING ChangeLog INSTALL MAINTAINERS NEWS README
diff --git a/net/vinagre/pkg-plist b/net/vinagre/pkg-plist
index f19455abb7f0..11d6f2b45350 100644
--- a/net/vinagre/pkg-plist
+++ b/net/vinagre/pkg-plist
@@ -52,6 +52,8 @@ share/vinagre/vinagre.glade
@dirrmtry share/locale/oc/LC_MESSAGES
@dirrmtry share/locale/oc
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@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
@dirrmtry share/applications