freebsd-ports/security/calife-devel/Makefile
Thomas Quinot b80a810912 When building calife-devel on 4.X-stable, @comment-out the PAM config
sample from pkg-plist. This fixes an install failure on 4.x reported
by pointyhat.

Approved by:	roberto
2006-03-29 09:44:49 +00:00

44 lines
853 B
Makefile

# 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>