pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/qmail Since share/examples/qmail/boot is under ${...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2fe471b8a4f2
branches:  trunk
changeset: 493490:2fe471b8a4f2
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sat May 07 21:37:42 2005 +0000

description:
Since share/examples/qmail/boot is under ${PREFIX}, create it with
INSTALLATION_DIRS rather than MAKE_DIRS. Calculate QUEUE_EXTRALEN
in a more readable fashion.

diffstat:

 mail/qmail/Makefile |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 2198083aaec9 -r 2fe471b8a4f2 mail/qmail/Makefile
--- a/mail/qmail/Makefile       Sat May 07 21:22:40 2005 +0000
+++ b/mail/qmail/Makefile       Sat May 07 21:37:42 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2005/04/30 15:06:58 jlam Exp $
+# $NetBSD: Makefile,v 1.35 2005/05/07 21:37:42 schmonz Exp $
 #
 
 DISTNAME=              netqmail-1.05
@@ -39,7 +39,7 @@
 USE_PKGINSTALL=                yes
 DEINSTALL_EXTRA_TMPL+= ${PKGDIR}/DEINSTALL
 INSTALL_EXTRA_TMPL+=   ${PKGDIR}/INSTALL
-MAKE_DIRS+=            ${PKG_SYSCONFDIR} ${PKG_SYSCONFDIR}/alias ${EGDIR}/boot
+MAKE_DIRS+=            ${PKG_SYSCONFDIR} ${PKG_SYSCONFDIR}/alias
 MAKE_DIRS+=            ${PKG_SYSCONFDIR}/control ${DOCDIR}
 MAKE_DIRS+=            ${PKG_SYSCONFDIR}/users
 OWN_DIRS+=             ${QMAILDIR} ${QMAIL_QUEUE_DIR}
@@ -67,7 +67,7 @@
 .  endfor
 .endfor
 INSTALLATION_DIRS=     bin ${MANDIRS}
-INSTALLATION_DIRS+=    share/doc/qmail share/examples/qmail share/qmail
+INSTALLATION_DIRS+=    share/doc/qmail share/examples/qmail/boot share/qmail
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -81,7 +81,7 @@
 
 .if !empty(QMAIL_QUEUE_EXTRA)
 QUEUE_EXTRA=           "T${QMAIL_QUEUE_EXTRA}\\0"
-QUEUE_EXTRALEN_cmd=    ${EXPR} `${ECHO} ${QUEUE_EXTRA} | ${WC} -c` - 2
+QUEUE_EXTRALEN_cmd=    ${EXPR} `${ECHO_N} ${QMAIL_QUEUE_EXTRA} | ${WC} -c` + 2
 SUBST_CLASSES+=                logging
 SUBST_STAGE.logging=   do-configure
 SUBST_FILES.logging=   extra.h



Home | Main Index | Thread Index | Old Index