| @@ -1,49 +1,48 @@ | | | @@ -1,49 +1,48 @@ |
1 | # $NetBSD: Makefile,v 1.50 2021/04/19 13:51:17 pgoyette Exp $ | | 1 | # $NetBSD: Makefile,v 1.51 2021/04/20 00:48:02 gutteridge Exp $ |
2 | | | 2 | |
3 | DISTNAME= hexchat-2.14.3 | | 3 | DISTNAME= hexchat-2.14.3 |
4 | PKGREVISION= 7 | | 4 | PKGREVISION= 7 |
5 | CATEGORIES= chat | | 5 | CATEGORIES= chat |
6 | MASTER_SITES= https://dl.hexchat.net/hexchat/ | | 6 | MASTER_SITES= https://dl.hexchat.net/hexchat/ |
7 | EXTRACT_SUFX= .tar.xz | | 7 | EXTRACT_SUFX= .tar.xz |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= https://hexchat.github.io/ | | 10 | HOMEPAGE= https://hexchat.github.io/ |
11 | COMMENT= IRC client based on XChat | | 11 | COMMENT= IRC client based on XChat |
12 | LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1 AND mit | | 12 | LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1 AND mit |
13 | | | 13 | |
14 | USE_TOOLS+= pkg-config msgfmt xgettext | | 14 | USE_TOOLS+= pkg-config msgfmt xgettext |
15 | | | 15 | |
16 | PYTHON_FOR_BUILD_ONLY= tool | | | |
17 | .include "../../lang/python/tool.mk" | | | |
18 | | | | |
19 | USE_LANGUAGES= c c++ | | 16 | USE_LANGUAGES= c c++ |
20 | | | 17 | |
21 | # XXX fails without GNU msgfmt | | 18 | # XXX fails without GNU msgfmt |
22 | _TOOLS_USE_PKGSRC.msgfmt= yes | | 19 | _TOOLS_USE_PKGSRC.msgfmt= yes |
23 | | | 20 | |
24 | MESON_ARGS+= -Dwith-text=true | | 21 | MESON_ARGS+= -Dwith-text=true |
25 | MESON_ARGS+= -Dwith-appdata=false | | 22 | MESON_ARGS+= -Dwith-appdata=false |
26 | | | 23 | |
27 | REPLACE_PYTHON+= plugins/perl/generate_header.py | | 24 | REPLACE_PYTHON+= plugins/perl/generate_header.py |
28 | REPLACE_PYTHON+= src/common/make-te.py | | 25 | REPLACE_PYTHON+= src/common/make-te.py |
29 | | | 26 | |
30 | OPSYSVARS+= SOEXT | | 27 | OPSYSVARS+= SOEXT |
31 | SOEXT.Darwin= dylib | | 28 | SOEXT.Darwin= dylib |
32 | SOEXT.*= so | | 29 | SOEXT.*= so |
33 | PLIST_SUBST+= SOEXT=${SOEXT} | | 30 | PLIST_SUBST+= SOEXT=${SOEXT} |
34 | | | 31 | |
35 | LDFLAGS.SunOS+= -lsocket -lnsl | | 32 | LDFLAGS.SunOS+= -lsocket -lnsl |
36 | | | 33 | |
37 | PKGCONFIG_OVERRIDE+= data/pkgconfig/hexchat-plugin.pc.in | | 34 | PKGCONFIG_OVERRIDE+= data/pkgconfig/hexchat-plugin.pc.in |
38 | | | 35 | |
39 | .include "options.mk" | | 36 | .include "options.mk" |
40 | .include "../../devel/meson/build.mk" | | 37 | .include "../../devel/meson/build.mk" |
41 | .include "../../converters/libiconv/buildlink3.mk" | | 38 | .include "../../converters/libiconv/buildlink3.mk" |
42 | .include "../../devel/glib2/buildlink3.mk" | | 39 | .include "../../devel/glib2/buildlink3.mk" |
43 | .include "../../devel/pango/buildlink3.mk" | | 40 | .include "../../devel/pango/buildlink3.mk" |
44 | .include "../../lang/python/pyversion.mk" | | 41 | # Whether Python is required strictly as a build tool or also at runtime is |
| | | 42 | # determined in options.mk, and PYTHON_FOR_BUILD_ONLY is set there, if needed. |
| | | 43 | .include "../../lang/python/tool.mk" |
45 | .include "../../textproc/iso-codes/buildlink3.mk" | | 44 | .include "../../textproc/iso-codes/buildlink3.mk" |
46 | .include "../../textproc/libxml2/buildlink3.mk" | | 45 | .include "../../textproc/libxml2/buildlink3.mk" |
47 | .include "../../mk/dlopen.buildlink3.mk" | | 46 | .include "../../mk/dlopen.buildlink3.mk" |
48 | .include "../../mk/pthread.buildlink3.mk" | | 47 | .include "../../mk/pthread.buildlink3.mk" |
49 | .include "../../mk/bsd.pkg.mk" | | 48 | .include "../../mk/bsd.pkg.mk" |