2001-12-06 10:02:25 +01:00
|
|
|
# ex:ts=8
|
2009-12-02 14:45:52 +01:00
|
|
|
# ex:ts=8
|
2001-12-06 10:02:25 +01:00
|
|
|
# New ports collection makefile for: nettle
|
|
|
|
# Date created: Dec 6, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= nettle
|
2009-12-02 14:45:52 +01:00
|
|
|
PORTVERSION= 2.0
|
2001-12-06 10:02:25 +01:00
|
|
|
CATEGORIES= security
|
|
|
|
MASTER_SITES= http://www.lysator.liu.se/~nisse/archive/ \
|
|
|
|
ftp://ftp.lysator.liu.se/pub/security/lsh/
|
|
|
|
|
2009-07-08 05:45:07 +02:00
|
|
|
MAINTAINER= corky1951@comcast.net
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= A low-level cryptographic library
|
2001-12-06 10:02:25 +01:00
|
|
|
|
2009-05-13 11:46:02 +02:00
|
|
|
LIB_DEPENDS= gmp.8:${PORTSDIR}/math/libgmp4
|
2002-02-01 12:17:36 +01:00
|
|
|
|
2001-12-06 10:02:25 +01:00
|
|
|
USE_GMAKE= yes
|
2003-05-08 07:00:10 +02:00
|
|
|
USE_OPENSSL= yes
|
2002-09-20 08:42:08 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2003-10-29 22:41:31 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include"
|
2007-07-24 17:10:14 +02:00
|
|
|
CONFIGURE_ARGS= --enable-shared
|
2009-12-02 14:45:52 +01:00
|
|
|
|
2003-09-01 20:45:41 +02:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2007-05-27 11:48:24 +02:00
|
|
|
USE_LDCONFIG= yes
|
2003-10-29 22:41:31 +01:00
|
|
|
|
2009-12-02 14:45:52 +01:00
|
|
|
DOCS= NEWS README TODO nettle.html nettle.pdf
|
2005-11-24 12:25:04 +01:00
|
|
|
EXAMPLES= examples/*.c examples/*.h
|
2002-09-20 08:42:08 +02:00
|
|
|
|
2007-07-16 09:58:02 +02:00
|
|
|
INFO= nettle
|
|
|
|
|
2003-10-29 22:41:31 +01:00
|
|
|
post-install:
|
2009-12-02 14:45:52 +01:00
|
|
|
.if !defined(NOPORTEXAMPLES)
|
2003-10-29 22:41:31 +01:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
|
2009-12-02 14:45:52 +01:00
|
|
|
.endif
|
2003-10-29 22:41:31 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
2001-12-06 10:02:25 +01:00
|
|
|
.include <bsd.port.mk>
|