aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libayatana-indicator/Makefile
blob: 7938f06f528e635dfdcae80ba7b8d4c39deb6cbb (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
34
35
36
37
38
39
40
PORTNAME=	libayatana-indicator
PORTVERSION=	0.9.4
PORTREVISION=	2
CATEGORIES=	devel

MAINTAINER=	jgh@FreeBSD.org
COMMENT=	Ayatana Indicators Shared Library
WWW=		https://github.com/AyatanaIndicators/libayatana-indicator

LICENSE=	GPLv3

LIB_DEPENDS=	libayatana-ido3-0.4.so:devel/ayatana-ido \
		libgtest.so:devel/googletest \
		libharfbuzz.so:print/harfbuzz
BUILD_DEPENDS=	lcov>=0:devel/lcov

USES=		cmake gnome localbase:ldflags pkgconfig vala:build

USE_GNOME=	atk cairo gdkpixbuf glib20 gtk30 introspection pango

USE_LDCONFIG=	yes
LDFLAGS+=	-pthread

USE_GITHUB=	yes
GH_ACCOUNT=	AyatanaIndicators

PORTDOCS=	AUTHORS COPYING ChangeLog NEWS README.md
OPTIONS_DEFINE=	DOCS

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libayatana-indicator3.so*
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/libayatana-indicator/ayatana-indicator-loader3

post-install-DOCS-on:
	${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>