Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Dec 2016 12:57:41 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r428740 - head/security/nettle
Message-ID:  <201612171257.uBHCvf78078671@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Dec 17 12:57:41 2016
New Revision: 428740
URL: https://svnweb.freebsd.org/changeset/ports/428740

Log:
  - Use = instead of += for CONFIGURE_ENV
  - Use USES=localbase
  - Use USES=pathfix
  - Use USES=ssl
  - Reformat pkg-descr
  - Update WWW: use https://

Modified:
  head/security/nettle/Makefile
  head/security/nettle/distinfo
  head/security/nettle/pkg-descr

Modified: head/security/nettle/Makefile
==============================================================================
--- head/security/nettle/Makefile	Sat Dec 17 12:57:36 2016	(r428739)
+++ head/security/nettle/Makefile	Sat Dec 17 12:57:41 2016	(r428740)
@@ -5,35 +5,32 @@ PORTNAME=	nettle
 PORTVERSION=	3.2
 CATEGORIES=	security
 MASTER_SITES=	GNU \
-		http://www.lysator.liu.se/~nisse/archive/:liu \
-		ftp://ftp.lysator.liu.se/pub/security/lsh/:liu
+		http://www.lysator.liu.se/~nisse/archive/ 
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Low-level cryptographic library
 
-LICENSE=	LGPL3 GPLv2+
+LICENSE=	GPLv2+ LGPL3
 LICENSE_COMB=	multi
+LICENSE_FILE_GPLv2=	${WRKSRC}/COPYINGv2
+LICENSE_FILE_GPLv3=	${WRKSRC}/COPYINGv3
+LICENSE_FILE_LGPL3=	${WRKSRC}/COPYING.LESSERv3
 
 LIB_DEPENDS=	libgmp.so:math/gmp
 
-USES=		gmake makeinfo
-USE_OPENSSL=	yes
-GNU_CONFIGURE=	yes
-CONFIGURE_ENV+=	M4="/usr/bin/m4 -g"
-CONFIGURE_ARGS=	--enable-shared
-MAKE_ARGS=	pkgconfigdir="${PREFIX}/libdata/pkgconfig"
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
+CONFIGURE_ARGS=	--enable-shared
+CONFIGURE_ENV=	M4="/usr/bin/m4 -g"
+GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
+USES=		gmake localbase makeinfo pathfix ssl
 
+INFO=		nettle
 PORTDOCS=	NEWS README TODO nettle.html nettle.pdf
 PORTEXAMPLES=	*.c *.h
-INFO=		nettle
 
-OPTIONS_DEFINE=	DOCS EXAMPLES
-
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 .if ${ARCH} == "sparc64"
 CONFIGURE_ENV+=	CCPIC=-fPIC
@@ -42,13 +39,12 @@ CONFIGURE_ENV+=	CCPIC=-fPIC
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so
 
-post-install-EXAMPLES-on:
-	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	cd ${WRKSRC}/examples && ${INSTALL_DATA} ${PORTEXAMPLES} \
-		${STAGEDIR}${EXAMPLESDIR}
-
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 
-.include <bsd.port.post.mk>
+post-install-EXAMPLES-on:
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	cd ${WRKSRC}/examples && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
+
+.include <bsd.port.mk>

Modified: head/security/nettle/distinfo
==============================================================================
--- head/security/nettle/distinfo	Sat Dec 17 12:57:36 2016	(r428739)
+++ head/security/nettle/distinfo	Sat Dec 17 12:57:41 2016	(r428740)
@@ -1,2 +1,3 @@
+TIMESTAMP = 1481791671
 SHA256 (nettle-3.2.tar.gz) = ea4283def236413edab5a4cf9cf32adf540c8df1b9b67641cfc2302fca849d97
 SIZE (nettle-3.2.tar.gz) = 1879604

Modified: head/security/nettle/pkg-descr
==============================================================================
--- head/security/nettle/pkg-descr	Sat Dec 17 12:57:36 2016	(r428739)
+++ head/security/nettle/pkg-descr	Sat Dec 17 12:57:41 2016	(r428740)
@@ -1,6 +1,5 @@
-Nettle is a cryptographic library that is designed to fit easily in more or
-less any context: In crypto toolkits for object-oriented languages (C++,
-Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel
-space.
+Nettle is a cryptographic library that is designed to fit easily in more or less
+any context: In crypto toolkits for object-oriented languages (C++, Python,
+Pike, ...), in applications like LSH or GNUPG, or even in kernel space.
 
-WWW: http://www.lysator.liu.se/~nisse/nettle/
+WWW: https://www.lysator.liu.se/~nisse/nettle/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612171257.uBHCvf78078671>