pkgsrc/security/pam-ldap/Makefile

38 lines
1,010 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.1.1.1 2000/10/21 18:47:46 rh Exp $
#
DISTNAME= pam_ldap
PKGNAME= ${DISTNAME:S/_/-/}-${VERSION}
WRKSRC= ${WRKDIR}/${DISTNAME}-${VERSION}
CATEGORIES= security
MASTER_SITES= http://www.padl.com/download/ \
ftp://ftp.padl.com/pub/
EXTRACT_SUFX= .tgz
MAINTAINER= rh@netbsd.org
HOMEPAGE= http://www.padl.com/pam_ldap.html
DEPENDS+= openldap-*:../../databases/openldap
DEPENDS+= PAM-*:../../security/PAM
GNU_CONFIGURE= YES
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${WRKSRC}"
CONFIGURE_ARGS+=--with-ldap-lib=openldap
CONFIGURE_ARGS+=--with-ldap-dir=${PREFIX}
INSTALL_TARGET= install install-data
VERSION= 77
post-configure: # prevent starting of autoconf
.for file in aclocal.m4 Makefile.in Makefile stamp-h.in stamp-h
cd ${WRKSRC} && ${TOUCH} ${file}
.endfor
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pam-ldap
.for doc in COPYING COPYING.LIB INSTALL ChangeLog
cd ${WRKSRC} && ${INSTALL_DATA} ${doc} ${PREFIX}/share/doc/pam-ldap
.endfor
.include "../../mk/bsd.pkg.mk"