aboutsummaryrefslogtreecommitdiff
path: root/archivers/thunar-archive-plugin
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2019-04-16 18:41:56 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2019-04-16 18:41:56 +0000
commit48c4c9fdc67673d1f6ff8a7581afc2c558807b51 (patch)
tree0bbb236c4123b11cbf5e46ff3e8844ca3b3192b6 /archivers/thunar-archive-plugin
parent35202fb302719f9b4f3d5efb887e175f189a30c8 (diff)
downloadports-48c4c9fdc67673d1f6ff8a7581afc2c558807b51.tar.gz
ports-48c4c9fdc67673d1f6ff8a7581afc2c558807b51.zip
Make thunar-archive-plugin work with file-roller, if installed.
This allows "extract-here" menu entry in xfce4-desktop and thunar to work again when file-roller is the only archive manager installed.
Notes
Notes: svn path=/head/; revision=499111
Diffstat (limited to 'archivers/thunar-archive-plugin')
-rw-r--r--archivers/thunar-archive-plugin/Makefile6
-rw-r--r--archivers/thunar-archive-plugin/pkg-plist1
2 files changed, 6 insertions, 1 deletions
diff --git a/archivers/thunar-archive-plugin/Makefile b/archivers/thunar-archive-plugin/Makefile
index f7e9dac8d837..d8b4687c491d 100644
--- a/archivers/thunar-archive-plugin/Makefile
+++ b/archivers/thunar-archive-plugin/Makefile
@@ -3,7 +3,7 @@
PORTNAME= thunar-archive-plugin
PORTVERSION= 0.3.1
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= archivers xfce
MASTER_SITES= XFCE/src/thunar-plugins/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR= xfce4
@@ -28,4 +28,8 @@ OPTIONS_SUB= yes
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext-runtime
+post-install:
+ ${RLN} ${STAGEDIR}${PREFIX}/libexec/thunar-archive-plugin/file-roller.tap \
+ ${STAGEDIR}${PREFIX}/libexec/thunar-archive-plugin/org.gnome.FileRoller.tap
+
.include <bsd.port.mk>
diff --git a/archivers/thunar-archive-plugin/pkg-plist b/archivers/thunar-archive-plugin/pkg-plist
index 15b7ddb6a7db..ce0a6c2b302d 100644
--- a/archivers/thunar-archive-plugin/pkg-plist
+++ b/archivers/thunar-archive-plugin/pkg-plist
@@ -2,6 +2,7 @@ lib/thunarx-2/thunar-archive-plugin.so
libexec/thunar-archive-plugin/ark.tap
libexec/thunar-archive-plugin/file-roller.tap
libexec/thunar-archive-plugin/gnome-file-roller.tap
+libexec/thunar-archive-plugin/org.gnome.FileRoller.tap
share/icons/hicolor/16x16/apps/tap-create.png
share/icons/hicolor/16x16/apps/tap-extract.png
share/icons/hicolor/16x16/apps/tap-extract-to.png