Lines 1-5
Link Here
|
1 |
# Created by: David O'Brien (obrien@cs.ucdavis.edu) |
1 |
# Created by: David O'Brien (obrien@cs.ucdavis.edu) |
2 |
# $FreeBSD: net/rsync/Makefile 329238 2013-10-03 21:28:47Z ehaupt $ |
2 |
# $FreeBSD: net/rsync/Makefile 329238 2013-10-03 21:28:47Z ehaupt $ |
3 |
|
3 |
|
4 |
PORTNAME= rsync |
4 |
PORTNAME= rsync |
5 |
PORTVERSION= 3.1.0 |
5 |
PORTVERSION= 3.1.0 |
Lines 28-36
Link Here
|
28 |
|
28 |
|
29 |
PORTDOCS= NEWS README csprotocol.txt tech_report.tex |
29 |
PORTDOCS= NEWS README csprotocol.txt tech_report.tex |
30 |
|
30 |
|
31 |
MAN1= rsync.1 |
|
|
32 |
MAN5= rsyncd.conf.5 |
33 |
|
34 |
# define options |
31 |
# define options |
35 |
OPTIONS_DEFINE= POPT_PORT ZLIB_BASE SSH ICONV |
32 |
OPTIONS_DEFINE= POPT_PORT ZLIB_BASE SSH ICONV |
36 |
OPTIONS_RADIO= PTS |
33 |
OPTIONS_RADIO= PTS |
Lines 52-58
Link Here
|
52 |
# define default options |
49 |
# define default options |
53 |
OPTIONS_DEFAULT=SSH ZLIB_BASE |
50 |
OPTIONS_DEFAULT=SSH ZLIB_BASE |
54 |
|
51 |
|
55 |
NO_STAGE= yes |
|
|
56 |
.include <bsd.port.options.mk> |
52 |
.include <bsd.port.options.mk> |
57 |
|
53 |
|
58 |
.if ${PORT_OPTIONS:MZLIB_BASE} |
54 |
.if ${PORT_OPTIONS:MZLIB_BASE} |
Lines 128-141
Link Here
|
128 |
${WRKSRC}/rsync.h ${WRKSRC}/zlib/zutil.h |
124 |
${WRKSRC}/rsync.h ${WRKSRC}/zlib/zutil.h |
129 |
|
125 |
|
130 |
post-install: |
126 |
post-install: |
131 |
@${STRIP_CMD} ${PREFIX}/bin/rsync |
127 |
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/rsync |
132 |
@${INSTALL_DATA} ${FILESDIR}/rsyncd.conf.sample ${PREFIX}/etc/ |
128 |
@${INSTALL_DATA} ${FILESDIR}/rsyncd.conf.sample ${STAGEDIR}${PREFIX}/etc/ |
133 |
@[ -f ${PREFIX}/etc/rsyncd.conf ] || \ |
|
|
134 |
${CP} ${PREFIX}/etc/rsyncd.conf.sample \ |
135 |
${PREFIX}/etc/rsyncd.conf |
136 |
.if ${PORT_OPTIONS:MDOCS} |
129 |
.if ${PORT_OPTIONS:MDOCS} |
137 |
@${MKDIR} ${DOCSDIR} |
130 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
138 |
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} |
131 |
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} |
139 |
.endif |
132 |
.endif |
140 |
|
133 |
|
141 |
test: build |
134 |
test: build |