2012-12-31 12:41:55 +00:00
|
|
|
# Created by: ijliao
|
2004-02-09 02:55:41 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libvncserver
|
2019-01-28 06:51:58 +00:00
|
|
|
PORTVERSION= 0.9.12
|
2016-06-24 09:47:29 +00:00
|
|
|
DISTVERSIONPREFIX= LibVNCServer-
|
2019-03-23 12:47:30 +00:00
|
|
|
PORTREVISION= 2
|
2004-02-09 02:55:41 +00:00
|
|
|
CATEGORIES= net devel
|
|
|
|
|
2017-06-20 06:30:23 +00:00
|
|
|
MAINTAINER= araujo@FreeBSD.org
|
2014-07-27 01:08:30 +00:00
|
|
|
COMMENT= Provide an easy API to a custom vnc server
|
2004-02-09 02:55:41 +00:00
|
|
|
|
2011-04-04 07:08:51 +00:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2019-01-28 06:51:58 +00:00
|
|
|
LIB_DEPENDS= libpng.so:graphics/png \
|
|
|
|
liblzo2.so:archivers/lzo2
|
|
|
|
|
|
|
|
USES= cmake jpeg libtool pathfix pkgconfig
|
|
|
|
USE_LDCONFIG= yes
|
2004-02-09 02:55:41 +00:00
|
|
|
|
2019-01-31 01:47:01 +00:00
|
|
|
CMAKE_ON= WITH_24BPP WITH_JPEG WITH_LZO WITH_PNG \
|
|
|
|
WITH_THREADS WITH_TIGHTVNC_FILETRANSFER \
|
|
|
|
WITH_WEBSOCKETS WITH_ZLIB
|
2019-03-11 10:49:18 +00:00
|
|
|
CMAKE_OFF= WITH_FFMPEG WITH_SDL WITH_SYSTEMD
|
2019-01-31 01:47:01 +00:00
|
|
|
|
2016-06-24 09:47:29 +00:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= LibVNC
|
|
|
|
|
2019-01-31 01:47:01 +00:00
|
|
|
OPTIONS_DEFINE= GCRYPT IPV6 SASL
|
2016-06-24 09:47:29 +00:00
|
|
|
OPTIONS_SINGLE= SSL
|
|
|
|
OPTIONS_SINGLE_SSL= GNUTLS OPENSSL
|
2019-03-23 12:47:30 +00:00
|
|
|
OPTIONS_DEFAULT= GCRYPT OPENSSL
|
2016-06-24 09:47:29 +00:00
|
|
|
GCRYPT_DESC= libgcrypt support
|
2019-01-31 01:47:01 +00:00
|
|
|
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
|
2011-08-28 19:16:00 +00:00
|
|
|
|
2016-06-24 09:47:29 +00:00
|
|
|
GNUTLS_IMPLIES= GCRYPT
|
2016-04-01 14:16:16 +00:00
|
|
|
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
|
2019-01-28 06:51:58 +00:00
|
|
|
GNUTLS_CMAKE_BOOL= WITH_GNUTLS
|
2011-08-28 19:16:00 +00:00
|
|
|
|
2019-01-28 06:51:58 +00:00
|
|
|
OPENSSL_CMAKE_BOOL= WITH_OPENSSL
|
2017-01-21 21:47:21 +00:00
|
|
|
OPENSSL_USES= ssl
|
2011-08-28 19:16:00 +00:00
|
|
|
|
2004-11-04 22:28:58 +00:00
|
|
|
post-install:
|
2013-09-23 06:14:29 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/rfb/default8x16.h ${STAGEDIR}${PREFIX}/include/rfb
|
2004-11-04 22:28:58 +00:00
|
|
|
|
2018-02-15 14:41:29 +00:00
|
|
|
.include <bsd.port.mk>
|