blob: b63478895241d900f82ae207733429eab3ecfd50 (
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
|
# ex:ts=8
# New ports collection makefile for: centerim
# Date created: 2006-03-14
# Whom: Frank Altpeter <frank@altpeter.de>
#
# $FreeBSD$
#
PORTNAME= centerim
DISTVERSION= 4.22.9.40
CATEGORIES= net-im
MASTER_SITES= http://www.centerim.org/download/mobshots/ \
ftp://ftp.centerim.org/mobshots/
PKGNAMESUFFIX= -devel
MAINTAINER= frank@altpeter.de
COMMENT= A text mode menu- and window-driven IM interface
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl
LICENSE= GPLv2
USE_PERL5_RUN= yes
USE_PYTHON_RUN= yes
USE_ICONV= yes
USE_OPENSSL= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS+="-I${LOCALBASE}/include" \
CXXFLAGS+="-I${LOCALBASE}/include"
CONFIGURE_ARGS= --with-ssl --with-openssl
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
CONFLICTS= centericq-[0-9]* centerim-[0-9]*
OPTIONS= NLS "Native Language Support" on \
MULTIBYTE "Multibyte Support" on \
FRIBIDI "Fribidi Support" on \
MSN "Support for MSN Protocol" on \
YAHOO "Support for Yahoo! Messenger Protocol" on \
AIM "Support for AOL's Instant Messenger Protocol" on \
IRC "Support for IRC Protocol" on \
JABBER "Support for Jabber Protocol" on \
GPGME "Support for PGP encrypted Jabber messages" on \
RSS "Support for RSS" on \
LJ "Support for LiveJournal" on \
GG "Support for Gadu-Gadu Protocol" on
MAN1= cimconv.1 centerim.1
PORTDOCS= FAQ README
.include <bsd.port.pre.mk>
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
.if defined(WITH_MULTIBYTE)
CONFIGURE_ARGS+= --enable-locales-fix
.endif
.if defined(WITH_FRIBIDI)
LIB_DEPENDS+= fribidi.3:${PORTSDIR}/converters/fribidi
CONFIGURE_ARGS+= --with-fribidi
.endif
.if !defined(WITH_MSN)
CONFIGURE_ARGS+= --disable-msn
.endif
.if !defined(WITH_YAHOO)
CONFIGURE_ARGS+= --disable-yahoo
.endif
.if !defined(WITH_AIM)
CONFIGURE_ARGS+= --disable-aim
.endif
.if !defined(WITH_IRC)
CONFIGURE_ARGS+= --disable-irc
.endif
.if !defined(WITH_JABBER)
CONFIGURE_ARGS+= --disable-jabber
.else
.endif
.if !defined(WITH_GPGME)
CONFIGURE_ARGS+= --without-gpgme
.else
LIB_DEPENDS+= gpgme.18:${PORTSDIR}/security/gpgme
#CONFIGURE_ARGS+= --with-gpgme=${LOCALBASE}
CONFIGURE_ARGS+= --with-ssl
.endif
.if !defined(WITH_RSS)
CONFIGURE_ARGS+= --disable-rss
.endif
.if !defined(WITH_LJ)
CONFIGURE_ARGS+= --disable-lj
.endif
.if !defined(WITH_GG)
CONFIGURE_ARGS+= --disable-gg
.else
LIB_DEPENDS+= gadu.3:${PORTSDIR}/polish/ekg
LIBGADU= -lgadu
.endif
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC} ; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
.endif
.include <bsd.port.post.mk>
|