aboutsummaryrefslogtreecommitdiff
path: root/security/nettle/Makefile
diff options
context:
space:
mode:
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} \