mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
2643d3117f
Supports Solaris10 as well.
46 lines
887 B
Makefile
46 lines
887 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= 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 <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}/pam/freebsd5 ${PREFIX}/etc/pam.d/calife.sample
|
|
@${CAT} ${PKGMESSAGE}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|