| @@ -1,35 +1,33 @@ | | | @@ -1,35 +1,33 @@ |
1 | # $NetBSD: Makefile,v 1.96 2021/04/23 17:05:26 thor Exp $ | | 1 | # $NetBSD: Makefile,v 1.97 2021/04/23 18:18:02 nia Exp $ |
2 | | | 2 | |
3 | DISTNAME= nano-5.6.1 | | 3 | DISTNAME= nano-5.6.1 |
4 | CATEGORIES= editors | | 4 | CATEGORIES= editors |
5 | MASTER_SITES= https://www.nano-editor.org/dist/v${PKGVERSION_NOREV:C/\..*$//}/ | | 5 | MASTER_SITES= https://www.nano-editor.org/dist/v${PKGVERSION_NOREV:C/\..*$//}/ |
6 | EXTRACT_SUFX= .tar.xz | | 6 | EXTRACT_SUFX= .tar.xz |
7 | | | 7 | |
8 | MAINTAINER= wiedi@frubar.net | | 8 | MAINTAINER= wiedi@frubar.net |
9 | HOMEPAGE= https://www.nano-editor.org/ | | 9 | HOMEPAGE= https://www.nano-editor.org/ |
10 | COMMENT= Small and friendly text editor (a free replacement for Pico) | | 10 | COMMENT= Small and friendly text editor (a free replacement for Pico) |
11 | LICENSE= gnu-gpl-v3 | | 11 | LICENSE= gnu-gpl-v3 |
12 | | | 12 | |
13 | USE_PKGLOCALEDIR= yes | | 13 | USE_PKGLOCALEDIR= yes |
14 | USE_TOOLS+= msgfmt msgmerge xgettext gmake | | 14 | USE_TOOLS+= msgfmt msgmerge xgettext gmake |
| | | 15 | USE_TOOLS+= pkg-config |
15 | GNU_CONFIGURE= yes | | 16 | GNU_CONFIGURE= yes |
16 | CONFIGURE_ARGS+= --enable-color | | 17 | CONFIGURE_ARGS+= --enable-color |
17 | CONFIGURE_ARGS+= --enable-multibuffer | | 18 | CONFIGURE_ARGS+= --enable-multibuffer |
18 | CONFIGURE_ARGS+= --enable-nanorc | | 19 | CONFIGURE_ARGS+= --enable-nanorc |
19 | CONFIGURE_ARGS+= --enable-extra | | 20 | CONFIGURE_ARGS+= --enable-extra |
20 | # Help it find our preferrend ncursesw using pkg-config instead | | | |
21 | # of resorting to outdated ncursesw5-config in host system on SLES 11. | | | |
22 | CONFIGURE_ARGS+= PKG_CONFIG=pkg-config | | | |
23 | | | 21 | |
24 | INFO_FILES= yes | | 22 | INFO_FILES= yes |
25 | | | 23 | |
26 | # Looks like that IRIX 5.x lacks vsnprintf() functions, | | 24 | # Looks like that IRIX 5.x lacks vsnprintf() functions, |
27 | # which are required to make this work, so glib2 is used instead. | | 25 | # which are required to make this work, so glib2 is used instead. |
28 | .include "../../mk/bsd.prefs.mk" | | 26 | .include "../../mk/bsd.prefs.mk" |
29 | | | 27 | |
30 | .if !empty(MACHINE_PLATFORM:MIRIX-5*) | | 28 | .if !empty(MACHINE_PLATFORM:MIRIX-5*) |
31 | . include "../../devel/glib2/buildlink3.mk" | | 29 | . include "../../devel/glib2/buildlink3.mk" |
32 | .endif | | 30 | .endif |
33 | | | 31 | |
34 | .include "options.mk" | | 32 | .include "options.mk" |
35 | | | 33 | |