freebsd-ports/sysutils/zbackup/Makefile
Mathieu Arnold 99761d7f4c Convert every usage of https://github.com/.../archive/xxx to USE_GITHUB.
While there, fix small style issues.

Sponsored by:	Absolight
2017-06-06 16:18:16 +00:00

34 lines
852 B
Makefile

# $FreeBSD$
PORTNAME= zbackup
PORTVERSION= 1.4.4
PORTREVISION= 3
CATEGORIES= sysutils
MAINTAINER= kevlo@FreeBSD.org
COMMENT= Versatile deduplicating backup tool
LICENSE= GPLv2
LIB_DEPENDS= libprotobuf.so:devel/protobuf \
liblzo2.so:archivers/lzo2
BROKEN_powerpc64= fails to compile: metadata_lite.h: class 'google::protobuf::internal::InternalMetadataWithArenaLite' does not have any field named 'InternalMetadataWithArenaBase'
USES= alias cmake ssl
USE_GITHUB= yes
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>