summaryrefslogtreecommitdiff
path: root/filesystems/pod
diff options
context:
space:
mode:
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.