blob: c45686be3ae18278104144a14b043040f0a53aa9 (
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
|
PORTNAME= centerim
PORTVERSION= 4.22.10
PORTREVISION= 6
CATEGORIES= net-im
MASTER_SITES= http://www.centerim.org/download/releases/ \
ftp://ftp.centerim.org/releases/
MAINTAINER= frank@altpeter.de
COMMENT= Text mode menu- and window-driven IM interface
WWW= https://www.centerim.org/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libassuan.so:security/libassuan \
libcurl.so:ftp/curl \
libgpg-error.so:security/libgpg-error
USES= cpe iconv gmake ncurses pkgconfig python shebangfix ssl
USE_CXXSTD= gnu++98
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
CXXFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ARGS= --with-ssl --with-openssl --disable-yahoo --disable-msn
CONFLICTS= centericq centerim-devel
SHEBANG_FILES= misc/CenterIMLog2HTML.py misc/cimformathistory misc/cimextracthistory.pl
SHEBANG_LANG= gawk
gawk_OLD_CMD= /bin/gawk
gawk_CMD= /usr/bin/awk
OPTIONS_DEFINE= NLS MULTIBYTE FRIBIDI IRC JABBER GPGME RSS LJ GG DOCS
FRIBIDI_DESC= Fribidi Support
IRC_DESC= IRC Protocol
GPGME_DESC= PGP encrypted Jabber messages
RSS_DESC= RSS Support
LJ_DESC= LiveJournal Support
GG_DESC= Gadu-Gadu Protocol Support
OPTIONS_DEFAULT= MULTIBYTE FRIBIDI IRC JABBER GPGME RSS LJ GG
OPTIONS_SUB= yes
PORTDOCS= FAQ README
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
MULTIBYTE_CONFIGURE_ENABLE=locales-fix
FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi
FRIBIDI_CONFIGURE_WITH= fribidi
IRC_CONFIGURE_ENABLE= irc
JABBER_CONFIGURE_ENABLE=jabber
RSS_CONFIGURE_ENABLE= rss
LJ_CONFIGURE_ENABLE= lj
GG_LIB_DEPENDS= libgadu.so:polish/libgadu
GG_CONFIGURE_ENABLE= gg
GPGME_LIB_DEPENDS= libgpgme.so:security/gpgme
GPGME_CONFIGURE_OFF= --with-gpgme-prefix=/nonexistent
post-patch:
@${REINPLACE_CMD} -e 's|-R$$found_dir|-Wl,-rpath,$$found_dir|' \
${WRKSRC}/configure
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
|