mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
5743712b3d
Approved by: portmgr
44 lines
999 B
Makefile
44 lines
999 B
Makefile
# Created by: nectar@FreeBSD.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pam_krb5
|
|
PORTVERSION= 4.6
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://archives.eyrie.org/software/kerberos/ \
|
|
http://archives.eyrie.org/software/ARCHIVE/pam-krb5/
|
|
DISTNAME= pam-krb5-${PORTVERSION:S/.r/-rc/}
|
|
|
|
MAINTAINER= cy@FreeBSD.org
|
|
COMMENT= A Pluggable Authentication Module for Kerberos 5
|
|
|
|
CONFLICTS= pam_krb5-rh-2.*
|
|
|
|
MAN5= pam_krb5.5
|
|
|
|
USES= perl5 gmake
|
|
GNU_CONFIGURE= yes
|
|
|
|
.if defined(KRB5_IMPL) && ${KRB5_IMPL} == heimdal
|
|
.if defined(HEIMDAL_HOME)
|
|
KRB5_DIR?= ${HEIMDAL_HOME}
|
|
.endif
|
|
.elif defined(KRB5_IMPL) && ${KRB5_IMPL} == mit
|
|
LIB_DEPENDS= krb5.3:${PORTSDIR}/security/krb5
|
|
.if defined(KRB5_HOME)
|
|
KRB5_DIR?= ${KRB5_HOME}
|
|
.endif
|
|
.else
|
|
IGNORE= you must define KRB5_IMPL to be "mit" or "heimdal"
|
|
.endif
|
|
|
|
MANDIR= ${MANPREFIX}/man
|
|
MANDIR= ${PREFIX}/share/man
|
|
KRB5_DIR?= ${LOCALBASE}
|
|
CONFIGURE_ARGS= --with-krb5="${KRB5_DIR}"
|
|
|
|
NO_STAGE= yes
|
|
post-install:
|
|
cd ${WRKSRC} && ${GMAKE} install-man
|
|
|
|
.include <bsd.port.mk>
|