aboutsummaryrefslogtreecommitdiff
path: root/x11-fm
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2003-05-18 12:38:52 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2003-05-18 12:38:52 +0000
commit145ff826c746a4d826f7f1fe70fd3350669112bd (patch)
tree963883a6699673cc87c516319790d304e76d8f2b /x11-fm
parent06465908a8c4a92f78bc837d68b3e344eade6851 (diff)
downloadports-145ff826c746a4d826f7f1fe70fd3350669112bd.tar.gz
ports-145ff826c746a4d826f7f1fe70fd3350669112bd.zip
Notes
Diffstat (limited to 'x11-fm')
-rw-r--r--x11-fm/rox-filer/Makefile6
-rw-r--r--x11-fm/rox-filer/distinfo2
-rw-r--r--x11-fm/rox-filer/pkg-plist5
3 files changed, 11 insertions, 2 deletions
diff --git a/x11-fm/rox-filer/Makefile b/x11-fm/rox-filer/Makefile
index 6b16aa10cd31..4cc32eb57185 100644
--- a/x11-fm/rox-filer/Makefile
+++ b/x11-fm/rox-filer/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= rox
-PORTVERSION= 1.3.8
+PORTVERSION= 1.3.9
CATEGORIES= x11-fm gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= rox
@@ -21,6 +21,8 @@ LIB_DEPENDS= gtk-x11-2.0.200:${PORTSDIR}/x11-toolkits/gtk20 \
gnomevfs-2.0:${PORTSDIR}/devel/gnomevfs2
RUN_DEPENDS= ${LOCALBASE}/share/mime/packages/freedesktop.org.xml:${PORTSDIR}/misc/shared-mime-info
+PLIST_SUB+= LOCALBASE=${LOCALBASE}
+
MAN1= rox.1
.include <bsd.port.pre.mk>
@@ -46,5 +48,7 @@ do-install:
@${CAT} ${FILESDIR}/rox | ${SED} -e "s|%%PREFIX%%|${PREFIX}|" > ${PREFIX}/bin/rox
@${CHMOD} 755 ${PREFIX}/bin/rox
@${INSTALL_MAN} ${WRKSRC}/rox.1 ${PREFIX}/man/man1
+ @${INSTALL_DATA} ${WRKSRC}/rox.xml ${PREFIX}/share/mime/packages
+ @${LOCALBASE}/bin/update-mime-database ${PREFIX}/share/mime
.include <bsd.port.post.mk>
diff --git a/x11-fm/rox-filer/distinfo b/x11-fm/rox-filer/distinfo
index e20662e2d82a..bed286912f79 100644
--- a/x11-fm/rox-filer/distinfo
+++ b/x11-fm/rox-filer/distinfo
@@ -1 +1 @@
-MD5 (rox-1.3.8.tgz) = 34bacf583ed0beed87391f27987ac88e
+MD5 (rox-1.3.9.tgz) = e84c6a1c333194207edf2aab49c92ab2
diff --git a/x11-fm/rox-filer/pkg-plist b/x11-fm/rox-filer/pkg-plist
index 4a2e895f6052..37076ba59992 100644
--- a/x11-fm/rox-filer/pkg-plist
+++ b/x11-fm/rox-filer/pkg-plist
@@ -17,6 +17,7 @@ apps/ROX-Filer/Messages/es.gmo
apps/ROX-Filer/Messages/fr.gmo
apps/ROX-Filer/Messages/hu.gmo
apps/ROX-Filer/Messages/it.gmo
+apps/ROX-Filer/Messages/ja.gmo
apps/ROX-Filer/Messages/nl.gmo
apps/ROX-Filer/Messages/no.gmo
apps/ROX-Filer/Messages/pl.gmo
@@ -124,6 +125,7 @@ share/Choices/MIME-icons/video_quicktime.png
share/Choices/MIME-types/application_postscript
share/Choices/MIME-types/text
share/Choices/MIME-types/text_html
+share/mime/packages/rox.xml
@dirrm share/Choices/MIME-types
@dirrm share/Choices/MIME-icons
@dirrm share/Choices
@@ -132,6 +134,9 @@ share/Choices/MIME-types/text_html
@dirrm apps/ROX-Filer/Help
@dirrm apps/ROX-Filer/%%BINARIES%%
@dirrm apps/ROX-Filer
+@unexec rmdir %D/share/mime/packages 2>/dev/null || true
@unexec rmdir %D/share/mime/mime-info 2>/dev/null || true
@unexec rmdir %D/share/mime 2>/dev/null || true
@unexec rmdir %D/apps 2>/dev/null || true
+@exec %%LOCALBASE%%/bin/update-mime-database %%LOCALBASE%%/share/mime
+@unexec %%LOCALBASE%%/bin/update-mime-database %%LOCALBASE%%/share/mime