summaryrefslogtreecommitdiff
path: root/filesystems/pod
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@FreeBSD.org>2024-09-27 12:48:46 +0200
committerRobert Clausecker <fuz@FreeBSD.org>2024-11-06 16:17:35 +0100
commit6e2da9672f79f44048d597f0f61e4646cdeade9d (patch)
treec92e4b3158e3419e8cec38e00227d08dcdaab3e9 /filesystems/pod
parentmath/sdpa: speed up build (diff)
filesystems: add new category for file systems and related utilities
The filesystems category houses file systems and file system utilities. It is added mainly to turn the sysutils/fusefs-* pseudo-category into a proper one, but is also useful for the sundry of other file systems related ports found in the tree. Ports that seem like they belong there are moved to the new category. Two ports, sysutils/fusefs-funionfs and sysutils/fusefs-fusepak are not moved as they currently don't fetch and don't have TIMESTAMP set in their distinfo, but that is required to be able to push a rename of the port by the pre-receive hook. Approved by: portmgr (rene) Reviewed by: mat Pull Request: https://github.com/freebsd/freebsd-ports/pull/302 PR: 281988
Diffstat (limited to 'filesystems/pod')
-rw-r--r--filesystems/pod/Makefile21
-rw-r--r--filesystems/pod/distinfo3
-rw-r--r--filesystems/pod/files/patch-configure11
-rw-r--r--filesystems/pod/files/patch-src_fusepod__ipod.h12
-rw-r--r--filesystems/pod/files/patch-src_fusepod__util.h10
-rw-r--r--filesystems/pod/pkg-descr4
6 files changed, 61 insertions, 0 deletions
diff --git a/filesystems/pod/Makefile b/filesystems/pod/Makefile
new file mode 100644
index 000000000000..c529f422b50e
--- /dev/null
+++ b/filesystems/pod/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= pod
+PORTVERSION= 0.5.2
+PORTREVISION= 16
+CATEGORIES= filesystems audio
+MASTER_SITES= SF/fuse${PORTNAME}/fuse${PORTNAME}/FUSEPod%20v${PORTVERSION}
+PKGNAMEPREFIX= fusefs-
+DISTNAME= fusepod-${PORTVERSION}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= FUSE-based filesystem for iPod
+WWW= https://fusepod.sourceforge.net/
+
+LIB_DEPENDS= libgpod.so:audio/libgpod\
+ libtag.so:audio/taglib
+
+USES= compiler:c++11-lang fuse pkgconfig tar:bzip2
+GNU_CONFIGURE= yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
+PLIST_FILES= bin/fusepod share/man/man1/fusepod.1.gz
+
+.include <bsd.port.mk>
diff --git a/filesystems/pod/distinfo b/filesystems/pod/distinfo
new file mode 100644
index 000000000000..e4ce1b828068
--- /dev/null
+++ b/filesystems/pod/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1730905181
+SHA256 (fusepod-0.5.2.tar.bz2) = 210d77cb2ec7701d4af681e63c4f52bc4d0c8cbfa493f55d3d9580e7106b857f
+SIZE (fusepod-0.5.2.tar.bz2) = 80923
diff --git a/filesystems/pod/files/patch-configure b/filesystems/pod/files/patch-configure
new file mode 100644
index 000000000000..2cf3daa10dd1
--- /dev/null
+++ b/filesystems/pod/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Wed Aug 22 22:03:08 2007
++++ configure Wed Aug 22 22:03:20 2007
+@@ -3455,7 +3455,7 @@
+ taglib_LIBS=`$TAGLIB_CONFIG --libs`
+ fi
+
+-CPPFLAGS="$CPPFLAGS -Wall -O2 -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=25 $FUSE_CPPFLAGS $libgpod_CFLAGS $taglib_CFLAGS"
++CPPFLAGS="$CPPFLAGS -Wall -O2 -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=25 $FUSE_CFLAGS $libgpod_CFLAGS $taglib_CFLAGS"
+ LIBS="$FUSE_LIBS $libgpod_LIBS $taglib_LIBS"
+
+ ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
diff --git a/filesystems/pod/files/patch-src_fusepod__ipod.h b/filesystems/pod/files/patch-src_fusepod__ipod.h
new file mode 100644
index 000000000000..c0f147ea9465
--- /dev/null
+++ b/filesystems/pod/files/patch-src_fusepod__ipod.h
@@ -0,0 +1,12 @@
+--- src/fusepod_ipod.h.orig 2021-08-02 02:27:26 UTC
++++ src/fusepod_ipod.h
+@@ -15,9 +15,7 @@
+ #ifndef _FUSEPOD_IPOD_H_
+ #define _FUSEPOD_IPOD_H_
+
+-extern "C" {
+ #include <gpod/itdb.h>
+-}
+
+ #include <string>
+ #include <cstring>
diff --git a/filesystems/pod/files/patch-src_fusepod__util.h b/filesystems/pod/files/patch-src_fusepod__util.h
new file mode 100644
index 000000000000..e4bb07a47865
--- /dev/null
+++ b/filesystems/pod/files/patch-src_fusepod__util.h
@@ -0,0 +1,10 @@
+--- src/fusepod_util.h.orig 2019-04-09 11:38:35 UTC
++++ src/fusepod_util.h
+@@ -15,6 +15,7 @@
+ #ifndef _FUSEPOD_UTIL_H_
+ #define _FUSEPOD_UTIL_H_
+
++#include <strings.h>
+ #include <vector>
+ #include <string>
+
diff --git a/filesystems/pod/pkg-descr b/filesystems/pod/pkg-descr
new file mode 100644
index 000000000000..9628c63574f1
--- /dev/null
+++ b/filesystems/pod/pkg-descr
@@ -0,0 +1,4 @@
+FUSEPod is a userspace filesystem which mounts your iPod into a directory
+for easy browsing of your songs on your iPod. It features a configurable
+directory layout, read/write support, read support for playlists and finds
+where your iPod is.