1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/sysutils/zbackup/Makefile
Sunpoet Po-Chuan Hsieh 7f2dff279c Update devel/protobuf to 3.2.0
- Bump PORTREVISION for shlib change

Changes:	https://github.com/google/protobuf/releases
2017-01-29 16:04:36 +00:00

36 lines
784 B
Makefile

# $FreeBSD$
PORTNAME= zbackup
PORTVERSION= 1.4.4
PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= https://github.com/zbackup/zbackup/archive/
DISTNAME= ${PORTVERSION}
MAINTAINER= kevlo@FreeBSD.org
COMMENT= Versatile deduplicating backup tool
LICENSE= GPLv2
LIB_DEPENDS= libprotobuf.so:devel/protobuf \
liblzo2.so:archivers/lzo2
USES= alias cmake ssl
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
OPTIONS_DEFINE= DOCS
PLIST_FILES= bin/zbackup
PORTDOCS= README.md
post-patch:
@${REINPLACE_CMD} -e 's| CHECK(| ZBACKUP_CHECK(|' ${WRKSRC}/*.cc ${WRKSRC}/*.hh ${WRKSRC}/tests/*/*.cc
do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
${INSTALL_PROGRAM} ${WRKSRC}/zbackup ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>