2008-06-20 03:09:05 +02:00
|
|
|
# $NetBSD: Makefile,v 1.20 2008/06/20 01:09:10 joerg Exp $
|
2005-08-08 11:47:42 +02:00
|
|
|
#
|
|
|
|
|
2008-04-01 03:39:24 +02:00
|
|
|
DISTNAME= nss_ldap-260
|
2005-08-08 11:47:42 +02:00
|
|
|
CATEGORIES= databases
|
|
|
|
MASTER_SITES= http://www.padl.com/download/
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2005-08-08 11:47:42 +02:00
|
|
|
HOMEPAGE= http://www.padl.com/OSS/nss_ldap.html
|
|
|
|
COMMENT= LDAP client for nsswitch
|
|
|
|
|
2008-06-20 03:09:05 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2005-09-14 18:44:12 +02:00
|
|
|
# needs nsswitch
|
2006-08-10 13:53:08 +02:00
|
|
|
ONLY_FOR_PLATFORM= NetBSD-[3-9]*-*
|
2005-09-14 18:44:12 +02:00
|
|
|
|
2005-08-08 11:47:42 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_TOOLS+= gmake
|
|
|
|
|
2005-08-30 14:47:52 +02:00
|
|
|
CONFIGURE_ARGS+= --with-ldap-conf-file=${PKG_SYSCONFDIR}/nss_ldap.conf
|
|
|
|
CONFIGURE_ARGS+= --with-ldap-secret-file=${PKG_SYSCONFDIR}/nss_ldap.secret
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
2007-06-15 18:42:19 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-schema-mapping
|
2007-01-02 13:24:00 +01:00
|
|
|
MAKE_FLAGS+= INST_UID=${BINOWN} INST_GID=${BINGRP}
|
2005-08-30 14:47:52 +02:00
|
|
|
|
|
|
|
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
|
|
|
|
INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR}
|
|
|
|
|
|
|
|
CONF_FILES= ${EGDIR}/nss_ldap.conf ${PKG_SYSCONFDIR}/nss_ldap.conf
|
2005-08-08 11:47:42 +02:00
|
|
|
|
|
|
|
pre-build:
|
|
|
|
${CP} ${FILESDIR}/netbsd.c ${FILESDIR}/netbsd.h ${WRKSRC}
|
2005-08-30 14:47:52 +02:00
|
|
|
${LN} -fs /usr/include/nsswitch.h ${BUILDLINK_DIR}/include/nss.h
|
2005-08-08 11:47:42 +02:00
|
|
|
|
2006-05-31 20:22:23 +02:00
|
|
|
.include "../../databases/openldap-client/buildlink3.mk"
|
2005-08-08 11:47:42 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|