2001-12-06 10:02:25 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: nettle
|
|
|
|
# Date created: Dec 6, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= nettle
|
2007-05-27 11:48:24 +02:00
|
|
|
PORTVERSION= 1.15
|
2007-07-16 09:58:02 +02:00
|
|
|
PORTREVISION= 1
|
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/
|
|
|
|
|
2007-02-27 22:18:31 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= A low-level cryptographic library
|
2001-12-06 10:02:25 +01:00
|
|
|
|
2006-05-10 16:46:47 +02:00
|
|
|
LIB_DEPENDS= gmp.7:${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
|
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
|
|
|
|
|
|
|
DOCS= NEWS README TODO nettle.html
|
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
|
|
|
|
|
2002-09-20 08:42:08 +02:00
|
|
|
post-extract:
|
|
|
|
@${RM} -f ${WRKSRC}/nettle.info*
|
2001-12-06 10:02:25 +01:00
|
|
|
|
2003-10-29 22:41:31 +01:00
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
2001-12-06 10:02:25 +01:00
|
|
|
.include <bsd.port.mk>
|