aboutsummaryrefslogtreecommitdiff
path: root/irc/bitlbee
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@FreeBSD.org>2013-02-04 22:01:15 +0000
committerHenrik Brix Andersen <brix@FreeBSD.org>2013-02-04 22:01:15 +0000
commitc4405ee3623143a50f8f9ad900065f78d6b2ea49 (patch)
tree49a13c93f3539f050a04598c94acc52ae8eef721 /irc/bitlbee
parentea54e861533508bc2f5848dd3b93fedfb4b9db39 (diff)
downloadports-c4405ee3623143a50f8f9ad900065f78d6b2ea49.tar.gz
ports-c4405ee3623143a50f8f9ad900065f78d6b2ea49.zip
Notes
Diffstat (limited to 'irc/bitlbee')
-rw-r--r--irc/bitlbee/Makefile66
-rw-r--r--irc/bitlbee/distinfo4
2 files changed, 37 insertions, 33 deletions
diff --git a/irc/bitlbee/Makefile b/irc/bitlbee/Makefile
index 8ebab340340e..2ab2c101214a 100644
--- a/irc/bitlbee/Makefile
+++ b/irc/bitlbee/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= bitlbee
-PORTVERSION= 3.0.6
+PORTVERSION= 3.2
CATEGORIES= irc
MASTER_SITES= http://get.bitlbee.org/src/ \
${MASTER_SITE_LOCAL}
@@ -25,86 +25,90 @@ USE_PKGCONFIG= build
USE_RC_SUBR= bitlbee
PKGMESSAGE= ${WRKDIR}/pkg-message
-OPTIONS= DEBUG "Enable debug support" Off \
- IPV6 "Enable IPv6 support" On \
- OPENSSL "Use OpenSSL rather than GnuTLS" Off \
- OTR "Enable OTR encryption support" Off \
- MSN "Enable MSN protocol support" On \
- JABBER "Enable Jabber (XMPP) protocol support" On \
- OSCAR "Enable OSCAR (ICQ, AIM) protocol support" On \
- YAHOO "Enable Yahoo! protocol support" On \
- TWITTER "Enable Twitter protocol support" On \
- LIBPURPLE "Use libpurple for protocol support" Off
+OPTIONS_DEFINE= DEBUG DOCS EXAMPLES IPV6 OTR
+
+OPTIONS_SINGLE= SSL
+OPTIONS_SINGLE_SSL= OPENSSL GNUTLS
+
+OPTIONS_MULTI= PROTO
+OPTIONS_MULTI_PROTO= JABBER LIBPURPLE MSN OSCAR TWITTER YAHOO
+
+OTR_DESC= Off-the-Record Messaging support
+LIBPURPLE_DESC= Use libpurple for protocol support
+MSN_DESC= Microsoft Messenger support
+OSCAR_DESC= OSCAR (ICQ, AIM) support
+TWITTER_DESC= Twitter support
+YAHOO_DESC= Yahoo! Messenger support
+
+OPTIONS_DEFAULT= GNUTLS JABBER MSN OSCAR TWITTER YAHOO
CONFIGURE_ARGS= --config=/var/db/bitlbee --strip=0
USERS= bitlbee
GROUPS= bitlbee
-CONFLICTS= bitlbee-otr-[0-9]*
-
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_DEBUG)
+.if ${PORT_OPTIONS:MDEBUG}
CONFIGURE_ARGS+=--debug=1
.else
CONFIGURE_ARGS+=--debug=0
.endif
-.if defined(WITH_IPV6)
+.if ${PORT_OPTIONS:MIPV6}
CONFIGURE_ARGS+=--ipv6=1
.else
CONFIGURE_ARGS+=--ipv6=0
.endif
-.if defined(WITH_OPENSSL)
+.if ${PORT_OPTIONS:MOPENSSL}
CONFIGURE_ARGS+=--ssl=openssl
-.else
+.elif ${PORT_OPTIONS:MGNUTLS}
CONFIGURE_ARGS+=--ssl=gnutls
-LIB_DEPENDS+= gnutls.47:${PORTSDIR}/security/gnutls \
- gcrypt.18:${PORTSDIR}/security/libgcrypt
+LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls \
+ gcrypt:${PORTSDIR}/security/libgcrypt
.endif
-.if defined(WITH_OTR)
+.if ${PORT_OPTIONS:MOTR}
CONFIGURE_ARGS+=--otr=1
LIB_DEPENDS+= otr.4:${PORTSDIR}/security/libotr3
.else
CONFIGURE_ARGS+=--otr=0
.endif
-.if defined(WITH_MSN)
+.if ${PORT_OPTIONS:MMSN}
CONFIGURE_ARGS+=--msn=1
.else
CONFIGURE_ARGS+=--msn=0
.endif
-.if defined(WITH_JABBER)
+.if ${PORT_OPTIONS:MJABBER}
CONFIGURE_ARGS+=--jabber=1
.else
CONFIGURE_ARGS+=--jabber=0
.endif
-.if defined(WITH_OSCAR)
+.if ${PORT_OPTIONS:MOSCAR}
CONFIGURE_ARGS+=--oscar=1
.else
CONFIGURE_ARGS+=--oscar=0
.endif
-.if defined(WITH_YAHOO)
+.if ${PORT_OPTIONS:MYAHOO}
CONFIGURE_ARGS+=--yahoo=1
.else
CONFIGURE_ARGS+=--yahoo=0
.endif
-.if defined(WITH_TWITTER)
+.if ${PORT_OPTIONS:MTWITTER}
CONFIGURE_ARGS+=--twitter=1
.else
CONFIGURE_ARGS+=--twitter=0
.endif
-.if defined(WITH_LIBPURPLE)
+.if ${PORT_OPTIONS:MLIBPURPLE}
CONFIGURE_ARGS+=--purple=1
-LIB_DEPENDS+= purple.10:${PORTSDIR}/net-im/libpurple
+LIB_DEPENDS+= purple:${PORTSDIR}/net-im/libpurple
.else
CONFIGURE_ARGS+=--purple=0
.endif
@@ -124,14 +128,14 @@ post-patch:
post-install:
${MKDIR} ${PREFIX}/etc/bitlbee
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S@^@${WRKSRC}/doc/@} ${DOCSDIR}
.endif
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${PORTEXAMPLES:S@^@${WRKSRC}/@} ${EXAMPLESDIR}
.endif
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/irc/bitlbee/distinfo b/irc/bitlbee/distinfo
index 391e1c1d7f76..0aa74fe446a7 100644
--- a/irc/bitlbee/distinfo
+++ b/irc/bitlbee/distinfo
@@ -1,2 +1,2 @@
-SHA256 (bitlbee-3.0.6.tar.gz) = 4f3e169f9a8e0cdf7976d2e6f41b9a8f6020a262b5731aa0f91fdb66d17446e8
-SIZE (bitlbee-3.0.6.tar.gz) = 730918
+SHA256 (bitlbee-3.2.tar.gz) = 1b43828e906f5450993353f2ebecc6c038f0261c4dc3f1722ebafa6ea3e62030
+SIZE (bitlbee-3.2.tar.gz) = 666404