diff options
Diffstat (limited to 'filesystems/kio-fuse')
-rw-r--r-- | filesystems/kio-fuse/Makefile | 22 | ||||
-rw-r--r-- | filesystems/kio-fuse/distinfo | 3 | ||||
-rw-r--r-- | filesystems/kio-fuse/files/patch-CMakeLists.txt | 19 | ||||
-rw-r--r-- | filesystems/kio-fuse/pkg-descr | 7 | ||||
-rw-r--r-- | filesystems/kio-fuse/pkg-message | 10 |
5 files changed, 61 insertions, 0 deletions
diff --git a/filesystems/kio-fuse/Makefile b/filesystems/kio-fuse/Makefile new file mode 100644 index 000000000000..21368d99edb4 --- /dev/null +++ b/filesystems/kio-fuse/Makefile @@ -0,0 +1,22 @@ +PORTNAME= kio-fuse +DISTVERSION= 5.1.0 +CATEGORIES= filesystems sysutils kde +MASTER_SITES= KDE/stable/${PORTNAME} + +MAINTAINER= kde@FreeBSD.org +COMMENT= FUSE Interface for KIO +WWW= https://invent.kde.org/system/kio-fuse + +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/LICENSES/GPL-3.0-or-later.txt + +USES= cmake compiler:c++11-lang fuse:3 kde:5 pkgconfig qt:5 tar:xz +USE_KDE= config coreaddons kio service \ + ecm:build +USE_QT= concurrent core dbus network \ + buildtools:build qmake:build + +PLIST_FILES= lib/libexec/kio-fuse \ + share/dbus-1/services/org.kde.KIOFuse.service + +.include <bsd.port.mk> diff --git a/filesystems/kio-fuse/distinfo b/filesystems/kio-fuse/distinfo new file mode 100644 index 000000000000..b839419dae7d --- /dev/null +++ b/filesystems/kio-fuse/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1705202711 +SHA256 (kio-fuse-5.1.0.tar.xz) = 7d104581227d5a19b424b33f4168d181556b1015d6df2218e01a88d64449e94b +SIZE (kio-fuse-5.1.0.tar.xz) = 48820 diff --git a/filesystems/kio-fuse/files/patch-CMakeLists.txt b/filesystems/kio-fuse/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..f6a3612f75c0 --- /dev/null +++ b/filesystems/kio-fuse/files/patch-CMakeLists.txt @@ -0,0 +1,19 @@ +--- CMakeLists.txt.orig 2024-01-14 03:25:35 UTC ++++ CMakeLists.txt +@@ -72,10 +72,12 @@ ecm_generate_dbus_service_file( + DESTINATION ${KDE_INSTALL_DBUSSERVICEDIR} + ) + +-if(DEFINED KDE_INSTALL_SYSTEMDUSERUNITDIR) +- ecm_install_configured_files(INPUT kio-fuse.service.in DESTINATION ${KDE_INSTALL_SYSTEMDUSERUNITDIR}) +-else() +- ecm_install_configured_files(INPUT kio-fuse.service.in DESTINATION ${SYSTEMD_USER_UNIT_INSTALL_DIR}) ++if(CMAKE_SYSTEM_NAME MATCHES "Linux") ++ if(DEFINED KDE_INSTALL_SYSTEMDUSERUNITDIR) ++ ecm_install_configured_files(INPUT kio-fuse.service.in DESTINATION ${KDE_INSTALL_SYSTEMDUSERUNITDIR}) ++ else() ++ ecm_install_configured_files(INPUT kio-fuse.service.in DESTINATION ${SYSTEMD_USER_UNIT_INSTALL_DIR}) ++ endif() + endif() + + feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) diff --git a/filesystems/kio-fuse/pkg-descr b/filesystems/kio-fuse/pkg-descr new file mode 100644 index 000000000000..5b433586114d --- /dev/null +++ b/filesystems/kio-fuse/pkg-descr @@ -0,0 +1,7 @@ +KIO-Fuse allows you to mount remote directories into the root hierarchy of your +local file system, thereby exposing KDE's advanced access capabilities (SSH, +SAMBA/Windows, FTP, TAR/GZip/BZip2, WebDav, etc) to POSIX-compliant +applications such as Firefox, OpenOffice, GNOME apps, shell utilities and more. + +KIO-Fuse works by acting as a bridge between KDE's KIO filesystem design and +FUSE. diff --git a/filesystems/kio-fuse/pkg-message b/filesystems/kio-fuse/pkg-message new file mode 100644 index 000000000000..46e15e48af4c --- /dev/null +++ b/filesystems/kio-fuse/pkg-message @@ -0,0 +1,10 @@ +[ +{ type: install + message: <<EOM +To fully use KIO-fuse, you will need FUSE and usermount enabled, e.g. + kldload fusefs + sysctl vfs.usermount=1 +to make these changes permanent, see loader.conf(5) and sysctl.conf(5). +EOM +} +] |