aboutsummaryrefslogtreecommitdiffstats
path: root/mail/popa3d
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 /mail/popa3d
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 'mail/popa3d')
-rw-r--r--mail/popa3d/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/mail/popa3d/Makefile b/mail/popa3d/Makefile
index badf7a139a24..662d081ee8ce 100644
--- a/mail/popa3d/Makefile
+++ b/mail/popa3d/Makefile
@@ -32,11 +32,15 @@ pre-configure:
@${ECHO_CMD} "share/sendmail/cf/hack/popauth.m4" >>${PLIST}
post-patch:
- @${PERL5} -pi -e "s=db1/db.h=db.h=" ${WRKSRC}/pop_root.c
+ @${MV} ${WRKSRC}/pop_root.c ${WRKSRC}/pop_root.c.sed
+ ${SED} -e "s=db1/db.h=db.h=" \
+ ${WRKSRC}/pop_root.c.sed > ${WRKSRC}/pop_root.c
.endif
pre-patch:
- @${PERL5} -pi -e "s=/var/empty=${PREFIX}/empty=" ${WRKSRC}/params.h
+ @${MV} ${WRKSRC}/params.h ${WRKSRC}/params.h.sed
+ ${SED} -e "s=/var/empty=${PREFIX}/empty=" \
+ ${WRKSRC}/params.h.sed > ${WRKSRC}/params.h
pre-install:
@${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL