aboutsummaryrefslogtreecommitdiffstats
path: root/net/gtk-vnc/Makefile
blob: 98d1e19b0ae5d185633a49a3886b89d101da3bc2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$

PORTNAME=   gtk-vnc
PORTVERSION=    0.5.4
PORTREVISION=   1
CATEGORIES= net gnome
MASTER_SITES=   GNOME

MAINTAINER= gnome@FreeBSD.org
COMMENT=    VNC viewer widget for GTK+

LICENSE=    LGPL21
LICENSE_FILE=   ${WRKSRC}/COPYING.LIB

BUILD_DEPENDS=  vapigen:${PORTSDIR}/lang/vala
LIB_DEPENDS=    libgnutls.so:${PORTSDIR}/security/gnutls \
        libgcrypt.so:${PORTSDIR}/security/libgcrypt \
        libsasl2.so:${PORTSDIR}/security/cyrus-sasl2

USE_GNOME=  gtk30 intltool introspection:build
USES=       gettext gmake libtool pathfix pkgconfig tar:xz
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-gtk=3.0 --enable-introspection \
        --disable-plugin --without-python
MAKE_JOBS_UNSAFE=   yes
INSTALL_TARGET= install-strip

OPTIONS_DEFINE= PULSEAUDIO
OPTIONS_DEFAULT=PULSEAUDIO
OPTIONS_SUB=    yes

PULSEAUDIO_DESC=    use PulseAudio for audio playback
PULSEAUDIO_CONFIGURE_WITH=  pulseaudio
PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio

.include <bsd.port.mk>