af633aed47
changes, and now uses the system zlib. https://rsync.samba.org/ftp/rsync/src/rsync-3.1.0-NEWS Clean up some cruft: * Dropped the -T from --with-rsh. No tty allocation is the default for ssh, and if somebody sets RequestTTY in .ssh/config, they should get what they want. * Removed pointless SECURITY file. * Replaced the outdated DESCR text with the description from the man page. ok espie@
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.72 2013/10/10 12:01:30 naddy Exp $
|
|
|
|
COMMENT = mirroring/synchronization over low bandwidth links
|
|
|
|
DISTNAME = rsync-3.1.0
|
|
CATEGORIES = net
|
|
HOMEPAGE = https://rsync.samba.org/
|
|
|
|
MAINTAINER = Marc Espie <espie@openbsd.org>
|
|
|
|
FLAVORS = iconv
|
|
FLAVOR ?=
|
|
|
|
# GPLv3
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB = c z
|
|
|
|
MASTER_SITES = https://rsync.samba.org/ftp/rsync/src/ \
|
|
http://ftp.funet.fi/pub/mirrors/samba.org/pub/rsync/src/
|
|
|
|
CONFIGURE_STYLE =gnu
|
|
CONFIGURE_ARGS =--with-included-popt \
|
|
--without-included-zlib \
|
|
--with-rsyncd-conf="${SYSCONFDIR}/rsyncd.conf" \
|
|
--with-rsh=/usr/bin/ssh \
|
|
--with-nobody-group=_rsync
|
|
|
|
.if ${FLAVOR:Miconv}
|
|
CONFIGURE_ENV += CPPFLAGS='-I${LOCALBASE}/include' \
|
|
LDFLAGS='-L${LOCALBASE}/lib'
|
|
MODULES += converters/libiconv
|
|
.endif
|
|
|
|
DOCDIR = ${PREFIX}/share/doc/rsync
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/rsyncd.conf.5 \
|
|
${WRKSRC}/support/rrsync
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/tech_report.tex ${DOCDIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/support/rrsync ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|