diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2002-03-17 20:27:30 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2002-03-17 20:27:30 +0000 |
commit | 723a5055cd99f34d3c993d7834321c4ff8eebcfc (patch) | |
tree | 9f9ec84a5fcd6c5dd59b922333c2422088d171d0 /mail/noattach/Makefile | |
parent | 74642142e398b1c92976c1b59a44a53415798dce (diff) | |
download | ports-723a5055cd99f34d3c993d7834321c4ff8eebcfc.tar.gz ports-723a5055cd99f34d3c993d7834321c4ff8eebcfc.zip |
Fix noattach.sh.sample script, %%PREFIX%% was not replaced
Notes
Notes:
svn path=/head/; revision=56267
Diffstat (limited to 'mail/noattach/Makefile')
-rw-r--r-- | mail/noattach/Makefile | 6 |
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 |