freebsd-ports/net/libvncserver/Makefile

58 lines
1.3 KiB
Makefile
Raw Normal View History

2012-12-31 13:41:55 +01:00
# Created by: ijliao
# $FreeBSD$
PORTNAME= libvncserver
PORTVERSION= 0.9.11
DISTVERSIONPREFIX= LibVNCServer-
CATEGORIES= net devel
2013-12-16 18:26:49 +01:00
MAINTAINER= ports@FreeBSD.org
COMMENT= Provide an easy API to a custom vnc server
LICENSE= GPLv2
LIB_DEPENDS= libpng.so:graphics/png
USE_GITHUB= yes
GH_ACCOUNT= LibVNC
USES= autoreconf jpeg libtool pathfix pkgconfig
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= GCRYPT IPV6 VAAPI
OPTIONS_SINGLE= SSL
OPTIONS_SINGLE_SSL= GNUTLS OPENSSL
OPTIONS_DEFAULT= OPENSSL
GCRYPT_DESC= libgcrypt support
GNUTLS_IMPLIES= GCRYPT
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
GNUTLS_CONFIGURE_WITH= gnutls
OPENSSL_CONFIGURE_WITH= crypto ssl
OPENSSL_USES= ssl
GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt \
libgpg-error.so:security/libgpg-error
GCRYPT_CONFIGURE_WITH= gcrypt
IPV6_CONFIGURE_WITH= ipv6
VAAPI_LIB_DEPENDS= libva.so:multimedia/libva
VAAPI_CONFIGURE_WITH= libva
post-install:
2013-09-23 08:14:29 +02:00
${INSTALL_DATA} ${WRKSRC}/rfb/default8x16.h ${STAGEDIR}${PREFIX}/include/rfb
.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>