# ex:ts=8
# Ports collection makefile for:	gss
# Date created:			Oct 19, 2003
# Whom:				ijliao
#
# $FreeBSD: ports/security/gss/Makefile,v 1.26 2009/02/27 22:07:51 araujo Exp $
#

PORTNAME=	gss
PORTVERSION=	0.0.25
CATEGORIES=	security
MASTER_SITES=	${MASTER_SITE_GNU_ALPHA}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	araujo@FreeBSD.org
COMMENT=	GNU Generic Security Service Library

LIB_DEPENDS=	shishi.0:${PORTSDIR}/security/shishi

CONFLICTS=	heimdal-*

USE_PERL5_BUILD=	yes
USE_GNOME=	gnomehack gnometarget pkgconfig
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS=	--disable-kerberos5
USE_LDCONFIG=	yes

INFO=		gss

CPPFLAGS=	-I${LOCALBASE}/include
LDFLAGS=	-L${LOCALBASE}/lib

.include "Makefile.man"
.include <bsd.port.pre.mk>

.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=	--disable-nls
PLIST_SUB+=	NLS="@comment "
.else
USE_GETTEXT=		yes
PLIST_SUB+=	NLS=""
.endif

pre-install:
	@${MKDIR} ${PREFIX}/${INFO_PATH}

.include <bsd.port.post.mk>
