summaryrefslogtreecommitdiff
path: root/x11/gromit-mpx/Makefile
blob: d69eaee401a83be6ce635055971eca9889a4f107 (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

PORTNAME=	gromit-mpx
DISTVERSION=	1.4
CATEGORIES=	x11

MAINTAINER=	jbeich@FreeBSD.org
COMMENT=	Desktop annotation tool, multi-pointer port of Gromit

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libappindicator3.so:devel/libappindicator

USES=		cmake gnome pkgconfig xorg
USE_CSTD=	gnu99
USE_GITHUB=	yes
USE_GNOME=	cairo gdkpixbuf2 gtk30
USE_XORG=	x11 xi
GH_ACCOUNT=	bk138
LDFLAGS+=	-Wl,--as-needed # atk, dbusmenu, pango

post-patch:
# Let @sample handle default files under etc/
	@${REINPLACE_CMD} -e '/data.*cfg/s/)/ RENAME ${PORTNAME}.cfg.sample)/' \
		${WRKSRC}/CMakeLists.txt

.include <bsd.port.mk>