summaryrefslogtreecommitdiffstats
path: root/net/rsync/Makefile
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1998-12-18 09:06:29 +0000
committerobrien <obrien@FreeBSD.org>1998-12-18 09:06:29 +0000
commit7582b22ad58c952c87fea03faf48e1cdf66e96ce (patch)
tree3aacc7c747a70752de754238e67b8045ca62b6fe /net/rsync/Makefile
parent5f721915b88d6d349158fb30bcd4a6ef7ee93deb (diff)
downloadFreeBSD-ports-7582b22ad58c952c87fea03faf48e1cdf66e96ce.zip
FreeBSD-ports-7582b22ad58c952c87fea03faf48e1cdf66e96ce.tar.gz
Fix PREFIX expansion in manpage.
Diffstat (limited to 'net/rsync/Makefile')
-rw-r--r--net/rsync/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/rsync/Makefile b/net/rsync/Makefile
index f30222d..f4342f5 100644
--- a/net/rsync/Makefile
+++ b/net/rsync/Makefile
@@ -4,7 +4,7 @@
# Date created: Sat Aug 3, 1996
# Whom: David O'Brien (obrien@cs.ucdavis.edu)
#
-# $Id: Makefile,v 1.19 1998/12/08 21:40:06 billf Exp $
+# $Id: Makefile,v 1.20 1998/12/09 03:03:13 billf Exp $
#
DISTNAME= rsync-2.2.1
@@ -20,6 +20,11 @@ GNU_CONFIGURE= yes
MAN1= rsync.1
MAN5= rsyncd.conf.5
+pre-configure:
+ @${MV} ${WRKSRC}/rsync.1 ${WRKSRC}/rsync.1.in
+ @${SED} -e 's:%%PREFIX%%:${PREFIX}:g' \
+ ${WRKSRC}/rsync.1.in > ${WRKSRC}/rsync.1
+
post-install:
@strip ${PREFIX}/bin/rsync
.if !defined(NOPORTDOCS)
OpenPOWER on IntegriCloud