aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/freetalk/Makefile
blob: 8d0f2975ea1eeb5dc33c65c72236288bf2afbd7f (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: 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 NLS
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

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

MAN1=       freetalk.1
INFO=       freetalk

NO_STAGE=   yes
.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNLS}
PLIST_SUB+=     NLS=""
USES+=      gettext
CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE}
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+=     NLS="@comment "
.endif

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

.include <bsd.port.mk>