aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/zap/Makefile
blob: 4278181ea093277cd02ca14fc7d791fadc1b541d (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
# $FreeBSD$

PORTNAME=   zap
DISTVERSION=    0.7.4
CATEGORIES= sysutils

MAINTAINER= jrm@FreeBSD.org
COMMENT=    Maintain and replicate ZFS snapshots

LICENSE=    BSD2CLAUSE

NO_ARCH=    yes
NO_BUILD=   yes

USE_GITHUB= yes
GH_ACCOUNT= Jehops

PLIST_FILES=    bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
PORTDOCS=   README.org

USERS=      ${PORTNAME}
GROUPS=     ${PORTNAME}

OPTIONS_DEFINE= DOCS

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>