diff options
author | jlam <jlam> | 2002-01-27 21:35:19 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-01-27 21:35:19 +0000 |
commit | cec17a3872b7142d21448d0ba1aafcf6673b279f (patch) | |
tree | ebb925696cc5975e7fae6ab7614a51117abf964e /mail | |
parent | e818df55eaf96ed758d3ea0c8513096f4c6d7c24 (diff) | |
download | pkgsrc-cec17a3872b7142d21448d0ba1aafcf6673b279f.tar.gz |
Greatly simply by using Makefile.authdaemond.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/courier-authldap/Makefile | 35 |
1 files changed, 3 insertions, 32 deletions
diff --git a/mail/courier-authldap/Makefile b/mail/courier-authldap/Makefile index 58f2abc40cf..3b29325c5a9 100644 --- a/mail/courier-authldap/Makefile +++ b/mail/courier-authldap/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2002/01/22 22:02:36 jlam Exp $ +# $NetBSD: Makefile,v 1.2 2002/01/27 21:35:19 jlam Exp $ PKGNAME= courier-authldap-${BASE_VERS} PKGREVISION?= # empty @@ -6,29 +6,12 @@ COMMENT= Courier LDAP authentication module CONFLICTS= courier-imap-ldap-[0-9]* -PERL5_REQD= 5.6.0 -BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5 -DEPENDS+= courier-auth>=${BASE_VERS}:../../mail/courier-auth - USE_BUILDLINK_ONLY= yes -REPLACE_PERL= sysconftool - -.include "../../mail/courier-auth/Makefile.common" - -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}\//} +.include "../../mail/courier-auth/Makefile.authdaemond" CONFIGURE_ARGS+= --with-authldap -SYSCONFTOOL= ${PREFIX}/sbin/authdaemon.sysconftool GEN_FILES= authldaprc CONF_FILES_PERMS= # empty .for FILE in ${GEN_FILES} @@ -36,20 +19,8 @@ CONF_FILES_PERMS+= ${EGDIR}/${FILE}.dist ${PKG_SYSCONFDIR}/${FILE} \ ${ROOT_USER} ${ROOT_GROUP} 0600 .endfor -DISTINFO_FILE= ${.CURDIR}/../../mail/courier-auth/distinfo -PATCHDIR= ${.CURDIR}/../../mail/courier-auth/patches -INSTALL_EXTRA_TMPL= ${.CURDIR}/../../mail/courier-auth/INSTALL - -FILES_SUBST+= SYSCONFTOOL=${SYSCONFTOOL:Q} FILES_SUBST+= GEN_FILES=${GEN_FILES:Q} - -pre-configure: configure-init - -do-build: -.for DIR in ${WRKSRC_SUBDIRS} - @cd ${WRKSRC}/${DIR} && ${SETENV} ${MAKE_ENV} \ - ${MAKE_PROGRAM} ${ALL_TARGET} -.endfor +INSTALL_EXTRA_TMPL= ${.CURDIR}/../../mail/courier-auth/INSTALL do-install: ${INSTALL_PROGRAM} ${WRKSRC}/authlib/authdaemond.ldap ${AUTHLIBDIR} |