summaryrefslogtreecommitdiffstats
path: root/mail/noattach/Makefile
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-03-17 20:27:30 +0000
committerdinoex <dinoex@FreeBSD.org>2002-03-17 20:27:30 +0000
commitec31bddea3211008d6b5b4392e74dab308011f81 (patch)
tree2bf1d69cb7a298f69f1e0fa048cd4e34e5dce684 /mail/noattach/Makefile
parentbc976e173897cedca38aa3c0fd7d864fc9cdea5a (diff)
downloadFreeBSD-ports-ec31bddea3211008d6b5b4392e74dab308011f81.zip
FreeBSD-ports-ec31bddea3211008d6b5b4392e74dab308011f81.tar.gz
Fix noattach.sh.sample script, %%PREFIX%% was not replaced
Diffstat (limited to 'mail/noattach/Makefile')
-rw-r--r--mail/noattach/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/mail/noattach/Makefile b/mail/noattach/Makefile
index f55dea7..2a05a4b 100644
--- a/mail/noattach/Makefile
+++ b/mail/noattach/Makefile
@@ -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
OpenPOWER on IntegriCloud