aboutsummaryrefslogtreecommitdiff
path: root/security/nettle/Makefile
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2016-01-23 21:13:46 +0000
committerJohan van Selst <johans@FreeBSD.org>2016-01-23 21:13:46 +0000
commit61eb9ad3a2ef2614e59cdc813559f76f208b3b6c (patch)
tree7052886e85b9ea77b33d50074a9e52b82cbbccc7 /security/nettle/Makefile
parent0613a2fca3ade995a86cbc9a80643e0c9429e4b1 (diff)
downloadports-61eb9ad3a2ef2614e59cdc813559f76f208b3b6c.tar.gz
ports-61eb9ad3a2ef2614e59cdc813559f76f208b3b6c.zip
Update to Nettle 3.1.1
Note: Nettle 3 is not fully backwards compatible
Notes
Notes: svn path=/head/; revision=407057
Diffstat (limited to 'security/nettle/Makefile')
-rw-r--r--security/nettle/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/security/nettle/Makefile b/security/nettle/Makefile
index 7e13c972811c..eee22d45d940 100644
--- a/security/nettle/Makefile
+++ b/security/nettle/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= nettle
-PORTVERSION= 2.7.1
+PORTVERSION= 3.1.1
CATEGORIES= security
MASTER_SITES= GNU \
http://www.lysator.liu.se/~nisse/archive/:liu \
@@ -11,8 +11,8 @@ MASTER_SITES= GNU \
MAINTAINER= johans@FreeBSD.org
COMMENT= Low-level cryptographic library
-LICENSE= LGPL21
-LICENSE_FILE= ${WRKSRC}/COPYING.LIB
+LICENSE= LGPL3 GPLv2+
+LICENSE_COMB= multi
LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
@@ -39,6 +39,9 @@ OPTIONS_DEFINE= DOCS EXAMPLES
CONFIGURE_ENV+= CCPIC=-fPIC
.endif
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so
+
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${INSTALL_DATA} ${PORTEXAMPLES} \