summaryrefslogtreecommitdiff
path: root/deskutils/planner
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2006-12-07 06:25:24 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2006-12-07 06:25:24 +0000
commit0d3b5bc971914429620b0c92de156695d5bffc4e (patch)
treeee8d864478ecc5af6462b1235dcea0e37fd45c48 /deskutils/planner
parentAdd p5-CGI-Application-Plugin-Forward 1.06, support for forwarding (diff)
Add a missing dependency on desktopfileutils, and update the desktop
database where appropriate. Reported by: pointyhat via kris
Notes
Notes: svn path=/head/; revision=179083
Diffstat (limited to 'deskutils/planner')
-rw-r--r--deskutils/planner/Makefile6
-rw-r--r--deskutils/planner/pkg-plist2
2 files changed, 7 insertions, 1 deletions
diff --git a/deskutils/planner/Makefile b/deskutils/planner/Makefile
index 0d0e07e09ca3..1cd24b2b77e0 100644
--- a/deskutils/planner/Makefile
+++ b/deskutils/planner/Makefile
@@ -8,6 +8,7 @@
PORTNAME= planner
PORTVERSION= 0.14.2
+PORTREVISION= 1
CATEGORIES= deskutils gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.14
@@ -20,7 +21,7 @@ USE_BZIP2= yes
USE_XLIB= yes
USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehack intlhack libgnomeui libgnomeprintui \
- libgsf
+ libgsf desktopfileutils
WANT_GNOME= yes
USE_GETTEXT= yes
INSTALLS_OMF= yes
@@ -51,4 +52,7 @@ post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|[(]datadir[)]/doc|(prefix)/share/doc|g'
+post-install:
+ @-update-desktop-database
+
.include <bsd.port.post.mk>
diff --git a/deskutils/planner/pkg-plist b/deskutils/planner/pkg-plist
index bf6f5f445918..7dd8f6f786a7 100644
--- a/deskutils/planner/pkg-plist
+++ b/deskutils/planner/pkg-plist
@@ -286,3 +286,5 @@ share/mime/packages/planner.xml
@dirrm include/planner-1.0
@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