summaryrefslogtreecommitdiff
path: root/irc/srain/Makefile
blob: fb9321d52c5b35ff9842c8235f2593ce54d29116 (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

PORTNAME=	srain
DISTVERSION=	1.1.0
CATEGORIES=	irc

MAINTAINER=	ashish@FreeBSD.org
COMMENT=	Modern IRC client written in GTK

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libconfig.so:devel/libconfig \
		libsecret-1.so:security/libsecret \
		libsoup-2.4.so:devel/libsoup

USES=		compiler:c11 gettext-tools gmake gnome pkgconfig ssl
USE_GNOME=	cairo gdkpixbuf2 glib20 gtk30 pango

USE_GITHUB=		yes
GH_ACCOUNT=		SrainApp
GNU_CONFIGURE=		yes
MAKE_FLAGS+=		MAKE_PROGRAM=${MAKE_CMD}
CONFIGURE_ARGS+=	--disable-debug
ALL_TARGET=		default
INSTALLS_ICONS=		yes

post-patch:
	${REINPLACE_CMD} -e '/^MAKE =/s/make/${MAKE_CMD}/' \
		${WRKSRC}/Makefile.in

pre-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME} \
		${STAGEDIR}${DATADIR}/themes \
		${STAGEDIR}${PREFIX}/share/metainfo \
		${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps

.include <bsd.port.mk>