mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04: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
1 changed files with 3 additions and 2 deletions
|
@ -14,14 +14,15 @@ MAINTAINER= g.gonter@ieee.org
|
||||||
COMMENT= Mail to SMS converter
|
COMMENT= Mail to SMS converter
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
USE_REINPLACE= yes
|
||||||
|
|
||||||
MAN1= mail2sms.1
|
MAN1= mail2sms.1
|
||||||
MAN5= mail2sms.5
|
MAN5= mail2sms.5
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
${CP} ${WRKSRC}/mail2sms.4 ${WRKSRC}/mail2sms.5
|
${CP} ${WRKSRC}/mail2sms.4 ${WRKSRC}/mail2sms.5
|
||||||
${SED} -i.bak -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/mail2sms.5
|
${REINPLACE_CMD} -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}/main.c
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/mail2sms ${PREFIX}/bin
|
${INSTALL_PROGRAM} ${WRKSRC}/mail2sms ${PREFIX}/bin
|
||||||
|
|
Loading…
Add table
Reference in a new issue