aboutsummaryrefslogtreecommitdiff
path: root/security/libssh
diff options
context:
space:
mode:
authorKoichiro Iwao <meta@FreeBSD.org>2019-11-05 02:09:22 +0000
committerKoichiro Iwao <meta@FreeBSD.org>2019-11-05 02:09:22 +0000
commit5fac9f408aa0605f2356c69202c1567dfcda7129 (patch)
treeec776d34b661a7d259afc0e38877772e908b7fd6 /security/libssh
parent1ec345e7c18fadd810e4fb59b0500a9d434518fc (diff)
downloadports-5fac9f408aa0605f2356c69202c1567dfcda7129.tar.gz
ports-5fac9f408aa0605f2356c69202c1567dfcda7129.zip
security/libssh: Assign to submitter
While here, pet portlint and clean option section by using OPT_CMAKE_BOOL. PR: 241716 Submitted by: Lorenzo Salvadore <phascolarctos@protonmail.ch>
Notes
Notes: svn path=/head/; revision=516766
Diffstat (limited to 'security/libssh')
-rw-r--r--security/libssh/Makefile26
1 files changed, 10 insertions, 16 deletions
diff --git a/security/libssh/Makefile b/security/libssh/Makefile
index 2b12a9edff27..6de0ceb41477 100644
--- a/security/libssh/Makefile
+++ b/security/libssh/Makefile
@@ -6,18 +6,12 @@ DISTVERSION= 0.8.6
CATEGORIES= security devel
MASTER_SITES= https://www.libssh.org/files/0.8/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= phascolarctos@protonmail.ch
COMMENT= Library implementing the SSH2 protocol
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
-OPTIONS_DEFINE= STATIC GSSAPI
-OPTIONS_RADIO= CRYPTO
-OPTIONS_RADIO_CRYPTO= GCRYPT OPENSSL
-OPTIONS_DEFAULT= OPENSSL STATIC GSSAPI
-OPTIONS_SUB= yes
-
USES= cmake cpe tar:xz
USE_LDCONFIG= yes
@@ -25,17 +19,17 @@ CMAKE_ARGS= -DWITH_EXAMPLES:BOOL=OFF \
-DWITH_TESTING:BOOL=OFF \
-DWITH_ZLIB:BOOL=ON
-GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt
-GCRYPT_CMAKE_ON= -DWITH_GCRYPT:BOOL=ON
-GCRYPT_CMAKE_OFF= -DWITH_GCRYPT:BOOL=OFF
+OPTIONS_DEFINE= GSSAPI STATIC
+OPTIONS_RADIO= CRYPTO
+OPTIONS_RADIO_CRYPTO= GCRYPT OPENSSL
+OPTIONS_DEFAULT= GSSAPI OPENSSL STATIC
+OPTIONS_SUB= yes
+GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt
+GCRYPT_CMAKE_BOOL= WITH_GCRYPT
+GSSAPI_CMAKE_BOOL= WITH_GSSAPI
OPENSSL_USES= ssl
-
-STATIC_CMAKE_ON= -DWITH_STATIC_LIB:BOOL=ON
-STATIC_CMAKE_OFF= -DWITH_STATIC_LIB:BOOL=OFF
-
-GSSAPI_CMAKE_ON= -DWITH_GSSAPI:BOOL=ON
-GSSAPI_CMAKE_OFF= -DWITH_GSSAPI:BOOL=OFF
+STATIC_CMAKE_BOOL= WITH_STATIC_LIB
post-patch:
${RM} ${PATCH_WRKSRC}/cmake/Modules/UseDoxygen.cmake