View | Details | Raw Unified | Return to bug 199657 | Differences between
and this patch

Collapse All | Expand All

(-)irc/bitlbee/Makefile (-70 / +25 lines)
Lines 31-42 Link Here
31
OPTIONS_SINGLE_SSL=	OPENSSL GNUTLS NSS
31
OPTIONS_SINGLE_SSL=	OPENSSL GNUTLS NSS
32
32
33
OPTIONS_MULTI=		PROTO
33
OPTIONS_MULTI=		PROTO
34
OPTIONS_MULTI_PROTO=	JABBER LIBPURPLE MSN OSCAR TWITTER YAHOO
34
OPTIONS_MULTI_PROTO=	JABBER LIBPURPLE MSN OSCAR SKYPE TWITTER YAHOO
35
35
36
OTR_DESC=		Off-the-Record Messaging support
36
OTR_DESC=		Off-the-Record Messaging support
37
LIBPURPLE_DESC=		Use libpurple for protocol support
37
LIBPURPLE_DESC=		Use libpurple for protocol support
38
MSN_DESC=		Microsoft Messenger support
38
MSN_DESC=		Microsoft Messenger support
39
OSCAR_DESC=		OSCAR (ICQ, AIM) support
39
OSCAR_DESC=		OSCAR (ICQ, AIM) support
40
SKYPE_DESC=		Skype support
40
TWITTER_DESC=		Twitter support
41
TWITTER_DESC=		Twitter support
41
YAHOO_DESC=		Yahoo! Messenger support
42
YAHOO_DESC=		Yahoo! Messenger support
42
GLIB_DESC=		Use glib as event handler
43
GLIB_DESC=		Use glib as event handler
Lines 46-125 Link Here
46
47
47
CONFIGURE_ARGS=	--config=/var/db/bitlbee --strip=0
48
CONFIGURE_ARGS=	--config=/var/db/bitlbee --strip=0
48
49
50
DEBUG_CONFIGURE_ON=	--debug=1
51
GLIB_USE=		gnome:glib20
52
GNUTLS_CONFIGURE_ON=	--ssl=gnutls
53
GNUTLS_LIB_DEPENDS=	libgnutls.so:${PORTSDIR}/security/gnutls \
54
			libgcrypt.so:${PORTSDIR}/security/libgcrypt
55
JABBER_CONFIGURE_OFF=	--jabber=0
56
LIBEVENT_CONFIGURE_ON=	--events=libevent --libevent=/usr/local
57
LIBEVENT_LIB_DEPENDS=	libevent.so:${PORTSDIR}/devel/libevent2
58
LIBPURPLE_CONFIGURE_ON=	--purple=1
59
LIBPURPLE_LIB_DEPENDS=	libpurple.so:${PORTSDIR}/net-im/libpurple
60
MSN_CONFIGURE_OFF=	--msn=0
61
NSS_CONFIGURE_ON=	--ssl=nss
62
NSS_LIB_DEPENDS=	libnss3.so:${PORTSDIR}/security/nss
63
OPENSSL_CONFIGURE_ON=	--ssl=openssl
64
OSCAR_CONFIGURE_OFF=	--oscar=0
65
OTR_CONFIGURE_ON=	--otr=1
66
OTR_LIB_DEPENDS=	libotr.so:${PORTSDIR}/security/libotr
67
SKYPE_CONFIGURE_ON=     --skype=1
68
SKYPE_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Skype4Py>0:${PORTSDIR}/net-im/py-skype4py
69
SKYPE_USES=		python
70
TWITTER_CONFIGURE_OFF=	--twitter=0
71
YAHOO_CONFIGURE_OFF=	--yahoo=0
72
49
USERS=		bitlbee
73
USERS=		bitlbee
50
GROUPS=		bitlbee
74
GROUPS=		bitlbee
51
75
52
.include <bsd.port.options.mk>
76
.include <bsd.port.options.mk>
53
77
54
.if ${PORT_OPTIONS:MDEBUG}
55
CONFIGURE_ARGS+=--debug=1
56
.else
57
CONFIGURE_ARGS+=--debug=0
58
.endif
59
60
.if ${PORT_OPTIONS:MOPENSSL}
61
CONFIGURE_ARGS+=--ssl=openssl
62
.elif ${PORT_OPTIONS:MNSS}
63
CONFIGURE_ARGS+=--ssl=nss
64
LIB_DEPENDS+=	libnss3.so:${PORTSDIR}/security/nss
65
.elif ${PORT_OPTIONS:MGNUTLS}
66
CONFIGURE_ARGS+=--ssl=gnutls
67
LIB_DEPENDS+=	libgnutls.so:${PORTSDIR}/security/gnutls \
68
		libgcrypt.so:${PORTSDIR}/security/libgcrypt
69
.endif
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
79
.if ${PORT_OPTIONS:MOTR}
80
CONFIGURE_ARGS+=--otr=1
81
LIB_DEPENDS+=	libotr.so:${PORTSDIR}/security/libotr
82
.else
83
CONFIGURE_ARGS+=--otr=0
84
.endif
85
86
.if ${PORT_OPTIONS:MMSN}
87
CONFIGURE_ARGS+=--msn=1
88
.else
89
CONFIGURE_ARGS+=--msn=0
90
.endif
91
92
.if ${PORT_OPTIONS:MJABBER}
93
CONFIGURE_ARGS+=--jabber=1
94
.else
95
CONFIGURE_ARGS+=--jabber=0
96
.endif
97
98
.if ${PORT_OPTIONS:MOSCAR}
99
CONFIGURE_ARGS+=--oscar=1
100
.else
101
CONFIGURE_ARGS+=--oscar=0
102
.endif
103
104
.if ${PORT_OPTIONS:MYAHOO}
105
CONFIGURE_ARGS+=--yahoo=1
106
.else
107
CONFIGURE_ARGS+=--yahoo=0
108
.endif
109
110
.if ${PORT_OPTIONS:MTWITTER}
111
CONFIGURE_ARGS+=--twitter=1
112
.else
113
CONFIGURE_ARGS+=--twitter=0
114
.endif
115
116
.if ${PORT_OPTIONS:MLIBPURPLE}
117
CONFIGURE_ARGS+=--purple=1
118
LIB_DEPENDS+=	libpurple.so:${PORTSDIR}/net-im/libpurple
119
.else
120
CONFIGURE_ARGS+=--purple=0
121
.endif
122
123
post-patch:
78
post-patch:
124
	@${REINPLACE_CMD} \
79
	@${REINPLACE_CMD} \
125
		-e "s|^\(EFLAGS=.*\)|\1 ${LDFLAGS}|" \
80
		-e "s|^\(EFLAGS=.*\)|\1 ${LDFLAGS}|" \
(-)irc/bitlbee/pkg-plist (+4 lines)
Lines 1-5 Link Here
1
man/man5/bitlbee.conf.5.gz
1
man/man5/bitlbee.conf.5.gz
2
man/man8/bitlbee.8.gz
2
man/man8/bitlbee.8.gz
3
sbin/bitlbee
3
sbin/bitlbee
4
%%SKYPE%%bin/skyped
5
%%SKYPE%%lib/bitlbee/skype.so
6
%%SKYPE%%etc/skyped/skyped.conf
7
%%SKYPE%%etc/skyped/skyped.cnf
4
%%DATADIR%%/help.txt
8
%%DATADIR%%/help.txt
5
@dir etc/bitlbee
9
@dir etc/bitlbee

Return to bug 199657