summaryrefslogtreecommitdiff
path: root/filesystems/zfstools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'filesystems/zfstools/Makefile')
-rw-r--r--filesystems/zfstools/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/filesystems/zfstools/Makefile b/filesystems/zfstools/Makefile
new file mode 100644
index 000000000000..53d733ceddb3
--- /dev/null
+++ b/filesystems/zfstools/Makefile
@@ -0,0 +1,36 @@
+PORTNAME= zfstools
+DISTVERSIONPREFIX=v
+DISTVERSION= 0.3.6
+PORTREVISION= 2
+CATEGORIES= filesystems sysutils ruby
+MASTER_SITES= GH \
+ http://mirror.shatow.net/freebsd/${PORTNAME}/
+
+MAINTAINER= bdrewery@FreeBSD.org
+COMMENT= OpenSolaris-compatible auto snapshotting for ZFS
+WWW= https://github.com/bdrewery/zfstools
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+USES= ruby shebangfix
+SHEBANG_FILES= bin/*
+
+USE_GITHUB= yes
+GH_ACCOUNT= bdrewery
+
+NO_BUILD= yes
+
+SUB_FILES= pkg-message
+
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
+do-install:
+ @cd ${WRKSRC}/bin && ${COPYTREE_BIN} . ${STAGEDIR}${PREFIX}/sbin
+ @cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${RUBY_SITELIBDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>