diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2013-10-23 15:27:13 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2013-10-23 15:27:13 +0800 |
commit | ee4ea3f89a018f0c290c85802a3a9b9bb54f9870 (patch) | |
tree | ac7ea0af2c639d4a79c1a5ed4182b32c5e7532a7 /net | |
parent | 1868160715f4d56fd6ce751a6cffa3b86ca1a34d (diff) | |
download | freebsd-ports-gnome-ee4ea3f89a018f0c290c85802a3a9b9bb54f9870.tar.gz freebsd-ports-gnome-ee4ea3f89a018f0c290c85802a3a9b9bb54f9870.tar.zst freebsd-ports-gnome-ee4ea3f89a018f0c290c85802a3a9b9bb54f9870.zip |
Support staging.
PR: 183189
Submitted by: mat
Diffstat (limited to 'net')
-rw-r--r-- | net/rsync/Makefile | 15 | ||||
-rw-r--r-- | net/rsync/pkg-plist | 2 |
2 files changed, 6 insertions, 11 deletions
diff --git a/net/rsync/Makefile b/net/rsync/Makefile index 15a5b544cd1f..bfea0df274b2 100644 --- a/net/rsync/Makefile +++ b/net/rsync/Makefile @@ -28,9 +28,6 @@ CONFIGURE_ARGS= --disable-debug --enable-ipv6 \ PORTDOCS= NEWS README csprotocol.txt tech_report.tex -MAN1= rsync.1 -MAN5= rsyncd.conf.5 - # define options OPTIONS_DEFINE= POPT_PORT ZLIB_BASE SSH ICONV OPTIONS_RADIO= PTS @@ -52,7 +49,6 @@ ACL_DESC= Add backward-compatibility for the --acls option # define default options OPTIONS_DEFAULT=SSH ZLIB_BASE -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MZLIB_BASE} @@ -128,14 +124,11 @@ pre-configure: ${WRKSRC}/rsync.h ${WRKSRC}/zlib/zutil.h post-install: - @${STRIP_CMD} ${PREFIX}/bin/rsync - @${INSTALL_DATA} ${FILESDIR}/rsyncd.conf.sample ${PREFIX}/etc/ - @[ -f ${PREFIX}/etc/rsyncd.conf ] || \ - ${CP} ${PREFIX}/etc/rsyncd.conf.sample \ - ${PREFIX}/etc/rsyncd.conf + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/rsync + @${INSTALL_DATA} ${FILESDIR}/rsyncd.conf.sample ${STAGEDIR}${PREFIX}/etc/ .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .endif test: build diff --git a/net/rsync/pkg-plist b/net/rsync/pkg-plist index 1a67dc6ec584..ffed507a32f8 100644 --- a/net/rsync/pkg-plist +++ b/net/rsync/pkg-plist @@ -1,5 +1,7 @@ @comment $FreeBSD$ bin/rsync +man/man1/rsync.1.gz +man/man5/rsyncd.conf.5.gz @unexec if cmp -s %D/etc/rsyncd.conf.sample %D/etc/rsyncd.conf; then rm -f %D/etc/rsyncd.conf; fi etc/rsyncd.conf.sample @exec [ -f %B/rsyncd.conf ] || cp %B/%f %B/rsyncd.conf |