summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorreed <reed>2006-02-16 21:39:05 +0000
committerreed <reed>2006-02-16 21:39:05 +0000
commit59e85b5c16c5320f64eef86aafb8d6a3b784a744 (patch)
tree218d5c3ccead7667027106eca005d427262fd96f /mail
parent9f4118833b81a3a38b4da663155f50c57753df81 (diff)
downloadpkgsrc-59e85b5c16c5320f64eef86aafb8d6a3b784a744.tar.gz
Use INSTALLATION_DIRS to pre-create needed directories.
Honor PKGMANDIR.
Diffstat (limited to 'mail')
-rw-r--r--mail/spamd/Makefile26
1 files changed, 14 insertions, 12 deletions
diff --git a/mail/spamd/Makefile b/mail/spamd/Makefile
index aa96eeeb77d..f89b7261544 100644
--- a/mail/spamd/Makefile
+++ b/mail/spamd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2005/12/29 06:21:53 jlam Exp $
+# $NetBSD: Makefile,v 1.6 2006/02/16 21:39:05 reed Exp $
DISTNAME= spamd-20050726
CATEGORIES= mail
@@ -28,23 +28,25 @@ SUBST_FILES.fix+= spamd-setup/spamd-setup.c spamd-setup/spamd-setup.8
SUBST_SED.fix= -e 's,/etc/spamd.conf,${PKG_SYSCONFDIR}/spamd.conf,g'
SUBST_MESSAGE.fix= "Fixing configuration paths."
+INSTALLATION_DIRS+= libexec sbin ${PKGMANDIR}/cat5 ${PKGMANDIR}/man5
+INSTALLATION_DIRS+= ${PKGMANDIR}/cat8 ${PKGMANDIR}/man8 share/examples/spamd
+
do-install:
- ${INSTALL_MAN} ${WRKSRC}/man/spamd.conf.5 ${PREFIX}/man/man5
- ${INSTALL_MAN} ${WRKSRC}/man/spamd.conf.cat5 ${PREFIX}/man/cat5/spamd.conf.0
- ${INSTALL_MAN} ${WRKSRC}/spamd/spamd.8 ${PREFIX}/man/man8
- ${INSTALL_MAN} ${WRKSRC}/spamd/spamd.cat8 ${PREFIX}/man/cat8/spamd.0
- ${INSTALL_MAN} ${WRKSRC}/spamd-setup/spamd-setup.8 ${PREFIX}/man/man8
- ${INSTALL_MAN} ${WRKSRC}/spamd-setup/spamd-setup.cat8 ${PREFIX}/man/cat8/spamd-setup.0
- ${INSTALL_MAN} ${WRKSRC}/spamdb/spamdb.8 ${PREFIX}/man/man8
- ${INSTALL_MAN} ${WRKSRC}/spamdb/spamdb.cat8 ${PREFIX}/man/cat8/spamdb.0
- ${INSTALL_MAN} ${WRKSRC}/spamlogd/spamlogd.8 ${PREFIX}/man/man8
- ${INSTALL_MAN} ${WRKSRC}/spamlogd/spamlogd.cat8 ${PREFIX}/man/cat8/spamlogd.0
+ ${INSTALL_MAN} ${WRKSRC}/man/spamd.conf.5 ${PREFIX}/${PKGMANDIR}/man5
+ ${INSTALL_MAN} ${WRKSRC}/man/spamd.conf.cat5 ${PREFIX}/${PKGMANDIR}/cat5/spamd.conf.0
+ ${INSTALL_MAN} ${WRKSRC}/spamd/spamd.8 ${PREFIX}/${PKGMANDIR}/man8
+ ${INSTALL_MAN} ${WRKSRC}/spamd/spamd.cat8 ${PREFIX}/${PKGMANDIR}/cat8/spamd.0
+ ${INSTALL_MAN} ${WRKSRC}/spamd-setup/spamd-setup.8 ${PREFIX}/${PKGMANDIR}/man8
+ ${INSTALL_MAN} ${WRKSRC}/spamd-setup/spamd-setup.cat8 ${PREFIX}/${PKGMANDIR}/cat8/spamd-setup.0
+ ${INSTALL_MAN} ${WRKSRC}/spamdb/spamdb.8 ${PREFIX}/${PKGMANDIR}/man8
+ ${INSTALL_MAN} ${WRKSRC}/spamdb/spamdb.cat8 ${PREFIX}/${PKGMANDIR}/cat8/spamdb.0
+ ${INSTALL_MAN} ${WRKSRC}/spamlogd/spamlogd.8 ${PREFIX}/${PKGMANDIR}/man8
+ ${INSTALL_MAN} ${WRKSRC}/spamlogd/spamlogd.cat8 ${PREFIX}/${PKGMANDIR}/cat8/spamlogd.0
${INSTALL_PROGRAM} ${WRKSRC}/spamd-setup/spamd-setup ${PREFIX}/libexec
${INSTALL_PROGRAM} ${WRKSRC}/spamd/spamd ${PREFIX}/libexec
${INSTALL_PROGRAM} ${WRKSRC}/spamdb/spamdb ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/spamlogd/spamlogd ${PREFIX}/libexec
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/spamd
${INSTALL_DATA} ${WRKSRC}/etc/spamd.conf ${PREFIX}/share/examples/spamd
.include "../../security/pflkm/buildlink3.mk"