# New ports collection makefile for: calife-devel # Date created: 14 Jun 2005 # Whom: Thomas Quinot # # $FreeBSD$ # PORTNAME= calife PORTVERSION= 3.0 CATEGORIES= security MASTER_SITES= ftp://frmug.org/pub/calife/ \ http://www.keltia.net/download/ DISTNAME= calife-3.0pre6 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 .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}/pam/freebsd5 ${PREFIX}/etc/pam.d/calife.sample @${CAT} ${PKGMESSAGE} .endif .include