1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-25 21:07:40 +00:00
freebsd-ports/security/pam_ldap/Makefile
David W. Chapman Jr. c8db1d3c0d Update to 1.2.3
PR:		29779
Submitted by:	maintainer
2001-08-19 18:13:13 +00:00

45 lines
1.2 KiB
Makefile

# New ports collection makefile for: pam_ldap
# Date created: 26 May 2001
# Whom: Joe Clarke <marcus@marcuscom.com>
#
# $FreeBSD$
#
PORTNAME= pam_ldap
PORTVERSION= 1.2.3
CATEGORIES= security net
MASTER_SITES= http://www.padl.com/download/ \
ftp://ftp.padl.com/pub/
DISTNAME= pam_ldap-${PORTVERSION:S/.//g}
MAINTAINER= marcus@marcuscom.com
.if defined(WITH_LDAP_V3)
LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap2 \
lber.2:${PORTSDIR}/net/openldap2
.else
LIB_DEPENDS= ldap.1:${PORTSDIR}/net/openldap \
lber.1:${PORTSDIR}/net/openldap
.endif
USE_AUTOCONF= yes
USE_AUTOMAKE= yes
CONFIGURE_ARGS= --with-ldap-lib=openldap \
--with-ldap-dir=${LOCALBASE}
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.//g}
post-install:
@${ECHO} "================================================================================"
@${ECHO} "Copy/move/symlink ${PREFIX}/etc/ldap.conf.dist to"
@${ECHO} "${PREFIX}/etc/ldap.conf to be able to use it."
@${ECHO} "Add lines like the following to /etc/pam.conf"
@${ECHO} "to get things going:"
@${ECHO} ""
@${ECHO} "login auth sufficient ${PREFIX}/lib/pam_ldap.so"
@${ECHO} "================================================================================"
.include <bsd.port.mk>