2017-07-28 10:42:17 +02:00
|
|
|
# $NetBSD: Makefile,v 1.42 2017/07/28 08:42:17 tnn Exp $
|
2009-12-14 01:47:23 +01:00
|
|
|
|
2017-07-28 10:42:17 +02:00
|
|
|
DISTNAME= tint2-0.14.6
|
2009-12-14 01:47:23 +01:00
|
|
|
CATEGORIES= x11
|
2017-07-28 10:42:17 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=o9000/}
|
|
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
2009-12-14 01:47:23 +01:00
|
|
|
|
|
|
|
MAINTAINER= fernandotcl@gmail.com
|
2017-07-28 10:42:17 +02:00
|
|
|
HOMEPAGE= https://gitlab.com/o9000/tint2
|
2009-12-14 01:47:23 +01:00
|
|
|
COMMENT= Tint2 is a simple panel/taskbar
|
|
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
|
2010-07-05 10:06:15 +02:00
|
|
|
USE_LANGUAGES= c c++ # XXX CMake. pkg does not really need c++
|
2017-07-28 10:42:17 +02:00
|
|
|
USE_CMAKE= yes
|
2009-12-14 01:47:23 +01:00
|
|
|
USE_LIBTOOL= yes
|
2017-07-28 10:42:17 +02:00
|
|
|
USE_TOOLS+= pkg-config
|
2009-12-14 01:47:23 +01:00
|
|
|
|
2010-04-11 23:43:57 +02:00
|
|
|
INSTALLATION_DIRS= share/examples/tint2
|
2010-07-05 10:06:15 +02:00
|
|
|
OWN_DIRS= ${PKG_SYSCONFDIR}/xdg/tint2
|
2009-12-14 01:47:23 +01:00
|
|
|
CONF_FILES= ${PREFIX}/share/examples/tint2/tint2rc \
|
2014-01-25 11:29:56 +01:00
|
|
|
${PKG_SYSCONFDIR}/xdg/tint2/tint2rc
|
2010-07-05 10:06:15 +02:00
|
|
|
|
2017-07-28 10:42:17 +02:00
|
|
|
CMAKE_ARGS.Linux= -DENABLE_BATTERY=ON
|
|
|
|
CMAKE_ARGS.*= -DENABLE_BATTERY=OFF
|
2010-07-05 10:06:15 +02:00
|
|
|
|
2009-12-14 01:47:23 +01:00
|
|
|
post-install:
|
2017-07-28 10:42:17 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/themes/tint2rc \
|
2009-12-14 01:47:23 +01:00
|
|
|
${DESTDIR}${PREFIX}/share/examples/tint2
|
|
|
|
|
2010-07-05 10:06:15 +02:00
|
|
|
.include "../../devel/cmake/buildlink3.mk"
|
2009-12-14 01:47:23 +01:00
|
|
|
.include "../../graphics/imlib2/buildlink3.mk"
|
2017-07-28 10:42:17 +02:00
|
|
|
.include "../../graphics/librsvg/buildlink3.mk"
|
2010-07-05 10:06:15 +02:00
|
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
|
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
2010-05-07 22:53:45 +02:00
|
|
|
.include "../../x11/libXcomposite/buildlink3.mk"
|
|
|
|
.include "../../x11/libXdamage/buildlink3.mk"
|
2009-12-14 01:47:23 +01:00
|
|
|
.include "../../x11/libXinerama/buildlink3.mk"
|
|
|
|
.include "../../x11/libXrandr/buildlink3.mk"
|
2010-07-05 10:06:15 +02:00
|
|
|
.include "../../x11/py-gtk2/buildlink3.mk"
|
2017-07-28 10:42:17 +02:00
|
|
|
.include "../../x11/startup-notification/buildlink3.mk"
|
2009-12-14 01:47:23 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|