summaryrefslogtreecommitdiff
path: root/wm/trayer/Makefile
blob: 9f5ef57b21fc12565b0cc4bd3b4121ecb6bd2cbe (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
# $NetBSD: Makefile,v 1.17 2021/12/08 16:06:52 adam Exp $

DISTNAME=	trayer-1.1.8
PKGREVISION=	2
CATEGORIES=	wm x11
MASTER_SITES=	${MASTER_SITE_GITHUB:=sargon/}
GITHUB_PROJECT=	trayer-srg
GITHUB_TAG=	${PKGNAME_NOREV}

MAINTAINER=	cheusov@NetBSD.org
HOMEPAGE=	https://github.com/sargon/trayer-srg
COMMENT=	Lightweight GTK2-based systray for UNIX desktop
LICENSE=	mit

USE_TOOLS+=	gmake pkg-config bash

HAS_CONFIGURE=	yes

MAKE_FLAGS=	CFLAGS=${CFLAGS:Q}

AUTO_MKDIRS=	yes

CONFIG_SHELL=	bash

CONFIGURE_ARGS+=	--prefix=${PREFIX}

post-install:
	${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/trayer/

.include "../../x11/gtk2/buildlink3.mk"
.include "../../graphics/gdk-pixbuf2-xlib/buildlink3.mk"
.include "../../x11/libXmu/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"