summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysutils/coaster/Makefile8
-rw-r--r--sysutils/coaster/pkg-plist4
2 files changed, 7 insertions, 5 deletions
diff --git a/sysutils/coaster/Makefile b/sysutils/coaster/Makefile
index e3aed129c..da6aa3047 100644
--- a/sysutils/coaster/Makefile
+++ b/sysutils/coaster/Makefile
@@ -7,7 +7,7 @@
PORTNAME= coaster
PORTVERSION= 0.1.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils gnome
MASTER_SITES= http://www.coaster-burn.org/files/coaster/
@@ -17,19 +17,19 @@ COMMENT= A disc burning application for Gnome 2
LIB_DEPENDS= bakery-2.3.11:${PORTSDIR}/x11-toolkits/bakery \
nautilus-burn.0:${PORTSDIR}/sysutils/nautilus-cd-burner
-USE_GNOME= gnomehack gnomeprefix gnometarget intlhack
+USE_GNOME= gnomehack gnomeprefix gnometarget intlhack desktopfileutils
USE_GMAKE= yes
USE_X_PREFIX= yes
USE_LIBTOOL_VER=15
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS= --enable-update-mimedb=yes
DOCS= AUTHORS COPYING ChangeLog NEWS README TODO
GCONF_SCHEMAS= coaster.schemas
-.ifndef (NOPORTDOCS)
post-install:
+ @${X11BASE}/bin/update-desktop-database
+.ifndef (NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
diff --git a/sysutils/coaster/pkg-plist b/sysutils/coaster/pkg-plist
index 40e1e262c..7605df070 100644
--- a/sysutils/coaster/pkg-plist
+++ b/sysutils/coaster/pkg-plist
@@ -18,16 +18,18 @@ share/gnome/coaster/ui/coaster-other-menu.ui
share/gnome/coaster/ui/coaster-toolbar.ui
share/gnome/mime-info/coaster.keys
share/gnome/mime-info/coaster.mime
-share/gnome/mime/packages/coaster.xml
share/gnome/pixmaps/coaster.png
share/gnome/xml/coaster/coaster-audio.dtd
share/gnome/xml/coaster/coaster-catalog.xml
share/gnome/xml/coaster/coaster-data.dtd
share/gnome/xml/coaster/coaster-video.dtd
share/locale/nl/LC_MESSAGES/coaster.mo
+share/mime/packages/coaster.xml
@dirrm share/gnome/xml/coaster
@dirrm share/gnome/coaster/ui
@dirrm share/gnome/coaster/glade
@dirrm share/gnome/coaster
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@unexec update-desktop-database > /dev/null || /usr/bin/true
+@exec update-mime-database %D/share/mime
+@unexec update-mime-database %D/share/mime