diff options
author | arved <arved@FreeBSD.org> | 2003-05-19 14:11:48 +0000 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2003-05-19 14:11:48 +0000 |
commit | 9eea66ec50f14f3261b1c3a97c593b539e38cc70 (patch) | |
tree | 01ee10c6b6a5a4fc070f96878ec46c1b9540634f /mail/mail2sms | |
parent | 3552501638785fa9a3ce8777b4d2f7badb13ef90 (diff) | |
download | FreeBSD-ports-9eea66ec50f14f3261b1c3a97c593b539e38cc70.zip FreeBSD-ports-9eea66ec50f14f3261b1c3a97c593b539e38cc70.tar.gz |
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/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/mail2sms/Makefile b/mail/mail2sms/Makefile index ccfaa72..629e97d 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 |