aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/zfstools/Makefile
blob: 9d49e05e2851fbbd2bd96595f34060efa2cf55e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $FreeBSD$

PORTNAME=   zfstools
DISTVERSIONPREFIX=v
DISTVERSION=    0.3.6
PORTREVISION=   0
CATEGORIES= sysutils ruby
MASTER_SITES=   GH \
        http://mirror.shatow.net/freebsd/${PORTNAME}/

MAINTAINER= bdrewery@FreeBSD.org
COMMENT=    OpenSolaris-compatible auto snapshotting for ZFS

LICENSE=    BSD2CLAUSE
LICENSE_FILE=   ${WRKSRC}/LICENSE.txt

USE_GITHUB= yes
GH_ACCOUNT= bdrewery

USE_RUBY=   yes
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>