summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2002-08-28 02:11:54 +0000
committerKevin Lo <kevlo@FreeBSD.org>2002-08-28 02:11:54 +0000
commitcc1d9a6670b904ccb0c4bf473dbeaf5e88ea82c3 (patch)
tree7e7b710167c2ab59be0c91d48ed1273d6e0ea3d8
parent- Update to version 0.99.19-1 (diff)
Use REINPLACE_CMD and ECHO_CMD rather than perl and echo.
PR: 42095 Submitted by: MAINTAINER
Notes
Notes: svn path=/head/; revision=65128
-rw-r--r--mail/mess822/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/mail/mess822/Makefile b/mail/mess822/Makefile
index 3835fcdae7fa..d2e9ce4a0d6b 100644
--- a/mail/mess822/Makefile
+++ b/mail/mess822/Makefile
@@ -18,6 +18,7 @@ MAINTAINER= drs@rucus.ru.ac.za
RUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail
NO_PACKAGE= Violates djb\'s license
+USE_REINPLACE= yes
ALL_TARGET= it
INSTALL_TARGET= setup check
@@ -38,14 +39,8 @@ QMAIL_DIR?= /var/qmail
NO_MTREE= yes
post-patch:
- @perl -pi.bak -e "s|-O2|${CFLAGS}|" ${WRKSRC}/conf-cc
- @perl -pi.bak -e "s|.var.qmail|${QMAIL_DIR}|" ${WRKSRC}/conf-qmail
- @echo '${PREFIX}' > ${WRKSRC}/conf-home
-
-#do-build:
-# @cd ${WRKSRC} && make ${ALL_TARGET}
-#
-#do-install:
-# @cd ${WRKSRC} && make ${INSTALL_TARGET}
+ @${REINPLACE_CMD} -e "s|-O2|${CFLAGS}|" ${WRKSRC}/conf-cc
+ @${REINPLACE_CMD} -e "s|.var.qmail|${QMAIL_DIR}|" ${WRKSRC}/conf-qmail
+ @${ECHO_CMD} ${PREFIX} > ${WRKSRC}/conf-home
.include <bsd.port.mk>