1998-01-03 05:14:32 -05:00
|
|
|
# ex:ts=8
|
2000-02-12 22:25:05 -05:00
|
|
|
# Ports collection makefile for: rsync
|
|
|
|
# Date created: Sat Aug 3, 1996
|
|
|
|
# Whom: David O'Brien (obrien@cs.ucdavis.edu)
|
1996-08-16 03:23:01 -04:00
|
|
|
#
|
1999-08-30 10:24:37 -04:00
|
|
|
# $FreeBSD$
|
1996-08-16 03:23:01 -04:00
|
|
|
#
|
|
|
|
|
2000-04-09 14:14:07 -04:00
|
|
|
PORTNAME= rsync
|
2000-09-08 16:15:03 -04:00
|
|
|
PORTVERSION= 2.4.6
|
2000-02-17 02:37:23 -05:00
|
|
|
CATEGORIES= net ipv6
|
1996-10-22 13:07:22 -04:00
|
|
|
MASTER_SITES= ftp://samba.anu.edu.au/pub/rsync/ \
|
1998-01-03 05:14:32 -05:00
|
|
|
ftp://sunsite.auc.dk/pub/unix/rsync/ \
|
1998-04-21 01:02:58 -04:00
|
|
|
ftp://ftp.sunet.se/pub/unix/admin/rsync/ \
|
1998-01-03 05:14:32 -05:00
|
|
|
ftp://ftp.fu-berlin.de/pub/unix/network/rsync/
|
1996-08-16 03:23:01 -04:00
|
|
|
|
2000-07-19 11:36:18 -04:00
|
|
|
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/ \
|
|
|
|
ftp://ftp.pasta.cs.uit.no/pub/IPv6/misc/
|
2000-09-13 16:02:10 -04:00
|
|
|
PATCHFILES= rsync-246-v6-20000907.diff.gz
|
2000-07-19 11:36:18 -04:00
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
|
2000-02-12 22:25:05 -05:00
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
1996-08-16 03:23:01 -04:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2000-01-26 04:22:00 -05:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2000-02-17 02:01:22 -05:00
|
|
|
.if ${OSVERSION} >= 400014
|
|
|
|
CONFIGURE_ARGS= --enable-ipv6
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS= --disable-ipv6
|
|
|
|
.endif
|
1996-11-18 06:44:27 -05:00
|
|
|
MAN1= rsync.1
|
1998-07-06 05:51:27 -04:00
|
|
|
MAN5= rsyncd.conf.5
|
1997-09-28 00:49:43 -04:00
|
|
|
|
1998-12-18 04:06:29 -05:00
|
|
|
pre-configure:
|
2001-01-09 12:09:44 -05:00
|
|
|
@${PERL} -pi.orig -e 's:/etc/:${PREFIX}/etc/:g' \
|
2001-01-07 12:49:52 -05:00
|
|
|
${WRKSRC}/rsync.h ${WRKSRC}/rsync.1 ${WRKSRC}/rsyncd.conf.5
|
2000-04-16 20:19:02 -04:00
|
|
|
.if defined(WITH_SSH)
|
2000-02-17 00:43:24 -05:00
|
|
|
@${PERL} -pi.orig-rsh -e 's/"rsh"/"ssh"/g' ${WRKSRC}/rsync.h
|
|
|
|
.endif
|
1998-12-18 04:06:29 -05:00
|
|
|
|
1996-08-16 03:23:01 -04:00
|
|
|
post-install:
|
1996-11-30 20:23:27 -05:00
|
|
|
@strip ${PREFIX}/bin/rsync
|
1996-08-16 03:23:01 -04:00
|
|
|
.if !defined(NOPORTDOCS)
|
1996-11-30 20:23:27 -05:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/rsync
|
1998-07-06 05:51:27 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/rsync
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/rsync
|
1998-01-03 05:14:32 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/tech_report.tex ${PREFIX}/share/doc/rsync
|
1996-08-16 03:23:01 -04:00
|
|
|
.endif
|
|
|
|
|
2000-01-26 04:22:00 -05:00
|
|
|
.include <bsd.port.post.mk>
|