1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- use SUB_FILES instead of SED directly

PR:             ports/143194
Submitted by:   Sevan Janiyan <venture37@geeklan.co.uk>
Approved by:    maintainer timeout (lioux ; 221 days)
This commit is contained in:
Philip M. Gollucci 2010-09-08 22:16:54 +00:00
parent 0837d85946
commit 9d4b743600
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=260785
2 changed files with 2 additions and 3 deletions

View File

@ -61,14 +61,13 @@ PLIST_FILES= \
JETTY_DISTFILE= jetty-5.1.15.tgz
SUB_FILES= wrapper.sh
post-extract:
@${MKDIR} ${WRKSRC}/apps/jetty/
@${CP} -f ${DISTDIR}/${JETTY_DISTFILE} ${WRKSRC}/apps/jetty/
post-patch:
@${SED} \
-e "s|%%DATADIR%%|${DATADIR}|" \
${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh
# postinstall.sh SHOULD only do post installation house keeping
@${REINPLACE_CMD} -E \
-e 's|./i2prouter[[:space:]]+start||' \