- Include UPDATING message about breaking changes in zrepl.yml - Update dependencies to match Gopkg.lock changes [1] - Take maintainership, approves by lifanov via email previously [1] https://github.com/zrepl/zrepl/compare/0.0.1...0.0.2#files_bucket Approved by: lifanov (maintainer) Differential Revision: https://reviews.freebsd.org/D13163
52 lines
2 KiB
Makefile
52 lines
2 KiB
Makefile
# Created by: Nikolai Lifanov <lifanov@FreeBSD.org> and Ben Woods <woodsb02@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= zrepl
|
|
PORTVERSION= 0.0.2
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= woodsb02@FreeBSD.org
|
|
COMMENT= ZFS dataset replication tool
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= go
|
|
USE_RC_SUBR= zrepl
|
|
SUB_FILES= pkg-message
|
|
|
|
USE_GITHUB= yes
|
|
GH_SUBDIR= src/github.com/zrepl/zrepl
|
|
GH_TUPLE= davecgh:go-spew:v1.1.0:go_spew/src/github.com/davecgh/go-spew \
|
|
ftrvxmtrx:fd:c6d8003:fd/src/github.com/ftrvxmtrx/fd \
|
|
go-logfmt:logfmt:v0.3.0:go_logfmt/src/github.com/go-logfmt/logfmt \
|
|
go-yaml:yaml:eb3733d:go_yaml/src/github.com/go-yaml/yaml \
|
|
inconshreveable:mousetrap:v1.0:mousetrap/src/github.com/inconshreveable/mousetrap \
|
|
jinzhu:copier:db4671f:copier/src/github.com/jinzhu/copier \
|
|
kr:logfmt:b84e30a:logfmt/src/github.com/kr/logfmt \
|
|
kr:pretty:cfb55aa:pretty/src/github.com/kr/pretty \
|
|
kr:text:7cafcd8:text/src/github.com/kr/text \
|
|
mitchellh:mapstructure:d0303fe:mapstructure/src/github.com/mitchellh/mapstructure \
|
|
pkg:errors:v0.8.0:errors/src/github.com/pkg/errors \
|
|
pmezard:go-difflib:v1.0.0:go_difflib/src/github.com/pmezard/go-difflib \
|
|
spf13:cobra:b787445:cobra/src/github.com/spf13/cobra \
|
|
spf13:pflag:v1.0.0:pflag/src/github.com/spf13/pflag \
|
|
stretchr:testify:v1.1.4:testify/src/github.com/stretchr/testify
|
|
|
|
GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT}
|
|
|
|
post-extract:
|
|
${LN} -sf ${WRKSRC}/src ${WRKDIR}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKDIR}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d \
|
|
${STAGEDIR}${PREFIX}/etc/syslog.d \
|
|
${STAGEDIR}${PREFIX}/etc/zrepl
|
|
${INSTALL_DATA} ${FILESDIR}/newsyslog-zrepl.conf ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d/zrepl.conf.sample
|
|
${INSTALL_DATA} ${FILESDIR}/syslog-zrepl.conf.sample ${STAGEDIR}${PREFIX}/etc/syslog.d/zrepl.conf.sample
|
|
${INSTALL_DATA} ${FILESDIR}/zrepl.yml.sample ${STAGEDIR}${PREFIX}/etc/zrepl/zrepl.yml.sample
|
|
|
|
.include <bsd.port.mk>
|