svn commit: r479922 - head/security/botan110
Dmitry Marakasov
amdmi3 at FreeBSD.org
Mon Sep 17 09:38:24 UTC 2018
Author: amdmi3
Date: Mon Sep 17 09:38:23 2018
New Revision: 479922
URL: https://svnweb.freebsd.org/changeset/ports/479922
Log:
- Switch to options helpers
- Update WWW
- Pet portlint
Approved by: portmgr blanket
Modified:
head/security/botan110/Makefile
head/security/botan110/pkg-descr
Modified: head/security/botan110/Makefile
==============================================================================
--- head/security/botan110/Makefile Mon Sep 17 09:08:24 2018 (r479921)
+++ head/security/botan110/Makefile Mon Sep 17 09:38:23 2018 (r479922)
@@ -12,12 +12,13 @@ DISTNAME= Botan-${PORTVERSION}
MAINTAINER= lapo at lapo.it
COMMENT= Portable, easy to use, and efficient C++ crypto library
-BROKEN_SSL= openssl-devel
-BROKEN_SSL_REASON_openssl-devel= error: variable has incomplete type 'EVP_MD_CTX' (aka 'struct evp_md_ctx_st')
-
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/doc/license.txt
+BROKEN_aarch64= Fails to configure: unknown or unidentifiable processor arm64
+BROKEN_SSL= openssl-devel
+BROKEN_SSL_REASON_openssl-devel= error: variable has incomplete type 'EVP_MD_CTX' (aka 'struct evp_md_ctx_st')
+
OPTIONS_DEFINE= SSL GMP DOCS
OPTIONS_DEFAULT= SSL GMP
@@ -34,32 +35,22 @@ PLIST_FILES= bin/botan-config-1.10 lib/libbotan-1.10.a
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
PORTDOCS= *
-BROKEN_aarch64= Fails to configure: unknown or unidentifiable processor arm64
+SSL_USES= ssl
+SSL_CONFIGURE_WITH= openssl
-.include <bsd.port.options.mk>
+GMP_USES= localbase:ldflags
+GMP_LIB_DEPENDS= libgmp.so:math/gmp
+GMP_CONFIGURE_WITH= gnump
-.if ${PORT_OPTIONS:MSSL}
-USES+= ssl
-CONFIGURE_ARGS+=--with-openssl
-.endif
-
-.if ${PORT_OPTIONS:MGMP}
-USES+= localbase:ldflags
-LIB_DEPENDS+= libgmp.so:math/gmp
-CONFIGURE_ARGS+=--with-gnump
-.endif
-
-.include <bsd.port.pre.mk>
-
post-patch:
- ${REINPLACE_CMD} -e "s|#!/usr/bin/env python|#!${PYTHON_CMD}|" \
- ${WRKSRC}/configure.py
-.if ! ${PORT_OPTIONS:MDOCS}
- ${REINPLACE_CMD} -e '/DOCDIR/d' \
- ${WRKSRC}/src/build-data/makefile/unix_shr.in
-.endif
+ @${REINPLACE_CMD} -e "s|#!/usr/bin/env python|#!${PYTHON_CMD}|" \
+ ${WRKSRC}/configure.py
+post-patch-DOCS-off:
+ @${REINPLACE_CMD} -e '/DOCDIR/d' \
+ ${WRKSRC}/src/build-data/makefile/unix_shr.in
+
post-install:
@(cd "${STAGEDIR}${PREFIX}"; ${FIND} -s include/botan-1.10 -not -type d) >> ${TMPPLIST}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: head/security/botan110/pkg-descr
==============================================================================
--- head/security/botan110/pkg-descr Mon Sep 17 09:08:24 2018 (r479921)
+++ head/security/botan110/pkg-descr Mon Sep 17 09:38:23 2018 (r479922)
@@ -11,4 +11,4 @@ hashing and multiple precision integer operations.
Botan is licensed under the same permissive terms as FreeBSD itself.
-WWW: http://botan.randombit.net/
+WWW: https://botan.randombit.net/
More information about the svn-ports-head
mailing list