aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail2sms
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-05-19 22:11:48 +0800
committerarved <arved@FreeBSD.org>2003-05-19 22:11:48 +0800
commit9eea66ec50f14f3261b1c3a97c593b539e38cc70 (patch)
tree01ee10c6b6a5a4fc070f96878ec46c1b9540634f /mail/mail2sms
parent3552501638785fa9a3ce8777b4d2f7badb13ef90 (diff)
downloadfreebsd-ports-graphics-9eea66ec50f14f3261b1c3a97c593b539e38cc70.tar.gz
freebsd-ports-graphics-9eea66ec50f14f3261b1c3a97c593b539e38cc70.tar.zst
freebsd-ports-graphics-9eea66ec50f14f3261b1c3a97c593b539e38cc70.zip
use REINPLACE_CMD instead of SED, to fix build on older systems.
Reported by: Shawn Yeager <mail@shawnyeager.com> Submitted by: tobez Approved by: maintainer
Diffstat (limited to 'mail/mail2sms')
-rw-r--r--mail/mail2sms/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/mail2sms/Makefile b/mail/mail2sms/Makefile
index ccfaa72023c..629e97d6b94 100644
--- a/mail/mail2sms/Makefile
+++ b/mail/mail2sms/Makefile
@@ -14,14 +14,15 @@ MAINTAINER= g.gonter@ieee.org
COMMENT= Mail to SMS converter
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
MAN1= mail2sms.1
MAN5= mail2sms.5
post-patch:
${CP} ${WRKSRC}/mail2sms.4 ${WRKSRC}/mail2sms.5
- ${SED} -i.bak -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/mail2sms.5
- ${SED} -i.bak -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/main.c
+ ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/mail2sms.5
+ ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/main.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mail2sms ${PREFIX}/bin