diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2006-12-07 06:25:24 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2006-12-07 06:25:24 +0000 |
commit | 0d3b5bc971914429620b0c92de156695d5bffc4e (patch) | |
tree | ee8d864478ecc5af6462b1235dcea0e37fd45c48 | |
parent | 8ebfbffcd67df16732c4be939532dc88f63e3b2e (diff) | |
download | ports-0d3b5bc971914429620b0c92de156695d5bffc4e.tar.gz ports-0d3b5bc971914429620b0c92de156695d5bffc4e.zip |
Notes
-rw-r--r-- | deskutils/planner/Makefile | 6 | ||||
-rw-r--r-- | deskutils/planner/pkg-plist | 2 |
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 |