freebsd-ports/security/p5-Authen-Krb5/Makefile
Hiroki Sato 36a0ba4d9a - Add Heimdal support.
- Use USES=gssapi.
2015-02-01 18:43:42 +00:00

35 lines
804 B
Makefile

# Created by: ajk@iu.edu
# $FreeBSD$
PORTNAME= Authen-Krb5
PORTVERSION= 1.9
PORTREVISION= 2
CATEGORIES= security perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
DISTNAME= Krb5-${PORTVERSION}
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl extension for Kerberos 5
USES= perl5
USE_PERL5= configure
CONFIGURE_ENV= GSSAPIBASEDIR="${GSSAPIBASEDIR}"
OPTIONS_SINGLE= GSSAPI
OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT
OPTIONS_DEFAULT= GSSAPI_BASE
GSSAPI_BASE_USES= gssapi
GSSAPI_BASE_CONFIGURE_ENV= HAVE_HEIMDAL=1
GSSAPI_HEIMDAL_USES= gssapi:heimdal
GSSAPI_HEIMDAL_CONFIGURE_ENV= HAVE_HEIMDAL=1
GSSAPI_MIT_USES= gssapi:mit
post-extract:
${INSTALL_DATA} ${FILESDIR}/krb5-heimdal-compat.h ${WRKSRC}
post-build:
${STRIP_CMD} ${WRKSRC}/blib/arch/auto/Authen/Krb5/Krb5.so
.include <bsd.port.mk>