summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorjlam <jlam>2002-01-27 21:33:35 +0000
committerjlam <jlam>2002-01-27 21:33:35 +0000
commite818df55eaf96ed758d3ea0c8513096f4c6d7c24 (patch)
treee71ddd0d5dec64c7353771fb580834c2a9d68944 /mail
parent9a85cc4b520f24860ff19af58eefef742adee77e (diff)
downloadpkgsrc-e818df55eaf96ed758d3ea0c8513096f4c6d7c24.tar.gz
Makefile.authdaemond contains the shared Makefile logic used to build
a "heavy" authdaemond module, i.e. one of authldap, authmysql, or authpgsql.
Diffstat (limited to 'mail')
-rw-r--r--mail/courier-auth/Makefile.authdaemond34
1 files changed, 34 insertions, 0 deletions
diff --git a/mail/courier-auth/Makefile.authdaemond b/mail/courier-auth/Makefile.authdaemond
new file mode 100644
index 00000000000..a9198c58cc4
--- /dev/null
+++ b/mail/courier-auth/Makefile.authdaemond
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile.authdaemond,v 1.1 2002/01/27 21:33:35 jlam Exp $
+
+.include "../../mail/courier-auth/Makefile.common"
+
+PERL5_REQD= 5.6.0
+BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
+DEPENDS+= courier-auth>=${BASE_VERS}:../../mail/courier-auth
+
+WRKSRC_FILES= config.guess config.sub configure \
+ install-sh mkinstalldirs
+WRKSRC_FILES+= dbobj.h.in dbobj.config.in sysconftool
+WRKSRC_SUBDIRS= afx bdbobj gdbmobj numlib soxwrap md5 sha1 \
+ libhmac random128 unicode rfc822 rfc1035 \
+ rfc2045 liblock
+WRKSRC_SUBDIRS+= makedat userdb authlib
+
+EXTRACT_ELEMENTS= ${WRKSRC_FILES:S/^/${DISTNAME}\//}
+EXTRACT_ELEMENTS+= ${WRKSRC_SUBDIRS:S/^/${DISTNAME}\//}
+
+REPLACE_PERL= sysconftool
+SYSCONFTOOL= ${PREFIX}/sbin/authdaemon.sysconftool
+
+DISTINFO_FILE= ${.CURDIR}/../../mail/courier-auth/distinfo
+PATCHDIR= ${.CURDIR}/../../mail/courier-auth/patches
+
+FILES_SUBST+= SYSCONFTOOL=${SYSCONFTOOL:Q}
+
+pre-configure: configure-init
+
+do-build:
+.for DIR in ${WRKSRC_SUBDIRS}
+ @cd ${WRKSRC}/${DIR} && ${SETENV} ${MAKE_ENV} \
+ ${MAKE_PROGRAM} ${ALL_TARGET}
+.endfor