aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-06-16 23:03:10 +0800
committerdinoex <dinoex@FreeBSD.org>2002-06-16 23:03:10 +0800
commitfd64cc1ce59cc2c7732d14183fbb09c1530a6fca (patch)
treef2b90f36648fe13ed28fdddbabab21b4f8e0d784 /net
parent95776cd25c1f4f9a7a4a975fd6c165ae559dc920 (diff)
downloadfreebsd-ports-gnome-fd64cc1ce59cc2c7732d14183fbb09c1530a6fca.tar.gz
freebsd-ports-gnome-fd64cc1ce59cc2c7732d14183fbb09c1530a6fca.tar.zst
freebsd-ports-gnome-fd64cc1ce59cc2c7732d14183fbb09c1530a6fca.zip
- Get rid of PERL and use SED
Diffstat (limited to 'net')
-rw-r--r--net/freebsd-uucp/Makefile15
-rw-r--r--net/py-ldap2/Makefile9
2 files changed, 12 insertions, 12 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" \
diff --git a/net/py-ldap2/Makefile b/net/py-ldap2/Makefile
index 6b96219a15e4..e9b065f0b756 100644
--- a/net/py-ldap2/Makefile
+++ b/net/py-ldap2/Makefile
@@ -25,11 +25,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME:S=-src==}
#include_dirs = /usr/local/openldap2/include
#libs = lber ldap resolv
do-configure:
- @${PERL5} -pi -e "s=/usr/local/openldap2/lib=${LOCALBASE}/lib=" \
- ${WRKSRC}/setup.cfg
- @${PERL5} -pi \
+ @${MV} ${WRKSRC}/setup.cfg ${WRKSRC}/setup.cfg.sed
+ ${SED} -e "s=/usr/local/openldap2/lib=${LOCALBASE}/lib=" \
-e "s=/usr/local/openldap2/include=${LOCALBASE}/include=" \
- ${WRKSRC}/setup.cfg
- @${PERL5} -pi -e "s=lber ldap resolv=lber ldap=" ${WRKSRC}/setup.cfg
+ -e "s=lber ldap resolv=lber ldap=" \
+ ${WRKSRC}/setup.cfg.sed > ${WRKSRC}/setup.cfg
.include <bsd.port.mk>