# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
github.setup heimdal heimdal 7.5.0 heimdal-
github.tarball_from releases
checksums rmd160 e056d1ce93d783fdc321ad02f373e363bce47d9e \
sha256 c5a2a0030fcc728022fa2332bad85569084d1c3b9a59587b7ebe141b0532acad
homepage http://www.h5l.org/
description Heimdal is a Kerberos 5 implementation.
Heimdal is an implementation of Kerberos 5 (and some more stuff) largely \
written in Sweden (which was important when we started writing it, less so \
now). It is freely available under a three clause BSD style license.
depends_build port:pkgconfig
depends_lib port:readline \
# Use a separate prefix to avoid conflicts with the port kerberos5
# (and openssl, if that variant is selected)
configure.pre_args --prefix=${prefix}/libexec/heimdal
--sysconfdir=${prefix}/etc \
--enable-pthread-support \
--with-readline=${prefix} \
--with-libintl=${prefix} \
build.env-append LC_CTYPE=C
variant x11 description \
{Enable X11 use in libraries, and build X11-related applications} {
depends_lib-append port:xorg-libice \
configure.args-delete --without-x
configure.args-append --with-x=${prefix}
variant openldap description \
{Enable LDAP database support for keeping track of Kerberos information} {
depends_lib-append port:openldap