| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.2 2022/12/20 08:58:20 vins Exp $ | | 1 | # $NetBSD: Makefile,v 1.3 2023/01/07 00:50:33 vins Exp $ |
2 | | | 2 | |
3 | DISTNAME= got-portable-0.79 | | 3 | DISTNAME= got-portable-0.79 |
4 | CATEGORIES= devel | | 4 | CATEGORIES= devel |
5 | MASTER_SITES= https://gameoftrees.org/releases/portable/ | | 5 | MASTER_SITES= https://gameoftrees.org/releases/portable/ |
6 | | | 6 | |
7 | MAINTAINER= vins@NetBSD.org | | 7 | MAINTAINER= vins@NetBSD.org |
8 | HOMEPAGE= https://gameoftrees.org/portable.html | | 8 | HOMEPAGE= https://gameoftrees.org/portable.html |
9 | COMMENT= Game of Trees version control system manipulating Git repo | | 9 | COMMENT= Game of Trees version control system manipulating Git repo |
10 | LICENSE= isc | | 10 | LICENSE= isc |
11 | | | 11 | |
12 | CONFLICTS+= got-[0-9]* | | 12 | CONFLICTS+= got-[0-9]* |
13 | | | 13 | |
14 | ONLY_FOR_PLATFORM+= NetBSD-*-* | | 14 | ONLY_FOR_PLATFORM+= NetBSD-*-* |
| @@ -16,32 +16,33 @@ ONLY_FOR_PLATFORM+= Darwin-*-* | | | @@ -16,32 +16,33 @@ ONLY_FOR_PLATFORM+= Darwin-*-* |
16 | ONLY_FOR_PLATFORM+= Linux-*-* | | 16 | ONLY_FOR_PLATFORM+= Linux-*-* |
17 | ONLY_FOR_PLATFORM+= FreeBSD-*-* | | 17 | ONLY_FOR_PLATFORM+= FreeBSD-*-* |
18 | ONLY_FOR_PLATFORM+= DragonFly-*-* | | 18 | ONLY_FOR_PLATFORM+= DragonFly-*-* |
19 | | | 19 | |
20 | USE_TOOLS+= yacc pkg-config | | 20 | USE_TOOLS+= yacc pkg-config |
21 | GNU_CONFIGURE= yes | | 21 | GNU_CONFIGURE= yes |
22 | | | 22 | |
23 | INSTALLATION_DIRS= bin libexec | | 23 | INSTALLATION_DIRS= bin libexec |
24 | INSTALLATION_DIRS+= ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 | | 24 | INSTALLATION_DIRS+= ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 |
25 | | | 25 | |
26 | .include "../../mk/bsd.prefs.mk" | | 26 | .include "../../mk/bsd.prefs.mk" |
27 | | | 27 | |
28 | .if ${OPSYS} == "Linux" | | 28 | .if ${OPSYS} == "Linux" |
| | | 29 | USE_TOOLS+= bison |
29 | # compatibility macros and functions for Linux. | | 30 | # compatibility macros and functions for Linux. |
30 | . include "../../devel/libbsd/buildlink3.mk" | | 31 | . include "../../devel/libbsd/buildlink3.mk" |
31 | .endif | | 32 | .endif |
32 | | | 33 | |
33 | .if ${OPSYS} == "Darwin" | | 34 | .if ${OPSYS} == "Darwin" |
34 | CONFIGURE_ENV+= HB_PREFIX=${PREFIX} | | 35 | USE_TOOLS+= bison |
35 | # define uuid library to use | | 36 | # define uuid library to use |
36 | . include "../../devel/ossp-uuid/buildlink3.mk" | | 37 | . include "../../devel/ossp-uuid/buildlink3.mk" |
37 | .else | | 38 | .else |
38 | . include "../../devel/libuuid/buildlink3.mk" | | 39 | . include "../../devel/libuuid/buildlink3.mk" |
39 | .endif | | 40 | .endif |
40 | | | 41 | |
41 | # need libcrypto.so.1.1 | | 42 | # need libcrypto.so.1.1 |
42 | BUILDLINK_API_DEPENDS.openssl+= openssl>=1.1.1d | | 43 | BUILDLINK_API_DEPENDS.openssl+= openssl>=1.1.1d |
43 | .include "../../security/openssl/buildlink3.mk" | | 44 | .include "../../security/openssl/buildlink3.mk" |
44 | | | 45 | |
45 | # required for set_panel_userptr(3) and waddwstr(3). | | 46 | # required for set_panel_userptr(3) and waddwstr(3). |
46 | .include "../../devel/ncursesw/buildlink3.mk" | | 47 | .include "../../devel/ncursesw/buildlink3.mk" |
47 | | | 48 | |