68 lines
1.4 KiB
Makefile
Raw Normal View History

COMMENT = mirroring/synchronization over low bandwidth links
DISTNAME = rsync-3.2.5
# distfile was rerolled under the same name; remove PKGNAME/DISTFILES
# when updating
PKGNAME = rsync-3.2.5pl0
DISTFILES = rsync-3.2.5pl0{rsync-3.2.5}${EXTRACT_SUFX}
REVISION = 0
CATEGORIES = net
HOMEPAGE = https://rsync.samba.org/
2011-09-03 13:06:01 +00:00
FLAVORS = iconv
FLAVOR ?=
# GPLv3
PERMIT_PACKAGE = Yes
WANTLIB = c crypto
2000-02-12 08:02:07 +00:00
MASTER_SITES = https://rsync.samba.org/ftp/rsync/src/ \
2020-08-26 12:40:39 +00:00
https://ftp.funet.fi/pub/mirrors/samba.org/pub/rsync/src/
MODULES = lang/python
MODPY_RUNDEP = No
BUILD_DEPENDS = textproc/py-commonmark${MODPY_FLAVOR}
SEPARATE_BUILD =Yes
CONFIGURE_STYLE =gnu
CONFIGURE_ARGS =--disable-lz4 \
--disable-xxhash \
--disable-zstd \
--with-included-popt \
--with-included-zlib \
--with-rrsync \
--with-rsyncd-conf="${SYSCONFDIR}/rsyncd.conf" \
--with-rsh=/usr/bin/ssh \
--with-nobody-user=_rsync \
--with-nobody-group=_rsync
.include <bsd.port.arch.mk>
.if ${ARCH:Mamd64}
CONFIGURE_ARGS +=--enable-md5-asm
.endif
.if ${FLAVOR:Miconv}
CONFIGURE_ENV +=CPPFLAGS='-I${LOCALBASE}/include' \
LDFLAGS='-L${LOCALBASE}/lib'
LIB_DEPENDS += converters/libiconv
WANTLIB += iconv
2011-09-03 13:06:01 +00:00
.endif
DOCDIR = ${PREFIX}/share/doc/rsync
2019-11-13 12:17:21 +00:00
DEBUG_PACKAGES = ${BUILD_PACKAGES}
pre-configure:
${SUBST_CMD} ${WRKSRC}/support/rrsync
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/tech_report.tex ${DOCDIR}
.include <bsd.port.mk>