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