aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Laier <mlaier@FreeBSD.org>2004-06-28 15:44:57 +0000
committerMax Laier <mlaier@FreeBSD.org>2004-06-28 15:44:57 +0000
commita524764fbf4ac171b055049232fbf72bb02068c8 (patch)
treed6cb8939a665a8b129c4a6b6d2f8dcc26e8b9a6d
parent611d5d87b7c1d1c7df4888c7373346ea283d25bc (diff)
downloadports-a524764fbf4ac171b055049232fbf72bb02068c8.tar.gz
ports-a524764fbf4ac171b055049232fbf72bb02068c8.zip
Make spamd-conf.8 adhere hier(7) and take $PREFIX into account.
PR: ports/65252 Submitted-by: Xin LI <delphij (at) frontfree (dot) net> (w/ changes)
Notes
Notes: svn path=/head/; revision=112476
-rw-r--r--mail/spamd/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/spamd/Makefile b/mail/spamd/Makefile
index 42f19335a939..4678c92c50cf 100644
--- a/mail/spamd/Makefile
+++ b/mail/spamd/Makefile
@@ -43,6 +43,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|%%LOCAL_PFCTL%%|${LOCAL_PFCTL}|; \
s|%%LOCAL_SPAMD_CONF%%|${PREFIX}/etc/spamd.conf|' \
${WRKSRC}/spamd-setup/spamd-setup.c
+ @${REINPLACE_CMD} -e 's|/etc/spamd.conf|${PREFIX}/etc/spamd.conf|' \
+ ${WRKSRC}/spamd/spamd.8 ${WRKSRC}/spamd-setup/spamd-setup.8
pre-su-install:
.if !defined(BATCH) && !defined(PACKAGE_BUILDING)