2022-03-31 16:19:20 +00:00

35 lines
678 B
Makefile

COMMENT= library for delta compression of streams
V = 2.3.2
DISTNAME = librsync-${V}
REVISION = 0
SHARED_LIBS = rsync 5.1
CATEGORIES= net
HOMEPAGE= https://librsync.github.io/
# LGPLv2.1+
PERMIT_PACKAGE= Yes
WANTLIB += b2 c popt iconv intl
MASTER_SITES = https://github.com/librsync/librsync/releases/download/v${V}/
MODULES= devel/cmake
LIB_DEPENDS= devel/popt \
security/libb2
CONFIGURE_ARGS= -DUSE_LIBB2=ON
# There are C99 initial declarations in for loops, base-gcc needs this flag.
CFLAGS += -std=gnu99
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/rdiff.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/doc/librsync.3 ${PREFIX}/man/man3
.include <bsd.port.mk>