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