summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2004-12-05 17:01:56 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2004-12-05 17:01:56 +0800
commit022abb48deb48057a9f33d3b860f6ebeeff8fffd (patch)
tree813ad9045a61955139adb8af035cd3076f97dfeb /sysutils
parentb77e963ace0e6925ff4c512eaf6c289b5b97c90b (diff)
downloadmarcuscom-ports-022abb48deb48057a9f33d3b860f6ebeeff8fffd.tar
marcuscom-ports-022abb48deb48057a9f33d3b860f6ebeeff8fffd.tar.gz
marcuscom-ports-022abb48deb48057a9f33d3b860f6ebeeff8fffd.tar.bz2
marcuscom-ports-022abb48deb48057a9f33d3b860f6ebeeff8fffd.tar.lz
marcuscom-ports-022abb48deb48057a9f33d3b860f6ebeeff8fffd.tar.xz
marcuscom-ports-022abb48deb48057a9f33d3b860f6ebeeff8fffd.tar.zst
marcuscom-ports-022abb48deb48057a9f33d3b860f6ebeeff8fffd.zip
With the new hack in gnomehack has corrected the path of mime. Also, some
clean up such as add desktopfileutils, manual run update-desktop-database, correct pkg-plist and add update-mime-database in pkg-plist. Bump the PORTREVISION and for picky people, do the manual to remove mime in the wrong place by 'rm -rf /usr/X11R6/share/gnome/mime'. Reported by: marcus (mime in the incorrect location) git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3223 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils')
-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