2012-12-31 13:41:55 +01:00
|
|
|
# Created by: ijliao
|
2004-02-09 03:55:41 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libvncserver
|
2017-01-21 22:47:21 +01:00
|
|
|
PORTVERSION= 0.9.11
|
2016-06-24 11:47:29 +02:00
|
|
|
DISTVERSIONPREFIX= LibVNCServer-
|
2004-02-09 03:55:41 +01:00
|
|
|
CATEGORIES= net devel
|
|
|
|
|
2013-12-16 18:26:49 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-07-27 03:08:30 +02:00
|
|
|
COMMENT= Provide an easy API to a custom vnc server
|
2004-02-09 03:55:41 +01:00
|
|
|
|
2011-04-04 09:08:51 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
LIB_DEPENDS= libpng.so:graphics/png
|
2004-02-09 03:55:41 +01:00
|
|
|
|
2016-06-24 11:47:29 +02:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= LibVNC
|
|
|
|
|
|
|
|
USES= autoreconf jpeg libtool pathfix pkgconfig
|
2008-05-18 21:21:51 +02:00
|
|
|
USE_LDCONFIG= yes
|
2004-02-09 03:55:41 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2014-07-10 15:01:01 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2006-05-24 03:19:31 +02:00
|
|
|
|
2016-06-27 00:25:51 +02:00
|
|
|
OPTIONS_DEFINE= GCRYPT IPV6 VAAPI
|
2016-06-24 11:47:29 +02:00
|
|
|
OPTIONS_SINGLE= SSL
|
|
|
|
OPTIONS_SINGLE_SSL= GNUTLS OPENSSL
|
|
|
|
OPTIONS_DEFAULT= OPENSSL
|
|
|
|
GCRYPT_DESC= libgcrypt support
|
2011-08-28 21:16:00 +02:00
|
|
|
|
2016-06-24 11:47:29 +02:00
|
|
|
GNUTLS_IMPLIES= GCRYPT
|
2016-04-01 16:16:16 +02:00
|
|
|
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
|
2014-07-10 15:01:01 +02:00
|
|
|
GNUTLS_CONFIGURE_WITH= gnutls
|
2011-08-28 21:16:00 +02:00
|
|
|
|
2014-07-10 15:01:01 +02:00
|
|
|
OPENSSL_CONFIGURE_WITH= crypto ssl
|
2017-01-21 22:47:21 +01:00
|
|
|
OPENSSL_USES= ssl
|
2011-08-28 21:16:00 +02:00
|
|
|
|
2016-06-24 11:47:29 +02:00
|
|
|
GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt \
|
|
|
|
libgpg-error.so:security/libgpg-error
|
2014-07-10 15:01:01 +02:00
|
|
|
GCRYPT_CONFIGURE_WITH= gcrypt
|
2012-05-05 20:57:50 +02:00
|
|
|
|
2014-07-10 15:01:01 +02:00
|
|
|
IPV6_CONFIGURE_WITH= ipv6
|
2013-03-23 20:25:00 +01:00
|
|
|
|
2016-06-27 00:25:51 +02:00
|
|
|
VAAPI_LIB_DEPENDS= libva.so:multimedia/libva
|
|
|
|
VAAPI_CONFIGURE_WITH= libva
|
|
|
|
|
2004-11-04 23:28:58 +01:00
|
|
|
post-install:
|
2013-09-23 08:14:29 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/rfb/default8x16.h ${STAGEDIR}${PREFIX}/include/rfb
|
2004-11-04 23:28:58 +01:00
|
|
|
|
2016-11-29 19:46:21 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MOPENSSL} && ${SSL_DEFAULT:Mopenssl-devel}
|
|
|
|
BROKEN= Does not build with openssl-devel
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|