# ex:ts=8
# New ports collection makefile for:	nettle
# Date created:			Dec 6, 2001
# Whom:				ijliao
#
# $FreeBSD: ports/security/nettle/Makefile,v 1.8 2003/02/20 18:59:07 knu Exp $
#

PORTNAME=	nettle
PORTVERSION=	1.5
PORTREVISION=	2
CATEGORIES=	security
MASTER_SITES=	http://www.lysator.liu.se/~nisse/archive/ \
		ftp://ftp.lysator.liu.se/pub/security/lsh/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A low-level cryptographic library

LIB_DEPENDS=	gmp.6:${PORTSDIR}/math/libgmp4

USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib" \
		MAKEINFO="makeinfo --no-split"

post-extract:
	@${RM} -f ${WRKSRC}/nettle.info*

.include <bsd.port.mk>
