summaryrefslogtreecommitdiffstats
path: root/net-im/freetalk/Makefile
blob: 740c537a9410f19c299af09e237abbfdda6322c7 (plain)
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
49
50
# New ports collection makefile for:   freetalk
# Date created:        19 June 2009
# Whom:                Oleg Ginzburg  (olevole@olevole.ru)
#
# $FreeBSD$
#

PORTNAME=	freetalk
PORTVERSION=	3.2
PORTREVISION=	2
CATEGORIES=	net-im
MASTER_SITES=	SAVANNAH/freetalk \
		http://itdev.spb.ru/mirror/

MAINTAINER=	olevole@olevole.ru
COMMENT=	GNU console based Jabber client

OPTIONS_DEFINE=	BEEP
BEEP_DESC=	Use beep program

LIB_DEPENDS=	loudmouth-1.0:${PORTSDIR}/net-im/loudmouth
BUILD_DEPENDS=	guile>=1.8.6:${PORTSDIR}/lang/guile
RUN_DEPENDS=	guile>=1.8.6:${PORTSDIR}/lang/guile

USE_GNOME=	pkgconfig glib20
GNU_CONFIGURE=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}

MAN1=		freetalk.1
INFO=		freetalk

OPTIONS=	BEEP "Use beep program" off

.if !defined(WITHOUT_NLS)
PLIST_SUB+=     NLS=""
USES+=		gettext
CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE}
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+=     NLS="@comment "
.endif

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MBEEP}
RUN_DEPENDS+=	${LOCALBASE}/bin/beep:${PORTSDIR}/audio/beep
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud