# New ports collection makefile for:	calife-devel
# Date created:				14 Jun 2005
# Whom:					Thomas Quinot <thomas@cuivre.fr.eu.org>
#
# $FreeBSD: ports/security/calife-devel/Makefile,v 1.19 2009/12/21 22:50:39 roberto Exp $
#

PORTNAME=	calife
PORTVERSION=	3.0.1
CATEGORIES=	security
MASTER_SITES=	http://dev.keltia.net/attachments/download/8/ \
		http://static.keltia.net/download/
DISTNAME=	calife-3.0.1

MAKE_JOBS_SAFE=yes
MAINTAINER=	thomas@FreeBSD.org
COMMENT=	A lightweight alternative to sudo

LATEST_LINK=	${PORTNAME}-devel

USE_BZIP2=	yes

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-etcdir=${PREFIX}/etc

CONFIGURE_ARGS+=	--with-pam

CONFLICTS?=	calife-2.*

MAN1=		calife.1
MAN5=		calife.auth.5

post-install:
	@${INSTALL_DATA} ${WRKSRC}/pam/freebsd5 ${PREFIX}/etc/pam.d/calife.sample
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
