aboutsummaryrefslogtreecommitdiff
path: root/net/freebsd-uucp
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-06-16 15:03:10 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-06-16 15:03:10 +0000
commit3209d0ed2cc143797c8daed23af744fac7bae88f (patch)
tree860c1e7d1aa2270dd945fbd7842cb80ebf687386 /net/freebsd-uucp
parentc00b0f53f4a755b319b5a5939106cfe959913672 (diff)
downloadports-3209d0ed2cc143797c8daed23af744fac7bae88f.tar.gz
ports-3209d0ed2cc143797c8daed23af744fac7bae88f.zip
Notes
Diffstat (limited to 'net/freebsd-uucp')
-rw-r--r--net/freebsd-uucp/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/net/freebsd-uucp/Makefile b/net/freebsd-uucp/Makefile
index c9c7b69d3ee9..6a715c2e3dac 100644
--- a/net/freebsd-uucp/Makefile
+++ b/net/freebsd-uucp/Makefile
@@ -30,16 +30,17 @@ post-extract:
do-configure:
.for i in ${FIXME}
- @${PERL} -pi -e "s=/usr/local/=${PREFIX}/=" ${WRKSRC}/${i}
+ @${MV} ${WRKSRC}/${i} ${WRKSRC}/${i}.sed
+ ${SED} -e "s=/usr/local/=${PREFIX}/=" \
+ ${WRKSRC}/${i}.sed > ${WRKSRC}/${i}
.endfor
.if defined(UUCP_WITH_VAR_LOG)
.for i in ${VARLOG}
- @${PERL} -pi -e "s=/var/spool/uucp/Log=/var/log/uucp/Log=" \
- ${WRKSRC}/${i}
- @${PERL} -pi -e "s=/var/spool/uucp/Debug=/var/log/uucp/Debug=" \
- ${WRKSRC}/${i}
- @${PERL} -pi -e "s=/var/spool/uucp/Stats=/var/log/uucp/Stats=" \
- ${WRKSRC}/${i}
+ @${MV} ${WRKSRC}/${i} ${WRKSRC}/${i}.sed
+ ${SED} -e "s=/var/spool/uucp/Log=/var/log/uucp/Log=" \
+ -e "s=/var/spool/uucp/Debug=/var/log/uucp/Debug=" \
+ -e "s=/var/spool/uucp/Stats=/var/log/uucp/Stats=" \
+ ${WRKSRC}/${i}.sed > ${WRKSRC}/${i}
.endfor
@${ECHO_CMD} " .." >> ${WRKSRC}/uucp.mtree
@${ECHO_CMD} "/set uname=root gname=wheel mode=0755" \