seems like the fake path sneak into the installed rule files;
from MAINTAINER with heads up by Andrey Smagin (andrey@smagin.com)
This commit is contained in:
parent
6701a0c023
commit
be97068ba1
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.11 2002/10/07 14:32:33 lebel Exp $
|
||||
# $OpenBSD: Makefile,v 1.12 2002/10/10 13:00:23 lebel Exp $
|
||||
|
||||
COMMENT= "mailfilter to identify and mark spam"
|
||||
|
||||
@ -27,6 +27,7 @@ RUN_DEPENDS= :p5-Net-DNS-*:net/p5-Net-DNS \
|
||||
CONFIGURE_STYLE= perl
|
||||
|
||||
SAMPLE_CONFIG_DIR= ${PREFIX}/share/examples/SpamAssassin
|
||||
CONFIG_DIR= ${SYSCONFDIR}/mail/spamassassin
|
||||
INSTALL_TARGET= LOCAL_RULES_DIR=${WRKINST}${SAMPLE_CONFIG_DIR} install
|
||||
|
||||
# regress insists on creating files in $HOME
|
||||
@ -36,6 +37,9 @@ FAQS= ${FILESDIR}/OpenBSD-SpamAssassin-mini-howto.html
|
||||
DOCS= README procmailrc.example \
|
||||
sample-nonspam.txt sample-spam.txt
|
||||
|
||||
post-patch:
|
||||
perl -pi -e "s#\@\@LOCAL_RULES_DIR\@\@#${CONFIG_DIR}#" ${WRKSRC}/rules/*
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/SpamAssassin
|
||||
${INSTALL_DATA} ${FAQS} ${PREFIX}/share/doc/SpamAssassin
|
||||
|
Loading…
x
Reference in New Issue
Block a user