freebsd-ports/security/nettle/Makefile
Martin Wilke 22b5db3722 All ports depending on the nettle library have been updated
to use nettle 2.0, and there is no longer any reason to keep
separate ports for nettle versions 1.x and 2.x.

PR:		139482 139484
Submitted by:	Charlie Kester <corky1951@comcast.net> (maintainer)
2009-12-02 13:45:52 +00:00

45 lines
969 B
Makefile

# ex:ts=8
# ex:ts=8
# New ports collection makefile for: nettle
# Date created: Dec 6, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= nettle
PORTVERSION= 2.0
CATEGORIES= security
MASTER_SITES= http://www.lysator.liu.se/~nisse/archive/ \
ftp://ftp.lysator.liu.se/pub/security/lsh/
MAINTAINER= corky1951@comcast.net
COMMENT= A low-level cryptographic library
LIB_DEPENDS= gmp.8:${PORTSDIR}/math/libgmp4
USE_GMAKE= yes
USE_OPENSSL= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include"
CONFIGURE_ARGS= --enable-shared
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
DOCS= NEWS README TODO nettle.html nettle.pdf
EXAMPLES= examples/*.c examples/*.h
INFO= nettle
post-install:
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>