mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
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
This commit is contained in:
parent
894db980cd
commit
6375d37b51
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=81391
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user