diff options
author | arved <arved@FreeBSD.org> | 2003-05-19 22:11:48 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2003-05-19 22:11:48 +0800 |
commit | 9eea66ec50f14f3261b1c3a97c593b539e38cc70 (patch) | |
tree | 01ee10c6b6a5a4fc070f96878ec46c1b9540634f /mail/mail2sms | |
parent | 3552501638785fa9a3ce8777b4d2f7badb13ef90 (diff) | |
download | freebsd-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/Makefile | 5 |
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 |