2008-04-10 15:06:45 +00:00
|
|
|
COMMENT = mirroring/synchronization over low bandwidth links
|
2002-01-14 23:07:49 +00:00
|
|
|
|
2022-08-15 13:45:23 +00:00
|
|
|
DISTNAME = rsync-3.2.5
|
2022-08-15 14:51:17 +00:00
|
|
|
|
|
|
|
# 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}
|
2022-11-08 11:16:56 +00:00
|
|
|
REVISION = 0
|
2022-08-15 14:51:17 +00:00
|
|
|
|
2008-04-10 15:06:45 +00:00
|
|
|
CATEGORIES = net
|
2013-10-10 12:01:30 +00:00
|
|
|
HOMEPAGE = https://rsync.samba.org/
|
1998-11-26 18:22:06 +00:00
|
|
|
|
2011-09-03 13:06:01 +00:00
|
|
|
FLAVORS = iconv
|
|
|
|
FLAVOR ?=
|
|
|
|
|
2011-04-02 15:13:25 +00:00
|
|
|
# GPLv3
|
2019-07-12 20:48:23 +00:00
|
|
|
PERMIT_PACKAGE = Yes
|
2011-04-02 15:13:25 +00:00
|
|
|
|
2020-08-08 21:53:46 +00:00
|
|
|
WANTLIB = c crypto
|
2000-02-12 08:02:07 +00:00
|
|
|
|
2019-11-26 15:22: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/
|
2002-01-14 23:07:49 +00:00
|
|
|
|
2022-05-23 00:24:58 +00:00
|
|
|
MODULES = lang/python
|
|
|
|
|
|
|
|
MODPY_RUNDEP = No
|
|
|
|
|
|
|
|
BUILD_DEPENDS = textproc/py-commonmark${MODPY_FLAVOR}
|
|
|
|
|
2020-08-03 21:35:36 +00:00
|
|
|
SEPARATE_BUILD =Yes
|
2008-04-10 15:06:45 +00:00
|
|
|
CONFIGURE_STYLE =gnu
|
2020-08-08 21:53:46 +00:00
|
|
|
CONFIGURE_ARGS =--disable-lz4 \
|
|
|
|
--disable-xxhash \
|
|
|
|
--disable-zstd \
|
|
|
|
--with-included-popt \
|
2014-06-30 19:34:36 +00:00
|
|
|
--with-included-zlib \
|
2022-05-23 00:24:58 +00:00
|
|
|
--with-rrsync \
|
2005-10-14 19:31:39 +00:00
|
|
|
--with-rsyncd-conf="${SYSCONFDIR}/rsyncd.conf" \
|
2013-10-10 12:01:30 +00:00
|
|
|
--with-rsh=/usr/bin/ssh \
|
2022-05-23 00:24:58 +00:00
|
|
|
--with-nobody-user=_rsync \
|
2011-04-02 15:13:25 +00:00
|
|
|
--with-nobody-group=_rsync
|
1998-11-26 18:22:06 +00:00
|
|
|
|
2022-05-23 00:24:58 +00:00
|
|
|
.include <bsd.port.arch.mk>
|
|
|
|
|
|
|
|
.if ${ARCH:Mamd64}
|
|
|
|
CONFIGURE_ARGS +=--enable-md5-asm
|
|
|
|
.endif
|
|
|
|
|
2013-02-09 14:49:50 +00:00
|
|
|
.if ${FLAVOR:Miconv}
|
2020-08-08 21:53:46 +00:00
|
|
|
CONFIGURE_ENV +=CPPFLAGS='-I${LOCALBASE}/include' \
|
|
|
|
LDFLAGS='-L${LOCALBASE}/lib'
|
2016-04-05 19:05:37 +00:00
|
|
|
LIB_DEPENDS += converters/libiconv
|
|
|
|
WANTLIB += iconv
|
2011-09-03 13:06:01 +00:00
|
|
|
.endif
|
|
|
|
|
2008-04-10 15:06:45 +00:00
|
|
|
DOCDIR = ${PREFIX}/share/doc/rsync
|
2019-11-13 12:17:21 +00:00
|
|
|
DEBUG_PACKAGES = ${BUILD_PACKAGES}
|
1998-11-26 18:22:06 +00:00
|
|
|
|
2011-03-07 19:48:20 +00:00
|
|
|
pre-configure:
|
2022-05-23 00:24:58 +00:00
|
|
|
${SUBST_CMD} ${WRKSRC}/support/rrsync
|
2011-03-07 19:48:20 +00:00
|
|
|
|
2013-10-10 12:01:30 +00:00
|
|
|
post-install:
|
2000-03-04 08:17:37 +00:00
|
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
1998-11-26 18:22:06 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/tech_report.tex ${DOCDIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|