blob: a6fab4dbb36fabd8b8f84fc5b01e38b76a24b52c (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
# Created by: Aleksander Fafula <alex@bsdguru.org>
# $FreeBSD$
PORTNAME= ekg2
PORTVERSION= 0.3.1
PORTREVISION= 10
PORTEPOCH= 1
CATEGORIES= polish net-im
MASTER_SITES= http://pl.ekg2.org/
MAINTAINER= pawel@FreeBSD.org
COMMENT= Text-mode Gadu-Gadu, Jabber, and IRC client
LIB_DEPENDS= libgadu.so:polish/libgadu \
libgnutls.so:security/gnutls \
libexpat.so:textproc/expat2
LICENSE= GPLv2
GNU_CONFIGURE= yes
USES= gmake iconv libtool pathfix pkgconfig readline
CONFIGURE_ARGS+= --enable-shared \
--disable-static \
--enable-dynamic \
--with-expat \
--without-sqlite \
--without-gpm-mouse \
--with-libgadu \
--without-gif \
--without-libjpeg \
--without-libidn
INSTALL_TARGET= install-strip
LDFLAGS+= -L${LOCALBASE}/lib -lintl -pthread
CFLAGS+= -I${LOCALBASE}/include
OPTIONS_DEFINE= ASPELL GPG GSM GTK2 NLS PERL PYTHON SQLITE UNICODE XOSD
OPTIONS_DEFAULT=ASPELL
OPTIONS_SUB= yes
GPG_DESC= GPG plugin
GSM_DESC= GSM audio plugin
GTK2_DESC= GTK+ 2 plugin
PERL_DESC= Perl plugin
PYTHON_DESC= Python plugin
SQLITE_DESC= SQLite plugin
UNICODE_DESC= Unicode support (experimental)
XOSD_DESC= Xosd plugin
ASPELL_CONFIGURE_WITH= aspell
ASPELL_LIB_DEPENDS= libaspell.so:textproc/aspell
ASPELL_RUN_DEPENDS= ${LOCALBASE}/share/aspell/pl.rws:polish/aspell
GPG_CONFIGURE_WITH= gpg
GPG_LIB_DEPENDS= libgpgme.so:security/gpgme \
libgpg-error.so:security/libgpg-error
GPG_RUN_DEPENDS= gpg:security/gnupg
GSM_CONFIGURE_WITH= libgsm
GSM_LIB_DEPENDS= libgsm.so:audio/gsm
GTK2_CONFIGURE_WITH= gtk
GTK2_USE= GNOME=gtk2
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
PERL_CONFIGURE_WITH= perl
PERL_USES= perl5
PYTHON_CONFIGURE_WITH= python
PYTHON_USES= python shebangfix
SHEBANG_FILES= contrib/python/notify-bubble.py
SQLITE_CONFIGURE_WITH= sqlite3
SQLITE_LIB_DEPENDS= libsqlite3.so:databases/sqlite3
UNICODE_CONFIGURE_ENABLE= unicode
XOSD_CONFIGURE_WITH= libxosd
XOSD_LIB_DEPENDS= libxosd.so:misc/xosd
post-patch:
# needs newer headers for O_NOFOLLOW flag
@${REINPLACE_CMD} '/_XOPEN_SOURCE/ s|600|700|' \
${WRKSRC}/plugins/xmsg/xmsg.c
post-patch-UNICODE-on:
@${REINPLACE_CMD} -e 's|ncursesw/||' ${WRKSRC}/configure \
${WRKSRC}/plugins/ncurses/ecurses.h
.include <bsd.port.mk>
|