aboutsummaryrefslogtreecommitdiffstats
path: root/mail/noattach
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-03-18 04:27:30 +0800
committerdinoex <dinoex@FreeBSD.org>2002-03-18 04:27:30 +0800
commitec31bddea3211008d6b5b4392e74dab308011f81 (patch)
tree2bf1d69cb7a298f69f1e0fa048cd4e34e5dce684 /mail/noattach
parentbc976e173897cedca38aa3c0fd7d864fc9cdea5a (diff)
downloadfreebsd-ports-gnome-ec31bddea3211008d6b5b4392e74dab308011f81.tar.gz
freebsd-ports-gnome-ec31bddea3211008d6b5b4392e74dab308011f81.tar.zst
freebsd-ports-gnome-ec31bddea3211008d6b5b4392e74dab308011f81.zip
Fix noattach.sh.sample script, %%PREFIX%% was not replaced
Diffstat (limited to 'mail/noattach')
-rw-r--r--mail/noattach/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/mail/noattach/Makefile b/mail/noattach/Makefile
index f55dea7af0b1..2a05a4b488a5 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