2012-12-31 13:41:55 +01:00
|
|
|
# Created by: ijliao
|
2004-02-09 03:55:41 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libvncserver
|
2012-05-05 20:57:50 +02:00
|
|
|
PORTVERSION= 0.9.9
|
2015-01-02 19:46:33 +01:00
|
|
|
PORTREVISION= 11
|
2004-02-09 03:55:41 +01:00
|
|
|
CATEGORIES= net devel
|
2009-02-01 08:36:43 +01:00
|
|
|
MASTER_SITES= SF
|
2005-06-15 22:26:35 +02:00
|
|
|
DISTNAME= LibVNCServer-${PORTVERSION}
|
2004-02-09 03:55:41 +01:00
|
|
|
|
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
|
|
|
|
|
2013-09-23 08:14:29 +02:00
|
|
|
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
|
2014-12-25 20:04:25 +01:00
|
|
|
libpng.so:${PORTSDIR}/graphics/png
|
2004-02-09 03:55:41 +01:00
|
|
|
|
2014-07-10 15:01:01 +02:00
|
|
|
USES= libtool pathfix
|
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
|
2006-09-11 23:56:58 +02:00
|
|
|
CONFIGURE_ARGS= --without-x
|
2014-07-10 15:01:01 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2006-05-24 03:19:31 +02:00
|
|
|
|
2013-03-23 20:25:00 +01:00
|
|
|
OPTIONS_DEFINE= GNUTLS OPENSSL GCRYPT IPV6
|
2014-07-10 15:01:01 +02:00
|
|
|
OPTIONS_DEFAULT=OPENSSL
|
2013-06-14 16:05:59 +02:00
|
|
|
GCRYPT_DESC= libgcrypt support
|
2011-08-28 21:16:00 +02:00
|
|
|
|
2014-07-10 15:01:01 +02:00
|
|
|
GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls
|
|
|
|
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
|
|
|
|
OPENSSL_USE= OPENSSL=yes
|
2011-08-28 21:16:00 +02:00
|
|
|
|
2014-07-10 15:01:01 +02:00
|
|
|
GCRYPT_LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt
|
|
|
|
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
|
|
|
|
2004-02-09 03:55:41 +01:00
|
|
|
post-patch:
|
2006-09-11 23:56:58 +02:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
'/^SUBDIRS/s|x11vnc||g' ${WRKSRC}/Makefile.in
|
2004-02-09 03:55:41 +01:00
|
|
|
|
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
|
|
|
|
2004-02-09 03:55:41 +01:00
|
|
|
.include <bsd.port.mk>
|