aboutsummaryrefslogtreecommitdiffstats
path: root/security/calife-devel/Makefile
blob: b39b3f0d794c2a4028163b87d1d1db3515e08383 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# 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
.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
.endif
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>