summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorabs <abs>2009-02-18 10:56:09 +0000
committerabs <abs>2009-02-18 10:56:09 +0000
commitef605a9adf711745b523bf54c4e65101b193aabe (patch)
tree26e79a98ddce6701ecb379efb5675d7f26872d1d /mail
parenta9c9699411fc3e6ad95b2ca095a79cfc8adef0a3 (diff)
downloadpkgsrc-ef605a9adf711745b523bf54c4e65101b193aabe.tar.gz
Use INSTALLATION_DIRS
Diffstat (limited to 'mail')
-rw-r--r--mail/spamassassin/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/mail/spamassassin/Makefile b/mail/spamassassin/Makefile
index 776a065b07c..ede1faa804a 100644
--- a/mail/spamassassin/Makefile
+++ b/mail/spamassassin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.90 2008/11/14 22:51:52 joerg Exp $
+# $NetBSD: Makefile,v 1.91 2009/02/18 11:02:59 abs Exp $
DISTNAME= Mail-SpamAssassin-3.2.5
PKGNAME= spamassassin-3.2.5
@@ -140,6 +140,8 @@ INTERPRETER_SUPPORT= YES
FILES_SUBST+= INTERPRETER_SUPPORT=${INTERPRETER_SUPPORT:Q}
FILES_SUBST+= OPSYS=${OPSYS}
+INSTALLATION_DIRS+= ${SA_INSTALLDIRS}
+
pre-configure: perl5-configure
# GNU configure needs version.h -> create it
cd ${WRKSRC}/spamc && ${PERL5} ./version.h.pl
@@ -148,9 +150,6 @@ pre-configure: perl5-configure
post-install:
${TEST} -r ${PLIST_ADD} && ${RM} ${PLIST_ADD} ; :
-.for dir in ${SA_INSTALLDIRS}
- ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${dir}
-.endfor
.for f in ${SA_DOCFILES}
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${DOCDIR}/${f}
${ECHO} "${DOC_SUBDIR}/${f}" >> ${PLIST_ADD}