summaryrefslogtreecommitdiff
path: root/filesystems/s3fs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'filesystems/s3fs/Makefile')
-rw-r--r--filesystems/s3fs/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/filesystems/s3fs/Makefile b/filesystems/s3fs/Makefile
new file mode 100644
index 000000000000..20cdfb4ae528
--- /dev/null
+++ b/filesystems/s3fs/Makefile
@@ -0,0 +1,36 @@
+PORTNAME= s3fs
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.92
+PORTREVISION= 1
+CATEGORIES= filesystems
+PKGNAMEPREFIX= fusefs-
+
+MAINTAINER= dmgk@FreeBSD.org
+COMMENT= FUSE-based file system backed by Amazon S3
+WWW= https://github.com/s3fs-fuse/s3fs-fuse
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+LIB_DEPENDS= libcurl.so:ftp/curl \
+ libxml2.so:textproc/libxml2
+
+USES= autoreconf fuse pkgconfig ssl
+
+USE_GITHUB= yes
+GH_ACCOUNT= s3fs-fuse
+GH_PROJECT= s3fs-fuse
+
+GNU_CONFIGURE= yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
+
+CONFIGURE_ENV+= ac_cv_prog_GITCMD=no
+
+PLIST_FILES= bin/s3fs share/man/man1/s3fs.1.gz
+
+post-patch:
+ @${REINPLACE_CMD} -e 's/libcrypto >= 0.9//' ${WRKSRC}/configure.ac
+ @${REINPLACE_CMD} -e '/DEPS_LIBS/s/$$/ -lcrypto/' \
+ ${WRKSRC}/src/Makefile.am
+
+.include <bsd.port.mk>