aboutsummaryrefslogtreecommitdiff
path: root/net/remmina-applet/Makefile
blob: f6cda30a188ff6ff049622ed8c1c670bd4f4d9f7 (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
# New ports collection makefile for:	grdc-applet
# Date created:				12 April 2009
# Whom:					Alexander Logvinov <ports@logvinov.com>
#
# $FreeBSD$
#

PORTNAME=	remmina
PORTVERSION=	0.7.2
CATEGORIES=	net gnome
MASTER_SITES=	SF/${PORTNAME}/0.7/
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"

.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>