Lines 7-13
Link Here
|
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
PORTNAME?= libpurple |
9 |
PORTNAME?= libpurple |
10 |
PORTVERSION= 2.5.3 |
10 |
PORTVERSION= 2.5.4 |
11 |
PORTREVISION?= 0 |
11 |
PORTREVISION?= 0 |
12 |
CATEGORIES?= net-im |
12 |
CATEGORIES?= net-im |
13 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
13 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
Lines 23-29
Link Here
|
23 |
GNU_CONFIGURE= yes |
23 |
GNU_CONFIGURE= yes |
24 |
CONFIGURE_ARGS?=--disable-gtkui \ |
24 |
CONFIGURE_ARGS?=--disable-gtkui \ |
25 |
--disable-consoleui \ |
25 |
--disable-consoleui \ |
26 |
--with-dynamic_prpls=${PRPL_MODULES} \ |
26 |
--with-dynamic_prpls=${PRPL_MODULES:S/,$//} \ |
27 |
--disable-nm |
27 |
--disable-nm |
28 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ |
28 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ |
29 |
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \ |
29 |
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \ |
Lines 47-63
Link Here
|
47 |
|
47 |
|
48 |
.endif |
48 |
.endif |
49 |
|
49 |
|
50 |
PRPL_MODULES= gg,irc,jabber,msn,novell,oscar,qq,simple,yahoo,zephyr |
50 |
PRPL_MODULES= |
51 |
|
51 |
|
52 |
OPTIONS= SILC "Secure Internet Live Conferencing support" off \ |
52 |
OPTIONS= BONJOUR "Enable mDNS support" on \ |
|
|
53 |
DBUS "Enable DBUS bindings" on \ |
53 |
GNUTLS "GNUTLS encryption support" on \ |
54 |
GNUTLS "GNUTLS encryption support" on \ |
54 |
NSS "Mozilla NSS encryption support" off \ |
55 |
NSS "Mozilla NSS encryption support" off \ |
55 |
SASL "Cyrus SASL support (for jabberd)" off \ |
56 |
SASL "Cyrus SASL support (for jabberd)" off \ |
56 |
DBUS "Enable DBUS bindings" on \ |
|
|
57 |
PERL "Perl scripting" off \ |
57 |
PERL "Perl scripting" off \ |
58 |
BONJOUR "Enable mDNS support" on \ |
58 |
TCLTK "Tcl/Tk scripting" off \ |
59 |
SAMETIME "Enable Sametime client support" off \ |
59 |
SAMETIME "The Lotus Sametime chat protocol" off \ |
60 |
TCLTK "Tcl/Tk scripting" off |
60 |
SILC "The Secure Internet Live Conferencing protocol" off \ |
|
|
61 |
GG "The Gadu-Gadu chat protocol" on \ |
62 |
IRC "The Internet Relay Chat protocol" on \ |
63 |
JABBER "The Jabber/XMPP/Google Talk protocol" on \ |
64 |
MSN "The MSN Messenger protocol" on \ |
65 |
MYSPACE "The MySpaceIM protocol" on \ |
66 |
NOVELL "The Novell GroupWise chat protocol" on \ |
67 |
OSCAR "The AIM/ICQ/Oscar protocol" on \ |
68 |
QQ "The Tercent QQ chat protocol" on \ |
69 |
SIMPLE "The SIMPLE chat protocol" on \ |
70 |
YAHOO "The Yahoo! Messenger protocol" on \ |
71 |
ZEPHYR "The Zephyr chat protocol" on |
61 |
|
72 |
|
62 |
.if defined(WITH_GTKUI) |
73 |
.if defined(WITH_GTKUI) |
63 |
OPTIONS+= GTKSPELL "Spell checking support" on \ |
74 |
OPTIONS+= GTKSPELL "Spell checking support" on \ |
Lines 107-114
Link Here
|
107 |
.if !defined(WITHOUT_GNUTLS) |
118 |
.if !defined(WITHOUT_GNUTLS) |
108 |
LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls |
119 |
LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls |
109 |
CONFIGURE_ARGS+= --enable-gnutls=yes |
120 |
CONFIGURE_ARGS+= --enable-gnutls=yes |
|
|
121 |
PLIST_SUB+= GNUTLS="" |
110 |
.else |
122 |
.else |
111 |
CONFIGURE_ARGS+= --enable-gnutls=no |
123 |
CONFIGURE_ARGS+= --enable-gnutls=no |
|
|
124 |
PLIST_SUB+= GNUTLS="@comment " |
112 |
.endif |
125 |
.endif |
113 |
|
126 |
|
114 |
.if defined(WITH_NSS) |
127 |
.if defined(WITH_NSS) |
Lines 129-162
Link Here
|
129 |
CONFIGURE_ARGS+= --enable-cyrus-sasl |
142 |
CONFIGURE_ARGS+= --enable-cyrus-sasl |
130 |
.endif |
143 |
.endif |
131 |
|
144 |
|
132 |
.if defined(WITH_SILC) |
|
|
133 |
LIB_DEPENDS+= silcclient-1.1:${PORTSDIR}/devel/silc-toolkit |
134 |
CONFIGURE_ARGS+= --with-silc-includes=${LOCALBASE}/include/silc \ |
135 |
--with-silc-libs=${LOCALBASE}/lib |
136 |
PLIST_SUB+= SILC="" |
137 |
PRPL_MODULES:= ${PRPL_MODULES},silc |
138 |
.else |
139 |
PLIST_SUB+= SILC="@comment not installed: " |
140 |
.endif |
141 |
|
142 |
.if !defined(WITHOUT_BONJOUR) |
145 |
.if !defined(WITHOUT_BONJOUR) |
143 |
LIB_DEPENDS+= avahi-client.3:${PORTSDIR}/net/avahi-app |
146 |
LIB_DEPENDS+= avahi-client.3:${PORTSDIR}/net/avahi-app |
144 |
PLIST_SUB+= BONJOUR="" |
147 |
PLIST_SUB+= BONJOUR="" |
145 |
PRPL_MODULES:= ${PRPL_MODULES},bonjour |
148 |
PRPL_MODULES:= bonjour,${PRPL_MODULES} |
146 |
.else |
149 |
.else |
147 |
CONFIGURE_ARGS+=--disable-avahi |
150 |
CONFIGURE_ARGS+=--disable-avahi |
148 |
PLIST_SUB+= BONJOUR="@comment not installed: " |
151 |
PLIST_SUB+= BONJOUR="@comment not installed: " |
149 |
.endif |
152 |
.endif |
150 |
|
153 |
|
151 |
.if defined(WITH_SAMETIME) |
|
|
152 |
LIB_DEPENDS+= meanwhile.1:${PORTSDIR}/net-im/meanwhile |
153 |
PLIST_SUB+= SAMETIME="" |
154 |
PRPL_MODULES:= ${PRPL_MODULES},sametime |
155 |
.else |
156 |
PLIST_SUB+= SAMETIME="@comment not installed: " |
157 |
CONFIGURE_ARGS+=--disable-meanwhile |
158 |
.endif |
159 |
|
160 |
.if defined(WITH_TCLTK) |
154 |
.if defined(WITH_TCLTK) |
161 |
TCLTK_VER?= 8.4 # user can override it |
155 |
TCLTK_VER?= 8.4 # user can override it |
162 |
TCLTK_VER_NODOT= ${TCLTK_VER:S/.//} |
156 |
TCLTK_VER_NODOT= ${TCLTK_VER:S/.//} |
Lines 173-178
Link Here
|
173 |
PLIST_SUB+= TCL:="@comment not installed: " |
167 |
PLIST_SUB+= TCL:="@comment not installed: " |
174 |
.endif |
168 |
.endif |
175 |
|
169 |
|
|
|
170 |
.if defined(WITH_GTKUI) && !defined(WITHOUT_GTKSPELL) |
171 |
LIB_DEPENDS+= gtkspell.0:${PORTSDIR}/textproc/gtkspell |
172 |
.else |
173 |
CONFIGURE_ARGS+= --disable-gtkspell |
174 |
.endif |
175 |
|
176 |
.if !defined(WITHOUT_DBUS) |
176 |
.if !defined(WITHOUT_DBUS) |
177 |
LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib |
177 |
LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib |
178 |
.if !defined(PIDGIN_SLAVE) |
178 |
.if !defined(PIDGIN_SLAVE) |
Lines 198-207
Link Here
|
198 |
PLIST_SUB+= PERL:="@comment not installed: " |
198 |
PLIST_SUB+= PERL:="@comment not installed: " |
199 |
.endif |
199 |
.endif |
200 |
|
200 |
|
201 |
.if defined(WITH_GTKUI) && !defined(WITHOUT_GTKSPELL) |
201 |
.if defined(WITH_SAMETIME) |
202 |
LIB_DEPENDS+= gtkspell.0:${PORTSDIR}/textproc/gtkspell |
202 |
LIB_DEPENDS+= meanwhile.1:${PORTSDIR}/net-im/meanwhile |
|
|
203 |
PLIST_SUB+= SAMETIME="" |
204 |
PRPL_MODULES:= sametime,${PRPL_MODULES} |
203 |
.else |
205 |
.else |
204 |
CONFIGURE_ARGS+= --disable-gtkspell |
206 |
PLIST_SUB+= SAMETIME="@comment not installed: " |
|
|
207 |
CONFIGURE_ARGS+=--disable-meanwhile |
208 |
.endif |
209 |
|
210 |
.if defined(WITH_SILC) |
211 |
LIB_DEPENDS+= silcclient-1.1:${PORTSDIR}/devel/silc-toolkit |
212 |
CONFIGURE_ARGS+= --with-silc-includes=${LOCALBASE}/include/silc \ |
213 |
--with-silc-libs=${LOCALBASE}/lib |
214 |
PLIST_SUB+= SILC="" |
215 |
PRPL_MODULES:= silc,${PRPL_MODULES} |
216 |
.else |
217 |
PLIST_SUB+= SILC="@comment not installed: " |
218 |
.endif |
219 |
|
220 |
.if !defined(WITHOUT_GG) |
221 |
PLIST_SUB+= GG="" |
222 |
PRPL_MODULES:= gg,${PRPL_MODULES} |
223 |
.else |
224 |
PLIST_SUB+= GG="@comment not installed: " |
225 |
.endif |
226 |
|
227 |
.if !defined(WITHOUT_IRC) |
228 |
PLIST_SUB+= IRC="" |
229 |
PRPL_MODULES:= irc,${PRPL_MODULES} |
230 |
.else |
231 |
PLIST_SUB+= IRC="@comment not installed: " |
232 |
.endif |
233 |
|
234 |
.if !defined(WITHOUT_JABBER) |
235 |
PLIST_SUB+= JABBER="" |
236 |
PRPL_MODULES:= jabber,${PRPL_MODULES} |
237 |
.else |
238 |
PLIST_SUB+= JABBER="@comment not installed: " |
239 |
.endif |
240 |
|
241 |
.if !defined(WITHOUT_MSN) |
242 |
PLIST_SUB+= MSN="" |
243 |
PRPL_MODULES:= msn,${PRPL_MODULES} |
244 |
.else |
245 |
PLIST_SUB+= MSN="@comment not installed: " |
246 |
.endif |
247 |
|
248 |
.if !defined(WITHOUT_MYSPACE) |
249 |
PLIST_SUB+= MYSPACE="" |
250 |
PRPL_MODULES:= myspace,${PRPL_MODULES} |
251 |
.else |
252 |
PLIST_SUB+= MYSPACE="@comment not installed: " |
253 |
.endif |
254 |
|
255 |
.if !defined(WITHOUT_NOVELL) |
256 |
PLIST_SUB+= NOVELL="" |
257 |
PRPL_MODULES:= novell,${PRPL_MODULES} |
258 |
.else |
259 |
PLIST_SUB+= NOVELL="@comment not installed: " |
260 |
.endif |
261 |
|
262 |
.if !defined(WITHOUT_OSCAR) |
263 |
PLIST_SUB+= OSCAR="" |
264 |
PRPL_MODULES:= oscar,${PRPL_MODULES} |
265 |
.else |
266 |
PLIST_SUB+= OSCAR="@comment not installed: " |
267 |
.endif |
268 |
|
269 |
.if !defined(WITHOUT_QQ) |
270 |
PLIST_SUB+= QQ="" |
271 |
PRPL_MODULES:= qq,${PRPL_MODULES} |
272 |
.else |
273 |
PLIST_SUB+= QQ="@comment not installed: " |
274 |
.endif |
275 |
|
276 |
.if !defined(WITHOUT_SIMPLE) |
277 |
PLIST_SUB+= SIMPLE="" |
278 |
PRPL_MODULES:= simple,${PRPL_MODULES} |
279 |
.else |
280 |
PLIST_SUB+= SIMPLE="@comment not installed: " |
281 |
.endif |
282 |
|
283 |
.if !defined(WITHOUT_YAHOO) |
284 |
PLIST_SUB+= YAHOO="" |
285 |
PRPL_MODULES:= yahoo,${PRPL_MODULES} |
286 |
.else |
287 |
PLIST_SUB+= YAHOO="@comment not installed: " |
288 |
.endif |
289 |
|
290 |
.if !defined(WITHOUT_ZEPHYR) |
291 |
PLIST_SUB+= ZEPHYR="" |
292 |
PRPL_MODULES:= zephyr,${PRPL_MODULES} |
293 |
.else |
294 |
PLIST_SUB+= ZEPHYR="@comment not installed: " |
205 |
.endif |
295 |
.endif |
206 |
|
296 |
|
207 |
pre-everything:: |
297 |
pre-everything:: |
Lines 233-236
Link Here
|
233 |
.endif |
323 |
.endif |
234 |
@${FIND} ${WRKSRC} -type f | ${XARGS} ${TOUCH} |
324 |
@${FIND} ${WRKSRC} -type f | ${XARGS} ${TOUCH} |
235 |
|
325 |
|
|
|
326 |
pre-install: |
327 |
${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${MAN1PREFIX}/man/man1 |
236 |
.include <bsd.port.post.mk> |
328 |
.include <bsd.port.post.mk> |