View | Details | Raw Unified | Return to bug 97050
Collapse All | Expand All

(-)rsync/Makefile (-8 / +18 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	rsync
8
PORTNAME=	rsync
9
PORTVERSION=	2.6.8
9
PORTVERSION=	2.6.8
10
PORTREVISION=	1
10
CATEGORIES=	net ipv6
11
CATEGORIES=	net ipv6
11
MASTER_SITES=	http://rsync.samba.org/ftp/%SUBDIR%/ \
12
MASTER_SITES=	http://rsync.samba.org/ftp/%SUBDIR%/ \
12
		ftp://ftp.samba.org//pub/%SUBDIR%/ \
13
		ftp://ftp.samba.org//pub/%SUBDIR%/ \
Lines 20-25 Link Here
20
MAINTAINER=	pav@FreeBSD.org
21
MAINTAINER=	pav@FreeBSD.org
21
COMMENT=	A network file distribution/synchronization utility
22
COMMENT=	A network file distribution/synchronization utility
22
23
24
OPTIONS=	POPT_PORT "Use popt from ports" off \
25
		TIMELIMIT "Include time limit support" on \
26
		FLAGS "Include file flags support" on \
27
		ACLS "Include ACL support" on \
28
		SSH "Use ssh instead of rsh" on
29
30
.include <bsd.port.pre.mk>
31
23
.if defined(WITH_POPT_PORT)
32
.if defined(WITH_POPT_PORT)
24
LIB_DEPENDS=	popt.0:${PORTSDIR}/devel/popt
33
LIB_DEPENDS=	popt.0:${PORTSDIR}/devel/popt
25
.endif
34
.endif
Lines 47-53 Link Here
47
PATCH_STRIP=	-p1
56
PATCH_STRIP=	-p1
48
.endif
57
.endif
49
58
50
.include <bsd.port.pre.mk>
59
.if !defined(WITHOUT_FLAGS)
60
EXTRA_PATCHES+=	${WRKSRC}/patches/flags.diff
61
PATCH_STRIP=	-p1
62
.endif
63
64
.if !defined(WITHOUT_ACLS)
65
EXTRA_PATCHES+=	${WRKSRC}/patches/acls.diff
66
PATCH_STRIP=	-p1
67
.endif
51
68
52
SUB_LIST+=	NAME=rsyncd
69
SUB_LIST+=	NAME=rsyncd
53
70
Lines 67-79 Link Here
67
84
68
MAN1=		rsync.1
85
MAN1=		rsync.1
69
MAN5=		rsyncd.conf.5
86
MAN5=		rsyncd.conf.5
70
71
.if !defined(WITH_POPT_PORT)
72
pre-everything::
73
	@${ECHO_CMD} "rsync comes with an included version of popt."
74
	@${ECHO_CMD} "To build rsync with devel/popt instead,"
75
	@${ECHO_CMD} "hit Ctrl-C now and define WITH_POPT_PORT"
76
.endif
77
87
78
pre-configure:
88
pre-configure:
79
	@${REINPLACE_CMD} -e 's:/etc/:${PREFIX}/etc/:g'  \
89
	@${REINPLACE_CMD} -e 's:/etc/:${PREFIX}/etc/:g'  \

Return to bug 97050