# New ports collection makefile for:    pam_pwdfile
# Date created:				Aug 31, 2001
# Whom:	      				Michael Schout <mschout@gkg.net>
#
# $FreeBSD: ports/security/pam_pwdfile/Makefile,v 1.6 2009/08/27 13:07:04 araujo Exp $
#

PORTNAME=	pam_pwdfile
PORTVERSION=	0.99
CATEGORIES=	security
MASTER_SITES=	http://cpbotha.net/files/pam_pwdfile/

MAINTAINER=	mschout@gkg.net
COMMENT=	A pam module for authenticating with flat passwd files

MAKEFILE=	${FILESDIR}/Makefile.bsd

PLIST_FILES=	lib/pam_pwdfile.so
PORTDOCS=	README INSTALL changelog

post-patch:
	${REINPLACE_CMD} -e 's|#include <features.h>||g' ${WRKSRC}/pam_pwdfile.c

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for docs in ${PORTDOCS}
	@${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>
