aboutsummaryrefslogblamecommitdiff
path: root/security/calife-devel/Makefile
blob: 10f75082802de79e8421ca6d4e4acb4bb99c073a (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                    





                                                                               
                   
                        
                                               
                              
 
                                  
                                                 
 

                                 

                   
                   





                                           


                                    
      

                          



                             
             
                          

                                                                               
      
 
                           
# New ports collection makefile for:	calife-devel
# Date created:				14 Jun 2005
# Whom:					Thomas Quinot <thomas@cuivre.fr.eu.org>
#
# $FreeBSD$
#

PORTNAME=	calife
PORTVERSION=	3.0
CATEGORIES=	security
MASTER_SITES=	http://www.keltia.net/download/
DISTNAME=	calife-3.0pre5

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

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 500000
CONFIGURE_ARGS+=	--with-pam
PLIST_SUB+=	WITH_PAM=""
.else
PLIST_SUB+=	WITH_PAM="@comment "
.endif

CONFLICTS?=	calife-2.*

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

post-install:
.if ${OSVERSION} >= 500000
	@${INSTALL_DATA} ${WRKSRC}/calife.pam ${PREFIX}/etc/pam.d/calife.sample
	@${CAT} ${PKGMESSAGE}
.endif

.include <bsd.port.post.mk>