summaryrefslogtreecommitdiff
path: root/chat/srain/Makefile
blob: fdd2944fac0f9c9842feab9143b53e7618f51d03 (plain)
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
34
35
36
37
38
39
40
41
42
43
# $NetBSD: Makefile,v 1.4 2020/05/26 11:11:39 nia Exp $

DISTNAME=	srain-1.1.0
CATEGORIES=	chat
MASTER_SITES=	${MASTER_SITE_GITHUB:=SrainApp/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://srain.im/
COMMENT=	Modern IRC client written in GTK
LICENSE=	gnu-gpl-v3

HAS_CONFIGURE=	yes

USE_TOOLS+=	pkg-config gmake
USE_TOOLS+=	msgfmt msgmerge xgettext

CONFIGURE_ARGS+=	--prefix=${PREFIX}
CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+=	--disable-debug

BUILD_TARGET=	default

MAKE_FLAGS+=	MAKE=${GMAKE:Q}
MAKE_FLAGS+=	INSTALL=${INSTALL:Q}

AUTO_MKDIRS=	yes

OWN_DIRS+=	${PKG_SYSCONFDIR}/srain

CONF_FILES+=	share/examples/srain/builtin.cfg \
		${PKG_SYSCONFDIR}/srain/builtin.cfg

# XXX xgettext: unknown option -- package-name=Srain
_TOOLS_USE_PKGSRC.xgettext=	yes

.include "../../devel/libconfig/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../net/libsoup/buildlink3.mk"
.include "../../security/libsecret/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../x11/gtk3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"