1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

- Fix build with protobuf 3.1.0

- Bump PORTREVISION for devel/protobuf shlib change
- While I'm here, add missing USES=ssl
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2016-12-14 17:58:31 +00:00
parent 81196f870c
commit e9e401c503
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=428583

View File

@ -2,6 +2,7 @@
PORTNAME= zbackup
PORTVERSION= 1.4.4
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= https://github.com/zbackup/zbackup/archive/
DISTNAME= ${PORTVERSION}
@ -14,7 +15,7 @@ LICENSE= GPLv2
LIB_DEPENDS= libprotobuf.so:devel/protobuf \
liblzo2.so:archivers/lzo2
USES= alias cmake
USES= alias cmake ssl
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
@ -23,6 +24,9 @@ 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}