blob: 6af133b03531b2032095a5fea7c9b0801b7f0036 (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# Ports collection Makefile for: pam_krb5
# Date created: 11/03/2000
# Whom: nectar@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= pam_krb5
PORTVERSION= 1.3.r7
PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= ${PORTNAME:S/_/-/}
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/-rc/}
MAINTAINER= cy@FreeBSD.org
COMMENT= A Pluggable Authentication Module for Kerberos 5
MAN5= pam_krb5.5 pam_krb5afs.5
MAN8= pam_krb5.8 pam_krb5afs.8
USE_PERL5= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
.if defined(PACKAGE_BUILDING)
KRB5_IMPL= mit
.endif
.if defined(KRB5_IMPL) && ${KRB5_IMPL} == heimdal
LIB_DEPENDS= krb5.21:${PORTSDIR}/security/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
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500000
IGNORE= FreeBSD 5.x already ships with its own version of pam_krb5
.endif
MANDIR= ${MANPREFIX}/man
PREFIX= /usr
MANPREFIX= /usr/share
MANDIR= ${PREFIX}/share/man
KRB5_DIR?= ${LOCALBASE}
CONFIGURE_ENV= CFLAGS="${CFLAGS}"
CONFIGURE_ARGS= --with-krb5="${KRB5_DIR}" \
--with-pamdir="${PREFIX}/lib" \
--with-man-sect=8 \
--without-krbafs
post-install:
cd ${WRKSRC} && ${GMAKE} install-man
.include <bsd.port.post.mk>
|