summaryrefslogtreecommitdiff
path: root/net/g2ipmsg/Makefile
blob: 47aa8c2cc0644853d1e58f052212f0cd37574cff (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
# Created by: Norikatsu Shigemura <nork@FreeBSD.org>
# $FreeBSD$

PORTNAME=	g2ipmsg
PORTVERSION=	0.9.6
CATEGORIES=	net gnome
MASTER_SITES=	http://ipmsg.org/archive/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Popup style message communication tool for GNOME2

LICENSE=	GPLv2 # (or later)

OPTIONS_DEFINE=	GNOMEPANEL
OPTIONS_DEFAULT=	GNOMEPANEL
GNOMEPANEL_DESC=	GNOME Panel Applet

USES=		gettext pathfix pkgconfig
USE_GNOME=	desktopfileutils gnomeprefix libgnomeui
USE_GSTREAMER=	vorbis
USE_OPENSSL=	yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-doxygen-doc \
		--enable-systray \
		--with-ssl=${OPENSSLBASE}

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

GCONF_SCHEMAS=	g2ipmsg.schemas

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MGNOMEPANEL}
USE_GNOME+=	gnomepanel
PLIST_SUB+=	GNOMEPANEL=""
.else
CONFIGURE_ARGS+=--disable-applet
PLIST_SUB+=	GNOMEPANEL="@comment "
.endif

post-install:
	@update-desktop-database

.include <bsd.port.mk>