Lines 1-8
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= bitlbee |
3 |
PORTNAME= bitlbee |
4 |
PORTVERSION= 3.2.2 |
4 |
PORTVERSION= 3.4 |
5 |
PORTREVISION= 4 |
|
|
6 |
CATEGORIES= irc |
5 |
CATEGORIES= irc |
7 |
MASTER_SITES= http://get.bitlbee.org/src/ \ |
6 |
MASTER_SITES= http://get.bitlbee.org/src/ \ |
8 |
${MASTER_SITE_LOCAL} |
7 |
${MASTER_SITE_LOCAL} |
Lines 13-18
Link Here
|
13 |
|
12 |
|
14 |
LICENSE= GPLv2 |
13 |
LICENSE= GPLv2 |
15 |
|
14 |
|
|
|
15 |
BUILD_DEPENDS= xmlto:${PORTSDIR}/textproc/xmlto \ |
16 |
xsltproc:${PORTSDIR}/textproc/libxslt |
17 |
|
16 |
SUB_FILES= pkg-message |
18 |
SUB_FILES= pkg-message |
17 |
PORTDOCS= AUTHORS CHANGES CREDITS FAQ README |
19 |
PORTDOCS= AUTHORS CHANGES CREDITS FAQ README |
18 |
PORTEXAMPLES= bitlbee.conf motd.txt |
20 |
PORTEXAMPLES= bitlbee.conf motd.txt |
Lines 19-44
Link Here
|
19 |
|
21 |
|
20 |
GNU_CONFIGURE= yes |
22 |
GNU_CONFIGURE= yes |
21 |
USES= gmake pkgconfig |
23 |
USES= gmake pkgconfig |
22 |
USE_GNOME= glib20 |
|
|
23 |
USE_RC_SUBR= bitlbee |
24 |
USE_RC_SUBR= bitlbee |
24 |
PKGMESSAGE= ${WRKDIR}/pkg-message |
25 |
PKGMESSAGE= ${WRKDIR}/pkg-message |
25 |
|
26 |
|
26 |
OPTIONS_DEFINE= DEBUG DOCS EXAMPLES IPV6 OTR |
27 |
OPTIONS_DEFINE= DEBUG DOCS EXAMPLES OTR |
27 |
|
28 |
|
28 |
OPTIONS_SINGLE= SSL |
29 |
OPTIONS_SINGLE= EVENTS SSL |
29 |
OPTIONS_SINGLE_SSL= OPENSSL GNUTLS |
30 |
OPTIONS_SINGLE_EVENTS= GLIB LIBEVENT |
|
|
31 |
OPTIONS_SINGLE_SSL= OPENSSL GNUTLS NSS |
30 |
|
32 |
|
31 |
OPTIONS_MULTI= PROTO |
33 |
OPTIONS_MULTI= PROTO |
32 |
OPTIONS_MULTI_PROTO= JABBER LIBPURPLE MSN OSCAR TWITTER YAHOO |
34 |
OPTIONS_MULTI_PROTO= JABBER LIBPURPLE MSN OSCAR TWITTER YAHOO |
33 |
|
35 |
|
34 |
OTR_DESC= Off-the-Record Messaging support (Requires GnuTLS) |
36 |
OTR_DESC= Off-the-Record Messaging support |
35 |
LIBPURPLE_DESC= Use libpurple for protocol support |
37 |
LIBPURPLE_DESC= Use libpurple for protocol support |
36 |
MSN_DESC= Microsoft Messenger support |
38 |
MSN_DESC= Microsoft Messenger support |
37 |
OSCAR_DESC= OSCAR (ICQ, AIM) support |
39 |
OSCAR_DESC= OSCAR (ICQ, AIM) support |
38 |
TWITTER_DESC= Twitter support |
40 |
TWITTER_DESC= Twitter support |
39 |
YAHOO_DESC= Yahoo! Messenger support |
41 |
YAHOO_DESC= Yahoo! Messenger support |
|
|
42 |
GLIB_DESC= Use glib as event handler |
43 |
LIBEVENT_DESC= Use libevent as event handler |
40 |
|
44 |
|
41 |
OPTIONS_DEFAULT= GNUTLS JABBER MSN OSCAR TWITTER YAHOO |
45 |
OPTIONS_DEFAULT= GLIB GNUTLS JABBER OSCAR TWITTER YAHOO |
42 |
|
46 |
|
43 |
CONFIGURE_ARGS= --config=/var/db/bitlbee --strip=0 |
47 |
CONFIGURE_ARGS= --config=/var/db/bitlbee --strip=0 |
44 |
|
48 |
|
Lines 47-56
Link Here
|
47 |
|
51 |
|
48 |
.include <bsd.port.options.mk> |
52 |
.include <bsd.port.options.mk> |
49 |
|
53 |
|
50 |
.if ${PORT_OPTIONS:MOPENSSL} && ${PORT_OPTIONS:MOTR} |
|
|
51 |
IGNORE=Off-the-Record Messaging support requires GnuTLS support |
52 |
.endif |
53 |
|
54 |
.if ${PORT_OPTIONS:MDEBUG} |
54 |
.if ${PORT_OPTIONS:MDEBUG} |
55 |
CONFIGURE_ARGS+=--debug=1 |
55 |
CONFIGURE_ARGS+=--debug=1 |
56 |
.else |
56 |
.else |
Lines 57-70
Link Here
|
57 |
CONFIGURE_ARGS+=--debug=0 |
57 |
CONFIGURE_ARGS+=--debug=0 |
58 |
.endif |
58 |
.endif |
59 |
|
59 |
|
60 |
.if ${PORT_OPTIONS:MIPV6} |
|
|
61 |
CONFIGURE_ARGS+=--ipv6=1 |
62 |
.else |
63 |
CONFIGURE_ARGS+=--ipv6=0 |
64 |
.endif |
65 |
|
66 |
.if ${PORT_OPTIONS:MOPENSSL} |
60 |
.if ${PORT_OPTIONS:MOPENSSL} |
67 |
CONFIGURE_ARGS+=--ssl=openssl |
61 |
CONFIGURE_ARGS+=--ssl=openssl |
|
|
62 |
.elif ${PORT_OPTIONS:MNSS} |
63 |
CONFIGURE_ARGS+=--ssl=nss |
64 |
LIB_DEPENDS+= libnss3.so:${PORTSDIR}/security/nss |
68 |
.elif ${PORT_OPTIONS:MGNUTLS} |
65 |
.elif ${PORT_OPTIONS:MGNUTLS} |
69 |
CONFIGURE_ARGS+=--ssl=gnutls |
66 |
CONFIGURE_ARGS+=--ssl=gnutls |
70 |
LIB_DEPENDS+= libgnutls.so:${PORTSDIR}/security/gnutls \ |
67 |
LIB_DEPENDS+= libgnutls.so:${PORTSDIR}/security/gnutls \ |
Lines 71-76
Link Here
|
71 |
libgcrypt.so:${PORTSDIR}/security/libgcrypt |
68 |
libgcrypt.so:${PORTSDIR}/security/libgcrypt |
72 |
.endif |
69 |
.endif |
73 |
|
70 |
|
|
|
71 |
.if ${PORT_OPTIONS:MGLIB} |
72 |
CONFIGURE_ARGS+=--events=glib |
73 |
USE_GNOME= glib20 |
74 |
.elif ${PORT_OPTIONS:MLIBEVENT} |
75 |
CONFIGURE_ARGS+=--events=libevent |
76 |
LIB_DEPENDS+= libevent.so:${PORTSDIR}/devel/libevent2 |
77 |
.endif |
78 |
|
74 |
.if ${PORT_OPTIONS:MOTR} |
79 |
.if ${PORT_OPTIONS:MOTR} |
75 |
CONFIGURE_ARGS+=--otr=1 |
80 |
CONFIGURE_ARGS+=--otr=1 |
76 |
LIB_DEPENDS+= libotr.so:${PORTSDIR}/security/libotr |
81 |
LIB_DEPENDS+= libotr.so:${PORTSDIR}/security/libotr |