summaryrefslogtreecommitdiff
path: root/filesystems/libfshfs
diff options
context:
space:
mode:
Diffstat (limited to 'filesystems/libfshfs')
-rw-r--r--filesystems/libfshfs/Makefile30
-rw-r--r--filesystems/libfshfs/distinfo3
-rw-r--r--filesystems/libfshfs/pkg-descr1
-rw-r--r--filesystems/libfshfs/pkg-plist19
4 files changed, 53 insertions, 0 deletions
diff --git a/filesystems/libfshfs/Makefile b/filesystems/libfshfs/Makefile
new file mode 100644
index 000000000000..242a99cdb3a7
--- /dev/null
+++ b/filesystems/libfshfs/Makefile
@@ -0,0 +1,30 @@
+PORTNAME= libfshfs
+# If/When moving from experimental to alpha, switch to DISTVERSIONPREFIX to prevent PORTEPOCH
+DISTVERSION= experimental-20231125
+CATEGORIES= filesystems devel
+MASTER_SITES= https://github.com/libyal/libfshfs/releases/download/${PORTVERSION:E}/ \
+ LOCAL/antoine
+
+MAINTAINER= antoine@FreeBSD.org
+COMMENT= Library and tools to access the Mac OS Hierarchical File System (HFS)
+WWW= https://github.com/libyal/libfshfs
+
+LICENSE= LGPL3+
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+GNU_CONFIGURE= yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
+CONFIGURE_ARGS= --enable-python --with-openssl=no
+CONFIGURE_ENV= PYTHON_CONFIG=${PYTHON_CMD}-config
+USES= fuse libtool pathfix pkgconfig python
+USE_LDCONFIG= yes
+INSTALL_TARGET= install-strip
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:E}
+
+OPTIONS_DEFINE= NLS
+
+NLS_USES= gettext
+NLS_CONFIGURE_ON= --with-libintl-prefix=${LOCALBASE}
+NLS_CONFIGURE_OFF= --disable-nls
+
+.include <bsd.port.mk>
diff --git a/filesystems/libfshfs/distinfo b/filesystems/libfshfs/distinfo
new file mode 100644
index 000000000000..d97397cb447c
--- /dev/null
+++ b/filesystems/libfshfs/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1707836459
+SHA256 (libfshfs-experimental-20231125.tar.gz) = af9063a07814265cd79ed823ea3a44c08de3d4defa3c95750866f8572ad8bf8c
+SIZE (libfshfs-experimental-20231125.tar.gz) = 2027202
diff --git a/filesystems/libfshfs/pkg-descr b/filesystems/libfshfs/pkg-descr
new file mode 100644
index 000000000000..b7634c525b9c
--- /dev/null
+++ b/filesystems/libfshfs/pkg-descr
@@ -0,0 +1 @@
+Library and tools to access the Mac OS Hierarchical File System (HFS)
diff --git a/filesystems/libfshfs/pkg-plist b/filesystems/libfshfs/pkg-plist
new file mode 100644
index 000000000000..d5c0ac017d37
--- /dev/null
+++ b/filesystems/libfshfs/pkg-plist
@@ -0,0 +1,19 @@
+bin/fshfsinfo
+bin/fshfsmount
+include/libfshfs.h
+include/libfshfs/codepage.h
+include/libfshfs/definitions.h
+include/libfshfs/error.h
+include/libfshfs/extern.h
+include/libfshfs/features.h
+include/libfshfs/types.h
+lib/libfshfs.a
+lib/libfshfs.so
+lib/libfshfs.so.1
+lib/libfshfs.so.1.0.0
+%%PYTHON_SITELIBDIR%%/pyfshfs.a
+%%PYTHON_SITELIBDIR%%/pyfshfs.so
+libdata/pkgconfig/libfshfs.pc
+share/man/man1/fshfsinfo.1.gz
+share/man/man1/fshfsmount.1.gz
+share/man/man3/libfshfs.3.gz