1c57323789
have been converted to USE_BUILDLINK2.
34 lines
950 B
Makefile
34 lines
950 B
Makefile
# $NetBSD: Makefile,v 1.4 2002/08/25 21:50:41 jlam Exp $
|
|
|
|
.include "../../net/samba/Makefile.common"
|
|
|
|
PKGNAME= pam-smbpass-${SAMBA_DIST_VERS}
|
|
CATEGORIES= security
|
|
|
|
MAINTAINER= jlam@netbsd.org
|
|
COMMENT= PAM authentication against a Samba password database
|
|
|
|
DEPENDS+= {samba>=2.0,ja-samba>=2.0}:../../net/samba
|
|
|
|
USE_BUILDLINK2= # defined
|
|
CONFIGURE_ARGS+= --with-pam
|
|
|
|
ALL_TARGET= pam_smbpass
|
|
|
|
PAMDIR= ${PREFIX}/lib/security
|
|
DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
|
|
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
|
|
|
|
INSTALL_LIBRARY= \
|
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
|
|
|
|
do-install:
|
|
${INSTALL_LIBRARY} ${WRKSRC}/bin/pam_smbpass.so ${PAMDIR}
|
|
${INSTALL_DATA_DIR} ${DOCDIR} ${EGDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/pam_smbpass/README ${DOCDIR}
|
|
cd ${WRKSRC}/pam_smbpass/samples; for file in *; do \
|
|
${INSTALL_DATA} $${file} ${EGDIR}/$${file}; \
|
|
done
|
|
|
|
.include "../../security/PAM/buildlink2.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|