1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/security/nettle/Makefile
Martin Wilke 763f1e581f - Update to 1.15
PR:		112925
Submitted by:	Nils Vogels <nivo+kw+ports.bfa274@is-root.com>
2007-05-27 09:48:24 +00:00

46 lines
1.0 KiB
Makefile

# ex:ts=8
# New ports collection makefile for: nettle
# Date created: Dec 6, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= nettle
PORTVERSION= 1.15
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.7:${PORTSDIR}/math/libgmp4
USE_GMAKE= yes
USE_OPENSSL= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include"
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-shared
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
USE_GETOPT_LONG= yes
USE_GCC= 3.4+
DOCS= NEWS README TODO nettle.html
EXAMPLES= examples/*.c examples/*.h
post-extract:
@${RM} -f ${WRKSRC}/nettle.info*
post-install:
@${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>