| @@ -1,34 +1,37 @@ | | | @@ -1,34 +1,37 @@ |
1 | # $NetBSD: Makefile,v 1.7 2019/03/01 17:11:23 youri Exp $ | | 1 | # $NetBSD: Makefile,v 1.8 2019/03/29 07:27:49 pho Exp $ |
2 | | | 2 | |
3 | DISTNAME= compton-5.1 | | 3 | DISTNAME= compton-5.1 |
4 | CATEGORIES= x11 wm | | 4 | CATEGORIES= x11 wm |
5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=yshui/} | | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=yshui/} |
6 | GITHUB_TAG= v5.1 | | 6 | GITHUB_TAG= v5.1 |
7 | | | 7 | |
8 | MAINTAINER= nia@NetBSD.org | | 8 | MAINTAINER= nia@NetBSD.org |
9 | HOMEPAGE= https://github.com/yshui/compton | | 9 | HOMEPAGE= https://github.com/yshui/compton |
10 | COMMENT= Configurable compositing manager for X11 | | 10 | COMMENT= Configurable compositing manager for X11 |
11 | LICENSE= mit AND mpl-2.0 | | 11 | LICENSE= mit AND mpl-2.0 |
12 | | | 12 | |
13 | BUILD_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc | | 13 | BUILD_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc |
14 | | | 14 | |
15 | REPLACE_PYTHON= bin/compton-convgen.py | | 15 | REPLACE_PYTHON= bin/compton-convgen.py |
16 | EXTRACT_USING= bsdtar | | 16 | EXTRACT_USING= bsdtar |
17 | USE_TOOLS+= gmake pkg-config | | 17 | USE_TOOLS+= gmake pkg-config |
18 | BUILD_TARGET= compton docs | | 18 | BUILD_TARGET= compton docs |
19 | MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}/man1 | | 19 | MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}/man1 |
20 | MAKE_FLAGS+= COMPTON_VERSION=${PKGVERSION} | | 20 | MAKE_FLAGS+= COMPTON_VERSION=${PKGVERSION} |
21 | | | 21 | |
| | | 22 | # compton uses __auto_type which is only available as of GCC 4.9. |
| | | 23 | GCC_REQD+= 4.9 |
| | | 24 | |
22 | INSTALLATION_DIRS+= share/examples/compton | | 25 | INSTALLATION_DIRS+= share/examples/compton |
23 | | | 26 | |
24 | post-install: | | 27 | post-install: |
25 | ${INSTALL_DATA} ${WRKSRC}/compton.sample.conf \ | | 28 | ${INSTALL_DATA} ${WRKSRC}/compton.sample.conf \ |
26 | ${DESTDIR}${PREFIX}/share/examples/compton | | 29 | ${DESTDIR}${PREFIX}/share/examples/compton |
27 | | | 30 | |
28 | .include "options.mk" | | 31 | .include "options.mk" |
29 | .include "../../devel/py-meson/build.mk" | | 32 | .include "../../devel/py-meson/build.mk" |
30 | .include "../../devel/libconfig/buildlink3.mk" | | 33 | .include "../../devel/libconfig/buildlink3.mk" |
31 | .include "../../devel/libev/buildlink3.mk" | | 34 | .include "../../devel/libev/buildlink3.mk" |
32 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | | 35 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" |
33 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | | 36 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" |
34 | .include "../../x11/libxcb/buildlink3.mk" | | 37 | .include "../../x11/libxcb/buildlink3.mk" |