05ea87ef5d
Too many changes to list here, because our pkgsrc version was really old! please take a look at the NEWS/ChangeLog file. Another change: Georg Schwarz reported in PR pkg/26671 that nano requires glib to build in his system (IRIX 5.3) and I know what's happening there... nano.h checks for the functions snprintf()/vsnprint(), if they aren't available, the glib functions are used instead, so put the glib dependency if MACHINE_PLATFORM = IRIX 5.3 and closing PR. No idea about IRIX 6.x, sorry.
32 lines
898 B
Makefile
32 lines
898 B
Makefile
# $NetBSD: Makefile,v 1.22 2004/10/21 03:39:04 xtraeme Exp $
|
|
|
|
DISTNAME= nano-1.2.4
|
|
CATEGORIES= editors
|
|
MASTER_SITES= http://www.nano-editor.org/dist/v1.2/
|
|
|
|
MAINTAINER= shell@NetBSD.org
|
|
HOMEPAGE= http://www.nano-editor.org/
|
|
COMMENT= Small and friendly text editor (a free replacement for Pico)
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_BUILDLINK3= yes
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
INFO_FILES= nano.info
|
|
|
|
CONFIGURE_ARGS+= --enable-color
|
|
CONFIGURE_ARGS+= --enable-multibuffer
|
|
CONFIGURE_ARGS+= --enable-nanorc
|
|
CONFIGURE_ARGS+= --enable-extra
|
|
|
|
# Looks like that IRIX 5.x lacks snprintf()/vsnprintf() functions,
|
|
# which are required to make this work, so glib is used instead.
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if !empty(MACHINE_PLATFORM:MIRIX-5*)
|
|
. include "../../devel/glib/buildlink3.mk"
|
|
.endif
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../devel/ncurses/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|