summaryrefslogtreecommitdiff
path: root/filesystems/zerofs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'filesystems/zerofs/Makefile')
-rw-r--r--filesystems/zerofs/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/filesystems/zerofs/Makefile b/filesystems/zerofs/Makefile
new file mode 100644
index 000000000000..e577719bff00
--- /dev/null
+++ b/filesystems/zerofs/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= zerofs
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.10.5
+PORTREVISION= 1
+CATEGORIES= filesystems sysutils
+
+MAINTAINER= stephan@lichtenauer.co.za
+COMMENT= ZeroFS is 9P/NFS/NBD on top of S3
+WWW= https://github.com/Barre/ZeroFS
+
+LICENSE= AGPLv3
+LICENSE_FILE= ${WRKDIR}/ZeroFS-${DISTVERSION}/LICENSE
+
+USES= cargo gmake
+
+WRKSRC= ${WRKDIR}/ZeroFS-${DISTVERSION}/zerofs
+
+USE_GITHUB= yes
+GH_ACCOUNT= Barre
+GH_PROJECT= ZeroFS
+PLIST_FILES= bin/zerofs
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKDIR}/target/release/zerofs ${STAGEDIR}${PREFIX}/bin/zerofs
+
+.include <bsd.port.mk>