freebsd-ports/sysutils/rsyncrypto/Makefile
Piotr Kubaj af990a36cf sysutils/rsyncrypto: fix build on GCC architectures
Use C++11 compiler:
crypt_key.h:54: error: ISO C++ forbids declaration of 'unique_ptr' with no type
2020-08-16 18:59:13 +00:00

36 lines
866 B
Makefile

# Created by: Jin-Sih Lin <linpct@gmail.com>
# $FreeBSD$
PORTNAME= rsyncrypto
PORTVERSION= 1.14
CATEGORIES= sysutils net
MASTER_SITES= SF
MAINTAINER= linpct@gmail.com
COMMENT= Rsync Friendly File Encryption
LICENSE= GPLv2+
LIB_DEPENDS= libargtable2.so:devel/argtable
RUN_DEPENDS= rsync:net/rsync
USES= compiler:c++11-lang gmake localbase ssl tar:bzip2
GNU_CONFIGURE= yes
PLIST_FILES= bin/rsyncrypto \
bin/rsyncrypto_recover \
man/man1/rsyncrypto.1.gz \
man/man1/rsyncrypto_recover.1.gz
PORTDOCS= AUTHORS ChangeLog NEWS README
OPTIONS_DEFINE= DOCS
post-patch:
# Inhibit the check for RSA_get0_factors() to support older OpenSSL versions
@${REINPLACE_CMD} -e '/RSA_get0_factors/,+49d' ${WRKSRC}/configure
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>