summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--irc/Makefile1
-rw-r--r--irc/bitlbee-mastodon/Makefile31
-rw-r--r--irc/bitlbee-mastodon/distinfo3
-rw-r--r--irc/bitlbee-mastodon/pkg-descr8
4 files changed, 43 insertions, 0 deletions
diff --git a/irc/Makefile b/irc/Makefile
index d4fa90052aec..900637e588b0 100644
--- a/irc/Makefile
+++ b/irc/Makefile
@@ -10,6 +10,7 @@
SUBDIR += bitlbee
SUBDIR += bitlbee-discord
SUBDIR += bitlbee-facebook
+ SUBDIR += bitlbee-mastodon
SUBDIR += bitlbee-steam
SUBDIR += bnc
SUBDIR += bopm
diff --git a/irc/bitlbee-mastodon/Makefile b/irc/bitlbee-mastodon/Makefile
new file mode 100644
index 000000000000..e8fbb731ed94
--- /dev/null
+++ b/irc/bitlbee-mastodon/Makefile
@@ -0,0 +1,31 @@
+# $FreeBSD$
+
+PORTNAME= bitlbee-mastodon
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.4.0
+CATEGORIES= irc
+
+MAINTAINER= tobias.rehbein@web.de
+COMMENT= Bitlbee plugin to communicate with Mastodon instances
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= bitlbee>=3.5:irc/bitlbee
+RUN_DEPENDS= bitlbee>=3.5:irc/bitlbee
+
+USES= autoreconf gnome libtool pkgconfig
+USE_GNOME= glib20
+USE_GITHUB= yes
+GH_ACCOUNT= kensanata
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-plugindir=${PREFIX}/lib/bitlbee
+
+PLIST_FILES= lib/bitlbee/mastodon.so \
+ share/bitlbee/mastodon-help.txt
+
+pre-configure:
+ cd ${WRKSRC} && ./autogen.sh
+
+.include <bsd.port.mk>
diff --git a/irc/bitlbee-mastodon/distinfo b/irc/bitlbee-mastodon/distinfo
new file mode 100644
index 000000000000..04f81b9165e0
--- /dev/null
+++ b/irc/bitlbee-mastodon/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1550241262
+SHA256 (kensanata-bitlbee-mastodon-v1.4.0_GH0.tar.gz) = acc66f0a81d7ac7c4b31da48118697d30e7b2a31cd91d6a6d14f5bc68302fe78
+SIZE (kensanata-bitlbee-mastodon-v1.4.0_GH0.tar.gz) = 64942
diff --git a/irc/bitlbee-mastodon/pkg-descr b/irc/bitlbee-mastodon/pkg-descr
new file mode 100644
index 000000000000..67591b2a0b11
--- /dev/null
+++ b/irc/bitlbee-mastodon/pkg-descr
@@ -0,0 +1,8 @@
+This plugin allows Bitlbee to communicate with Mastodon instances. Mastodon is
+a free, open-source, decentralized microblogging network. Bitlbee is an IRC
+server connecting to various other text messaging services. You run Bitlbee and
+connect to it using an IRC client, then configure Bitlbee to connect to other
+services, such as a Mastodon instance where you already have an account. The
+benefit is that you can now use any IRC client you want to connect to Mastodon.
+
+WWW: https://alexschroeder.ch/software/Bitlbee_Mastodon