summaryrefslogtreecommitdiff
path: root/mail/qmailanalog/Makefile
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2005-04-05 08:04:30 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2005-04-05 08:04:30 +0000
commitb1fe69b6c0d0ac8ed1e5c4d3ec384e5beb17b054 (patch)
treef260bd4e849083a1862d1d2dbc1d7845df699b5e /mail/qmailanalog/Makefile
parent- Update to 1.28. (diff)
- Remove perl dependency.
- Sort packing list. - SIZE'ify. PR: ports/79372 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=132531
Diffstat (limited to 'mail/qmailanalog/Makefile')
-rw-r--r--mail/qmailanalog/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/mail/qmailanalog/Makefile b/mail/qmailanalog/Makefile
index 45e55efc63cc..1fe58eca9304 100644
--- a/mail/qmailanalog/Makefile
+++ b/mail/qmailanalog/Makefile
@@ -41,12 +41,13 @@ MYSUBDIR?=
QMPREFIX?= ${PREFIX}/${MYSUBDIR}
NO_MTREE= yes
-USE_PERL5_BUILD=yes
+USE_REINPLACE= yes
post-patch:
- @${PERL} -pi.bak -e "s|.usr.local.qmailanalog|${QMPREFIX}|" ${WRKSRC}/conf-home
- @${PERL} -pi.bak -e "s|-O2|${CFLAGS}|" ${WRKSRC}/conf-cc
- @${PERL} -pi.bak -e '$$_ = "" if /cat/' ${WRKSRC}/hier.c
+ @${REINPLACE_CMD} "s|.usr.local.qmailanalog|${QMPREFIX}|" ${WRKSRC}/conf-home
+ @${REINPLACE_CMD} "s|-O2|${CFLAGS}|" ${WRKSRC}/conf-cc
+ @${REINPLACE_CMD} 's|02755|0755|g; /cat/d' ${WRKSRC}/hier.c
+ @${REINPLACE_CMD} 's|^man prog|prog|g' ${WRKSRC}/Makefile
@${ECHO_CMD} ${PREFIX} > ${WRKDIR}/.PPREFIX
@${ECHO_CMD} ${QMAIL_DIR} >> ${WRKDIR}/.PPREFIX