aboutsummaryrefslogtreecommitdiffstats
path: root/net/remmina-applet/Makefile
blob: 443f46dadf57da1f89fd5ed4868f403cfd1f4992 (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
# Created by: Alexander Logvinov <ports@logvinov.com>
# $FreeBSD$

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

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

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

OPTIONS_DEFINE= AVAHI

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

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT=    yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif

.if ${PORT_OPTIONS:MAVAHI}
LIB_DEPENDS+=   avahi-ui.0:${PORTSDIR}/net/avahi-gtk
.else
CONFIGURE_ARGS+=--disable-avahi
.endif

.include <bsd.port.mk>