aboutsummaryrefslogtreecommitdiff
path: root/irc/bitlbee-mastodon/Makefile
blob: 7d51dc9bc41b26b55218c4eef55f48d976d5d401 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

PORTNAME=	bitlbee-mastodon
DISTVERSIONPREFIX=	v
DISTVERSION=	1.4.4
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 \
		gsed:textproc/gsed
RUN_DEPENDS=	bitlbee>=3.5:irc/bitlbee

USES=		autoreconf gmake gnome libtool pkgconfig
USE_GNOME=	glib20
USE_GITHUB=	yes
GH_ACCOUNT=	kensanata

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-plugindir=${PREFIX}/lib/bitlbee
CONFIGURE_ENV=	ac_cv_path_SED=${LOCALBASE}/bin/gsed
INSTALL_TARGET=	install-strip

PLIST_FILES=	lib/bitlbee/mastodon.so \
		share/bitlbee/mastodon-help.txt

pre-configure:
	cd ${WRKSRC} && ${SH} autogen.sh

.include <bsd.port.mk>