| @@ -1,39 +1,42 @@ | | | @@ -1,39 +1,42 @@ |
1 | # $NetBSD: Makefile,v 1.60 2022/03/11 21:33:34 tnn Exp $ | | 1 | # $NetBSD: Makefile,v 1.61 2022/04/12 13:47:10 tnn Exp $ |
2 | | | 2 | |
3 | DISTNAME= tint2-v17.0.2 | | 3 | DISTNAME= tint2-v17.0.2 |
4 | PKGNAME= ${DISTNAME:S/-v/-/} | | 4 | PKGNAME= ${DISTNAME:S/-v/-/} |
5 | CATEGORIES= x11 | | 5 | CATEGORIES= x11 |
6 | MASTER_SITES= https://gitlab.com/o9000/tint2/-/archive/v${PKGVERSION_NOREV}/ | | 6 | MASTER_SITES= https://gitlab.com/o9000/tint2/-/archive/v${PKGVERSION_NOREV}/ |
7 | EXTRACT_SUFX= .tar.bz2 | | 7 | EXTRACT_SUFX= .tar.bz2 |
8 | | | 8 | |
9 | MAINTAINER= fernandotcl@gmail.com | | 9 | MAINTAINER= fernandotcl@gmail.com |
10 | HOMEPAGE= https://gitlab.com/o9000/tint2 | | 10 | HOMEPAGE= https://gitlab.com/o9000/tint2 |
11 | COMMENT= Lightweight panel/taskbar for X11 | | 11 | COMMENT= Lightweight panel/taskbar for X11 |
12 | LICENSE= gnu-gpl-v2 | | 12 | LICENSE= gnu-gpl-v2 |
13 | | | 13 | |
14 | USE_LANGUAGES= c c++ # XXX CMake. pkg does not really need c++ | | 14 | USE_LANGUAGES= c c++ # XXX CMake. pkg does not really need c++ |
15 | USE_CMAKE= yes | | 15 | USE_CMAKE= yes |
16 | USE_LIBTOOL= yes | | 16 | USE_LIBTOOL= yes |
17 | USE_TOOLS+= msgfmt msgmerge pkg-config | | 17 | USE_TOOLS+= msgfmt msgmerge pkg-config |
18 | | | 18 | |
19 | INSTALLATION_DIRS= share/examples/tint2 | | 19 | INSTALLATION_DIRS= share/examples/tint2 |
20 | OWN_DIRS= ${PKG_SYSCONFDIR}/xdg/tint2 | | 20 | OWN_DIRS= ${PKG_SYSCONFDIR}/xdg/tint2 |
21 | CONF_FILES= ${PREFIX}/share/examples/tint2/tint2rc \ | | 21 | CONF_FILES= ${PREFIX}/share/examples/tint2/tint2rc \ |
22 | ${PKG_SYSCONFDIR}/xdg/tint2/tint2rc | | 22 | ${PKG_SYSCONFDIR}/xdg/tint2/tint2rc |
23 | | | 23 | |
24 | CMAKE_ARGS.Linux= -DENABLE_BATTERY=ON | | 24 | CMAKE_ARGS.Linux= -DENABLE_BATTERY=ON |
25 | CMAKE_ARGS.*= -DENABLE_BATTERY=OFF | | 25 | CMAKE_ARGS.*= -DENABLE_BATTERY=OFF |
26 | | | 26 | |
| | | 27 | CFLAGS.SunOS+= -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ |
| | | 28 | CFLAGS.SunOS+= -Du_int8_t=uint8_t -Du_int32_t=uint32_t -Du_int64_t=uint64_t |
| | | 29 | |
27 | post-install: | | 30 | post-install: |
28 | ${INSTALL_DATA} ${WRKSRC}/themes/tint2rc \ | | 31 | ${INSTALL_DATA} ${WRKSRC}/themes/tint2rc \ |
29 | ${DESTDIR}${PREFIX}/share/examples/tint2 | | 32 | ${DESTDIR}${PREFIX}/share/examples/tint2 |
30 | | | 33 | |
31 | .include "../../devel/cmake/buildlink3.mk" | | 34 | .include "../../devel/cmake/buildlink3.mk" |
32 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | | 35 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" |
33 | .include "../../graphics/imlib2/buildlink3.mk" | | 36 | .include "../../graphics/imlib2/buildlink3.mk" |
34 | .include "../../graphics/librsvg/buildlink3.mk" | | 37 | .include "../../graphics/librsvg/buildlink3.mk" |
35 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | | 38 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" |
36 | .include "../../x11/gtk3/buildlink3.mk" | | 39 | .include "../../x11/gtk3/buildlink3.mk" |
37 | .include "../../x11/libXcomposite/buildlink3.mk" | | 40 | .include "../../x11/libXcomposite/buildlink3.mk" |
38 | .include "../../x11/libXdamage/buildlink3.mk" | | 41 | .include "../../x11/libXdamage/buildlink3.mk" |
39 | .include "../../x11/libXinerama/buildlink3.mk" | | 42 | .include "../../x11/libXinerama/buildlink3.mk" |