summaryrefslogtreecommitdiff
path: root/opt/ntfs-3g/MAKEPKG
diff options
context:
space:
mode:
authorrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
committerrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
commitc82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch)
tree56d864b5a5c6c145edd96178ae219a8f90e191a6 /opt/ntfs-3g/MAKEPKG
downloadports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'opt/ntfs-3g/MAKEPKG')
-rw-r--r--opt/ntfs-3g/MAKEPKG46
1 files changed, 46 insertions, 0 deletions
diff --git a/opt/ntfs-3g/MAKEPKG b/opt/ntfs-3g/MAKEPKG
new file mode 100644
index 0000000..11c542a
--- /dev/null
+++ b/opt/ntfs-3g/MAKEPKG
@@ -0,0 +1,46 @@
+#!/bin/mkpkg
+# description: NTFS read/write filesystem driver via FUSE
+# url: https://github.com/tuxera/ntfs-3g
+name=ntfs-3g
+version=2026.9.18
+release=1
+source=(https://tuxera.com/opensource/ntfs-3g_ntfsprogs-$version.tgz)
+renames=($name-$version.tgz)
+sha256sums=(
+ "bcf3cf301a79e42d330128ffb52d4cf615bd1d30c10a92d9d8d14f2bb4fcd9bf"
+)
+
+build() {
+ cd ntfs-3g-$version
+ ./configure \
+ --prefix=/usr \
+ --sbindir=/usr/sbin \
+ --disable-static \
+ --enable-posix-acls \
+ --with-fuse=internal
+ make
+ mkdir -p $PKG/lib
+ make DESTDIR=$PKG install
+ # Move to /usr hierarchy
+ mv $PKG/lib/* $PKG/usr/lib/
+ mv $PKG/bin/* $PKG/usr/bin/
+ mv $PKG/sbin/* $PKG/usr/sbin/
+ rmdir $PKG/bin $PKG/sbin $PKG/lib
+
+ # Fix mount symlinks
+ ln -sf /usr/bin/ntfs-3g $PKG/usr/sbin/mount.ntfs
+ ln -sf /usr/bin/lowntfs-3g $PKG/usr/sbin/mount.lowntfs-3g
+
+ # Create mount.ntfs symlink
+ ln -sf ntfs-3g $PKG/usr/sbin/mount.ntfs
+
+ # Clean up libtool archives
+ find $PKG -name '*.a' -delete
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+# vim: filetype=sh
+