summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 05:46:38 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 05:46:38 +0000
commit37f2224fa6a14520df830ae1daeba9b877daa347 (patch)
tree13d3d367b0967ab3adcc2ce528bfe1e770b4d48e /mail
parent- reorder patches (diff)
PERL -> REINPLACE
And some ports have USE_PERL5=yes now.
Notes
Notes: svn path=/head/; revision=69436
Diffstat (limited to 'mail')
-rw-r--r--mail/autorespond/Makefile4
-rw-r--r--mail/courier-imap/Makefile4
-rw-r--r--mail/exim-old/Makefile1
-rw-r--r--mail/exim/Makefile1
-rw-r--r--mail/nmh/Makefile3
-rw-r--r--mail/pgen/Makefile3
-rw-r--r--mail/regm/Makefile3
-rw-r--r--mail/sigit/Makefile3
8 files changed, 16 insertions, 6 deletions
diff --git a/mail/autorespond/Makefile b/mail/autorespond/Makefile
index 11e0594957b9..3c8de78f0918 100644
--- a/mail/autorespond/Makefile
+++ b/mail/autorespond/Makefile
@@ -12,6 +12,8 @@ MASTER_SITES= http://www.inter7.com/devel/
MAINTAINER= roam@FreeBSD.org
+USE_REINPLACE= yes
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 440003 || ${OSVERSION} >= 500000 && ${OSVERSION} < 500027
@@ -19,7 +21,7 @@ CFLAGS+= -DNEED_STRCASESTR
.endif
post-patch:
- ${PERL} -pi.fbsd -e "s|^(DEFS =.*)|\1 ${CFLAGS}|" ${WRKSRC}/Makefile
+ ${REINPLACE_CMD} -e "s|^(DEFS =.*)|\1 ${CFLAGS}|" ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/autorespond ${PREFIX}/bin/
diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile
index c54ab3e776b1..76a279277224 100644
--- a/mail/courier-imap/Makefile
+++ b/mail/courier-imap/Makefile
@@ -14,6 +14,7 @@ MASTER_SITE_SUBDIR= courier
MAINTAINER= nbm@FreeBSD.org
+USE_REINPLACE= yes
GNU_CONFIGURE= YES
USE_GMAKE= YES
@@ -130,7 +131,8 @@ EXTRA_DOCS= README INSTALL AUTHORS imap/ChangeLog
.include <bsd.port.pre.mk>
post-patch:
- @perl -i.nbm -pe 'm#^\timapd.cnf pop3d.cnf# && s@[ip][mo][ap][p3]d.cnf@@g;' \
+ @${REINPLACE_CMD} -e \
+ 'm#^\timapd.cnf pop3d.cnf# && s@[ip][mo][ap][p3]d.cnf@@g;' \
${WRKSRC}/Makefile.in
post-install:
diff --git a/mail/exim-old/Makefile b/mail/exim-old/Makefile
index cb036e5fac46..d5b890c5c5dd 100644
--- a/mail/exim-old/Makefile
+++ b/mail/exim-old/Makefile
@@ -16,6 +16,7 @@ DISTFILES= exim-3.36.tar.bz2 exim-texinfo-3.30.tar.bz2
MAINTAINER= sheldonh@FreeBSD.org
USE_BZIP2= yes
+USE_PERL5= yes
.if defined(NOPORTDOCS)
PKGMESSAGE= ${FILESDIR}/POST-INSTALL-NOTES
diff --git a/mail/exim/Makefile b/mail/exim/Makefile
index d048582038e5..e9128a5cf6fd 100644
--- a/mail/exim/Makefile
+++ b/mail/exim/Makefile
@@ -24,6 +24,7 @@ DISTFILES+= exiscan-${EXISCAN_VERSION}.tar.bz2
MAINTAINER= sheldonh@FreeBSD.org
USE_BZIP2= yes
+USE_PERL5= yes
MAN8= exim.8
EXIM_VERSION= 4.10
diff --git a/mail/nmh/Makefile b/mail/nmh/Makefile
index e8d0e28e2374..802ddc39a1b8 100644
--- a/mail/nmh/Makefile
+++ b/mail/nmh/Makefile
@@ -61,6 +61,7 @@ MASTER_SITE_SUBDIR= jkoshy
MAINTAINER= scott+ports@sabami.seaslug.org
+USE_REINPLACE= yes
USE_AUTOCONF_VER=213
CONFIGURE_ARGS= --libdir=${PREFIX}/libexec/nmh \
--sysconfdir=${PREFIX}/etc/nmh
@@ -109,7 +110,7 @@ MLINKS= mh-profile.5 mh_profile.5
MAN8= ap.8 conflict.8 dp.8 fmtdump.8 install-mh.8 mh-mts.8 post.8
post-patch:
- @${PERL} -pi -e "s|autoconf|${AUTOCONF}|;\
+ @${REINPLACE_CMD} -e "s|autoconf|${AUTOCONF}|;\
s|autoheader|${AUTOHEADER}|" ${WRKSRC}/Makefile.in
post-install:
diff --git a/mail/pgen/Makefile b/mail/pgen/Makefile
index e165552527f2..341c57d28e9f 100644
--- a/mail/pgen/Makefile
+++ b/mail/pgen/Makefile
@@ -13,13 +13,14 @@ MASTER_SITES= http://www.myrddin.demon.co.uk/dist/
MAINTAINER= petef@FreeBSD.org
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
NO_BUILD= yes
MAN1= pgen.1
post-patch:
- @${PERL} -pi -e 's!\{INSTALL_PROGRAM\}!\{INSTALL_SCRIPT\}!g' \
+ @${REINPLACE_CMD} -e 's!\{INSTALL_PROGRAM\}!\{INSTALL_SCRIPT\}!g' \
${WRKSRC}/configure ${WRKSRC}/Makefile.in
.include <bsd.port.mk>
diff --git a/mail/regm/Makefile b/mail/regm/Makefile
index d5a337a7139f..cb1006a522cd 100644
--- a/mail/regm/Makefile
+++ b/mail/regm/Makefile
@@ -12,11 +12,12 @@ MASTER_SITES= http://perso.linuxfr.org/jdumont/regm/
MAINTAINER= petef@FreeBSD.org
+USE_REINPLACE= yes
NO_BUILD= yes
USE_PYTHON= yes
post-patch:
- @${PERL} -pi -e 's|^#!/usr/bin/env python|#!${PYTHON_CMD}|' \
+ @${REINPLACE_CMD} -e 's|^#!/usr/bin/env python|#!${PYTHON_CMD}|' \
${WRKSRC}/regm.py
do-install:
diff --git a/mail/sigit/Makefile b/mail/sigit/Makefile
index 167d7bb2ff88..3c3dae2e52c5 100644
--- a/mail/sigit/Makefile
+++ b/mail/sigit/Makefile
@@ -13,13 +13,14 @@ DISTNAME= Sigit-${PORTVERSION}
MAINTAINER= petef@FreeBSD.org
+USE_REINPLACE= yes
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/sigit-${PORTVERSION}
MAN1= sigit.1 sigit.rc.1
post-patch:
- @${PERL} -pi -e 's,/etc/sigit.rc,${PREFIX}/etc/sigit.rc,; \
+ @${REINPLACE_CMD} -e 's,/etc/sigit.rc,${PREFIX}/etc/sigit.rc,; \
s,/usr/share/sigit,${DATADIR},' ${WRKSRC}/config.h
post-install: