pkgsrc/x11/tint2/Makefile
2018-11-14 22:20:58 +00:00

42 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.46 2018/11/14 22:22:50 kleink Exp $
DISTNAME= tint2-0.14.6
PKGREVISION= 4
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_GITHUB:=o9000/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= fernandotcl@gmail.com
HOMEPAGE= https://gitlab.com/o9000/tint2
COMMENT= Tint2 is a simple panel/taskbar
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/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/py-gtk2/buildlink3.mk"
.include "../../x11/startup-notification/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"