summaryrefslogtreecommitdiff
path: root/mail/courier-auth
diff options
context:
space:
mode:
authorjlam <jlam>2002-01-27 23:47:08 +0000
committerjlam <jlam>2002-01-27 23:47:08 +0000
commit4c9a32bdea171d5a0d123385af6c963da524e8e2 (patch)
tree582432c68c35a2b83602dc1ce2fea3a17fa2ee84 /mail/courier-auth
parent23d9d913f6e000f6b5a8e202d585dbc3b3c2feab (diff)
downloadpkgsrc-4c9a32bdea171d5a0d123385af6c963da524e8e2.tar.gz
Move dependency on courier-auth into the module Makefiles and use
Makefile.authdaemond to replace a lot of the complexity in courier-auth/Makefile.
Diffstat (limited to 'mail/courier-auth')
-rw-r--r--mail/courier-auth/Makefile25
-rw-r--r--mail/courier-auth/Makefile.authdaemond3
2 files changed, 3 insertions, 25 deletions
diff --git a/mail/courier-auth/Makefile b/mail/courier-auth/Makefile
index 33ecaa8a619..fbacd86997a 100644
--- a/mail/courier-auth/Makefile
+++ b/mail/courier-auth/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2002/01/24 16:02:21 jlam Exp $
+# $NetBSD: Makefile,v 1.3 2002/01/27 23:47:08 jlam Exp $
PKGNAME= courier-auth-${BASE_VERS}
PKGREVISION?= 1
@@ -12,18 +12,7 @@ USE_BUILDLINK_ONLY= yes
USE_PERL5= 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"
.if !defined(STRIPFLAG) || empty(STRIPFLAG:M-s)
INSTALL_TARGET= install-strip
@@ -31,7 +20,6 @@ INSTALL_TARGET= install-strip
INSTALL_TARGET= install
.endif
-SYSCONFTOOL= ${PREFIX}/sbin/authdaemon.sysconftool
GEN_FILES= authdaemonrc
OWN_DIRS_PERMS= /var/authdaemon ${ROOT_USER} ${ROOT_GROUP} 700
@@ -44,17 +32,8 @@ RCD_SCRIPTS= authdaemond
DEINSTALL_EXTRA_TMPL= ${.CURDIR}/DEINSTALL
INSTALL_EXTRA_TMPL= ${.CURDIR}/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
-
do-install:
.for DIR in ${WRKSRC_SUBDIRS}
@cd ${WRKSRC}/${DIR} && ${SETENV} ${MAKE_ENV} \
diff --git a/mail/courier-auth/Makefile.authdaemond b/mail/courier-auth/Makefile.authdaemond
index a9198c58cc4..2160fcbf32d 100644
--- a/mail/courier-auth/Makefile.authdaemond
+++ b/mail/courier-auth/Makefile.authdaemond
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile.authdaemond,v 1.1 2002/01/27 21:33:35 jlam Exp $
+# $NetBSD: Makefile.authdaemond,v 1.2 2002/01/27 23:47:08 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