1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/net/libvncserver/Makefile
Tobias Kortkamp f1fad9f2d4 net/libvncserver: Enable GCRYPT by default
Currently, the GCRYPT option is not enabled by default in this port.
This prevents libvncclient from connecting to macOS's VNC server.
Also see https://bugs.mageia.org/show_bug.cgi?id=18895

PR:		228113
Submitted by:	Greg V <greg@unrelenting.technology>
Approved by:	araujo (maintainer timeout, 10 months)
2019-03-23 12:47:30 +00:00

56 lines
1.2 KiB
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= libvncserver
PORTVERSION= 0.9.12
DISTVERSIONPREFIX= LibVNCServer-
PORTREVISION= 2
CATEGORIES= net devel
MAINTAINER= araujo@FreeBSD.org
COMMENT= Provide an easy API to a custom vnc server
LICENSE= GPLv2
LIB_DEPENDS= libpng.so:graphics/png \
liblzo2.so:archivers/lzo2
USES= cmake jpeg libtool pathfix pkgconfig
USE_LDCONFIG= yes
CMAKE_ON= WITH_24BPP WITH_JPEG WITH_LZO WITH_PNG \
WITH_THREADS WITH_TIGHTVNC_FILETRANSFER \
WITH_WEBSOCKETS WITH_ZLIB
CMAKE_OFF= WITH_FFMPEG WITH_SDL WITH_SYSTEMD
USE_GITHUB= yes
GH_ACCOUNT= LibVNC
OPTIONS_DEFINE= GCRYPT IPV6 SASL
OPTIONS_SINGLE= SSL
OPTIONS_SINGLE_SSL= GNUTLS OPENSSL
OPTIONS_DEFAULT= GCRYPT OPENSSL
GCRYPT_DESC= libgcrypt support
SASL_DESC= SASL support
GCRYPT_CMAKE_BOOL= WITH_GCRYPT
GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt \
libgpg-error.so:security/libgpg-error
IPV6_CMAKE_BOOL= WITH_IPv6
SASL_CMAKE_BOOL= WITH_SASL
SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2
GNUTLS_IMPLIES= GCRYPT
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
GNUTLS_CMAKE_BOOL= WITH_GNUTLS
OPENSSL_CMAKE_BOOL= WITH_OPENSSL
OPENSSL_USES= ssl
post-install:
${INSTALL_DATA} ${WRKSRC}/rfb/default8x16.h ${STAGEDIR}${PREFIX}/include/rfb
.include <bsd.port.mk>