1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/net/rsync/Makefile

54 lines
1.5 KiB
Makefile
Raw Normal View History

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