summaryrefslogtreecommitdiff
path: root/chat/centerim5/Makefile
blob: f2534b4bb9728e0cb84d1569c9408e7c4948d6ac (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
# $NetBSD: Makefile,v 1.3 2019/04/25 07:32:38 maya Exp $

DISTNAME=	centerim5-5.0.1
PKGREVISION=	1
CATEGORIES=	chat
MASTER_SITES=	http://www.centerim.org/download/cim5/

MAINTAINER=	nia@NetBSD.org
HOMEPAGE=	http://centerim.org/
COMMENT=	Text-mode multi-protocol instant messaging client using libpurple
LICENSE=	gnu-gpl-v2

USE_TOOLS+=	aclocal autoconf autoheader automake autopoint
USE_TOOLS+=	pkg-config gettext msgfmt msgmerge xgettext
USE_LANGUAGES=	c c++

HAS_CONFIGURE=		yes
GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--prefix=${PREFIX}

USE_LIBTOOL=	yes

PYTHON_VERSIONS_INCOMPATIBLE=	27 34

SUBST_CLASSES+=		equals
SUBST_STAGE.equals=	pre-configure
SUBST_MESSAGE.equals=	Use portable = instead of ==.
SUBST_FILES.equals+=	configure.ac
SUBST_SED.equals=	-e 's,== True,= True,g'

pre-configure:
	cd ${WRKSRC} && ./bootstrap

.include "../../lang/python/application.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/libidn/buildlink3.mk"
.include "../../devel/libsigc++/buildlink3.mk"
.include "../../devel/ncursesw/buildlink3.mk"
.include "../../chat/libpurple/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"