aboutsummaryrefslogtreecommitdiffstats
path: root/net/remmina-applet/Makefile
blob: 4059c203e865291da24b302c39471ed7f8fe1c8e (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
41
42
43
44
45
46
47
48
# New ports collection makefile for:    grdc-applet
# Date created:             12 April 2009
# Whom:                 Alexander Logvinov <ports@logvinov.com>
#
# $FreeBSD$
#

PORTNAME=   remmina
PORTVERSION=    0.8.1
CATEGORIES= net gnome
MASTER_SITES=   SF/${PORTNAME}/0.8
PKGNAMESUFFIX=  -applet
DISTNAME=   ${PORTNAME}-gnome-${PORTVERSION}

MAINTAINER= avl@FreeBSD.org
COMMENT=    A GNOME Desktop applet for Remmina

RUN_DEPENDS=    remmina:${PORTSDIR}/net/remmina

OPTIONS=    AVAHI   "Build with Avahi support"  off

MAKE_JOBS_SAFE= yes
GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_GNOME=  gnomehack glib20 gtk20 gnomepanel
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

.include <bsd.port.pre.mk>

.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT=    yes
PLIST_SUB+= NLS=""
.endif

.if defined(WITH_AVAHI)
LIB_DEPENDS+=   avahi-ui.0:${PORTSDIR}/net/avahi-gtk
.else
CONFIGURE_ARGS+=--disable-avahi
.endif

.include <bsd.port.post.mk>