freebsd-ports/net/libvncserver/Makefile

50 lines
1.1 KiB
Makefile
Raw Normal View History

2012-12-31 13:41:55 +01:00
# Created by: ijliao
# $FreeBSD$
PORTNAME= libvncserver
PORTVERSION= 0.9.9
2015-01-02 19:46:33 +01:00
PORTREVISION= 11
CATEGORIES= net devel
2009-02-01 08:36:43 +01:00
MASTER_SITES= SF
DISTNAME= LibVNCServer-${PORTVERSION}
2013-12-16 18:26:49 +01:00
MAINTAINER= ports@FreeBSD.org
COMMENT= Provide an easy API to a custom vnc server
LICENSE= GPLv2
2013-09-23 08:14:29 +02:00
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
libpng.so:${PORTSDIR}/graphics/png
USES= libtool pathfix
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --without-x
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= GNUTLS OPENSSL GCRYPT IPV6
OPTIONS_DEFAULT=OPENSSL
2013-06-14 16:05:59 +02:00
GCRYPT_DESC= libgcrypt support
GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls
GNUTLS_CONFIGURE_WITH= gnutls
OPENSSL_CONFIGURE_WITH= crypto ssl
OPENSSL_USE= OPENSSL=yes
GCRYPT_LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt
GCRYPT_CONFIGURE_WITH= gcrypt
IPV6_CONFIGURE_WITH= ipv6
post-patch:
@${REINPLACE_CMD} -e \
'/^SUBDIRS/s|x11vnc||g' ${WRKSRC}/Makefile.in
post-install:
2013-09-23 08:14:29 +02:00
${INSTALL_DATA} ${WRKSRC}/rfb/default8x16.h ${STAGEDIR}${PREFIX}/include/rfb
.include <bsd.port.mk>