blob: 165606c8b6618a102ceb28fc64273306afe38499 (
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
42
43
|
# $NetBSD: Makefile,v 1.51 2020/03/10 22:11:21 wiz Exp $
DISTNAME= tint2-v16.7
PKGNAME= ${DISTNAME:S/-v/-/}
PKGREVISION= 2
CATEGORIES= x11
MASTER_SITES= https://gitlab.com/o9000/tint2/-/archive/v${PKGVERSION_NOREV}/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= fernandotcl@gmail.com
HOMEPAGE= https://gitlab.com/o9000/tint2
COMMENT= Lightweight panel/taskbar for Linux and BSD
LICENSE= gnu-gpl-v2
USE_LANGUAGES= c c++ # XXX CMake. pkg does not really need c++
USE_CMAKE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
INSTALLATION_DIRS= share/examples/tint2
OWN_DIRS= ${PKG_SYSCONFDIR}/xdg/tint2
CONF_FILES= ${PREFIX}/share/examples/tint2/tint2rc \
${PKG_SYSCONFDIR}/xdg/tint2/tint2rc
CMAKE_ARGS.Linux= -DENABLE_BATTERY=ON
CMAKE_ARGS.*= -DENABLE_BATTERY=OFF
post-install:
${INSTALL_DATA} ${WRKSRC}/themes/tint2rc \
${DESTDIR}${PREFIX}/share/examples/tint2
.include "../../devel/cmake/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../graphics/imlib2/buildlink3.mk"
.include "../../graphics/librsvg/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/libXcomposite/buildlink3.mk"
.include "../../x11/libXdamage/buildlink3.mk"
.include "../../x11/libXinerama/buildlink3.mk"
.include "../../x11/libXrandr/buildlink3.mk"
.include "../../x11/startup-notification/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|