From 05ea87ef5d2fb92c6fc97aac77151c01fbc7e5a4 Mon Sep 17 00:00:00 2001 From: xtraeme Date: Thu, 21 Oct 2004 03:39:04 +0000 Subject: Update editors/nano to 1.2.4. 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. --- editors/nano/Makefile | 20 ++++++++++++++++---- editors/nano/PLIST | 9 ++++++++- editors/nano/distinfo | 7 +++---- editors/nano/patches/patch-aa | 12 ------------ 4 files changed, 27 insertions(+), 21 deletions(-) delete mode 100644 editors/nano/patches/patch-aa (limited to 'editors') diff --git a/editors/nano/Makefile b/editors/nano/Makefile index 508869ed293..b6832cfb715 100644 --- a/editors/nano/Makefile +++ b/editors/nano/Makefile @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.21 2004/10/03 00:14:39 tv Exp $ +# $NetBSD: Makefile,v 1.22 2004/10/21 03:39:04 xtraeme Exp $ -DISTNAME= nano-1.0.9 -PKGREVISION= 3 +DISTNAME= nano-1.2.4 CATEGORIES= editors -MASTER_SITES= ${MASTER_SITE_GNU:=nano/} +MASTER_SITES= http://www.nano-editor.org/dist/v1.2/ MAINTAINER= shell@NetBSD.org HOMEPAGE= http://www.nano-editor.org/ @@ -15,6 +14,19 @@ 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" diff --git a/editors/nano/PLIST b/editors/nano/PLIST index f44b601ab06..a4947fd0be0 100644 --- a/editors/nano/PLIST +++ b/editors/nano/PLIST @@ -1,21 +1,28 @@ -@comment $NetBSD: PLIST,v 1.8 2004/02/12 14:36:50 minskim Exp $ +@comment $NetBSD: PLIST,v 1.9 2004/10/21 03:39:04 xtraeme Exp $ bin/nano man/man1/nano.1 +man/man5/nanorc.5 ${PKGLOCALEDIR}/locale/ca/LC_MESSAGES/nano.mo ${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/nano.mo ${PKGLOCALEDIR}/locale/da/LC_MESSAGES/nano.mo ${PKGLOCALEDIR}/locale/de/LC_MESSAGES/nano.mo ${PKGLOCALEDIR}/locale/es/LC_MESSAGES/nano.mo +${PKGLOCALEDIR}/locale/eu/LC_MESSAGES/nano.mo ${PKGLOCALEDIR}/locale/fi/LC_MESSAGES/nano.mo ${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/nano.mo ${PKGLOCALEDIR}/locale/gl/LC_MESSAGES/nano.mo ${PKGLOCALEDIR}/locale/hu/LC_MESSAGES/nano.mo ${PKGLOCALEDIR}/locale/id/LC_MESSAGES/nano.mo ${PKGLOCALEDIR}/locale/it/LC_MESSAGES/nano.mo +${PKGLOCALEDIR}/locale/ms/LC_MESSAGES/nano.mo ${PKGLOCALEDIR}/locale/nb/LC_MESSAGES/nano.mo ${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/nano.mo ${PKGLOCALEDIR}/locale/nn/LC_MESSAGES/nano.mo ${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/nano.mo +${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/nano.mo +${PKGLOCALEDIR}/locale/ro/LC_MESSAGES/nano.mo ${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/nano.mo +${PKGLOCALEDIR}/locale/sr/LC_MESSAGES/nano.mo ${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/nano.mo +${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/nano.mo ${PKGLOCALEDIR}/locale/uk/LC_MESSAGES/nano.mo diff --git a/editors/nano/distinfo b/editors/nano/distinfo index 5e5cf8d168c..778c41ac89d 100644 --- a/editors/nano/distinfo +++ b/editors/nano/distinfo @@ -1,5 +1,4 @@ -$NetBSD: distinfo,v 1.8 2004/04/22 17:14:37 tv Exp $ +$NetBSD: distinfo,v 1.9 2004/10/21 03:39:04 xtraeme Exp $ -SHA1 (nano-1.0.9.tar.gz) = 750cb7a22b0ffa490714420a7ab18259e9310543 -Size (nano-1.0.9.tar.gz) = 451822 bytes -SHA1 (patch-aa) = bf1d59fe2711f9d1e8aec55bd707dcf5594c1132 +SHA1 (nano-1.2.4.tar.gz) = 03a321011c2ceb00da20e15b15ed9ee9dee98c97 +Size (nano-1.2.4.tar.gz) = 914302 bytes diff --git a/editors/nano/patches/patch-aa b/editors/nano/patches/patch-aa deleted file mode 100644 index ae76e34076f..00000000000 --- a/editors/nano/patches/patch-aa +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-aa,v 1.4 2004/05/07 12:06:47 cjep Exp $ ---- configure.orig Wed Apr 21 13:47:39 2004 -+++ configure Wed Apr 21 13:47:59 2004 -@@ -3704,7 +3704,7 @@ - else - echo "$ac_t""no" 1>&6 - fi -- if test "$MSGFMT" != "no"; then -+ if true; then - for ac_func in dcgettext - do - echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -- cgit v1.2.3