Fix noattach.sh.sample script, %%PREFIX%% was not replaced

This commit is contained in:
Dirk Meyer 2002-03-17 20:27:30 +00:00
parent 74642142e3
commit 723a5055cd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56267

View file

@ -30,9 +30,13 @@ pre-fetch:
@${FALSE}
.endif
post-extract:
@${SED} -e "s=%%PREFIX%%=${PREFIX}=" ${FILESDIR}/noattach.sh \
> ${WRKSRC}/noattach.sh
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/noattach ${PREFIX}/libexec/noattach
${INSTALL_SCRIPT} ${FILESDIR}/noattach.sh \
${INSTALL_SCRIPT} ${WRKSRC}/noattach.sh \
${PREFIX}/etc/rc.d/noattach.sh.sample
${INSTALL_DATA} ${WRKSRC}/examples/noattach.patterns \
${PREFIX}/etc/noattach.patterns-dist