Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

9
misc/lv/DESCR Normal file
View File

@@ -0,0 +1,9 @@
lv is a powerful multilingual file viewer. lv can decode and encode
multilingual streams through many coding systems, for example, ISO
2022 based coding systems such as iso-2022-jp, and Unicode streams
encoded in UTF-7 or UTF-8. lv can be used not only as a file viewer
but also as a coding-system translation filter.
lv can recognize multi-bytes patterns as regular expressions, and lv
also provides multilingual grep (1) functionality by giving it another
name, lgrep.

22
misc/lv/Makefile Normal file
View File

@@ -0,0 +1,22 @@
# $NetBSD: Makefile,v 1.19 2012/10/08 09:57:29 asau Exp $
DISTNAME= lv451
PKGNAME= lv-4.51
PKGREVISION= 1
CATEGORIES= misc
MASTER_SITES= http://www.ff.iij4u.or.jp/~nrt/freeware/
MAINTAINER= tech-pkg-ja@jp.NetBSD.org
HOMEPAGE= http://www.ff.iij4u.or.jp/~nrt/lv/
COMMENT= Powerful Multilingual File Viewer
LICENSE= gnu-gpl-v2
CONFIGURE_DIRS= build
GNU_CONFIGURE= yes
CONFIGURE_SCRIPT= ../src/configure
MAKE_ENV+= LN=${LN:Q}
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 lib/lv
.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

5
misc/lv/PLIST Normal file
View File

@@ -0,0 +1,5 @@
@comment $NetBSD: PLIST,v 1.3 2010/02/10 10:36:00 obache Exp $
bin/lgrep
bin/lv
lib/lv/lv.hlp
man/man1/lv.1

9
misc/lv/distinfo Normal file
View File

@@ -0,0 +1,9 @@
$NetBSD: distinfo,v 1.9 2010/02/10 10:43:28 obache Exp $
SHA1 (lv451.tar.gz) = 1a70299c27aa317a436976a557853858db4dcb5f
RMD160 (lv451.tar.gz) = ae0d58b52dbf714f8b371f51ac87490ecba1c994
Size (lv451.tar.gz) = 605082 bytes
SHA1 (patch-aa) = b27cccdc222d4d8369b4791c581ed217e908b2ed
SHA1 (patch-ab) = 7ddb94fa4e73bb3c75097f42d06079d717e97b24
SHA1 (patch-ac) = 860c891b0fff286435b526b57a2c696353f41764
SHA1 (patch-ad) = f0f0d76991f5585ecafa3af68f4472d82dc314da

27
misc/lv/patches/patch-aa Normal file
View File

@@ -0,0 +1,27 @@
$NetBSD: patch-aa,v 1.5 2010/02/10 10:43:28 obache Exp $
--- src/Makefile.in.orig 2004-01-06 07:22:17.000000000 +0000
+++ src/Makefile.in
@@ -64,18 +64,10 @@ depend::
#
install::
- $(INSTALL) -s -m 555 lv $(bindir)
- if test -f $(bindir)/lgrep; then \
- /bin/rm -f $(bindir)/lgrep; \
- fi
- (cd $(bindir); ln lv lgrep)
- if test ! -d $(lvlibdir); then \
- mkdir -p $(lvlibdir); \
- fi
- $(INSTALL) -m 444 $(srcdir)/../lv.hlp $(lvlibdir)
- if test -d $(mandir) -a -d $(mandir)/man1; then \
- $(INSTALL) -m 444 $(srcdir)/../lv.1 $(mandir)/man1; \
- fi
+ $(BSD_INSTALL_PROGRAM) lv $(DESTDIR)$(bindir)/lv
+ $(LN) -s lv $(DESTDIR)$(bindir)/lgrep
+ $(BSD_INSTALL_DATA) $(srcdir)/../lv.hlp $(DESTDIR)$(lvlibdir)/lv.hlp
+ $(BSD_INSTALL_MAN) $(srcdir)/../lv.1 $(DESTDIR)$(mandir)/man1; \
uninstall::
for i in $(bindir)/lv $(bindir)/lgrep $(lvlibdir)/lv.hlp $(mandir)/man1/lv.1; do \

46
misc/lv/patches/patch-ab Normal file
View File

@@ -0,0 +1,46 @@
$NetBSD: patch-ab,v 1.2 2010/02/10 10:43:28 obache Exp $
--- src/console.c.orig 2004-01-05 07:27:46.000000000 +0000
+++ src/console.c
@@ -388,7 +388,22 @@ public void ConsoleSetUp()
signal( SIGINT, InterruptIgnoreHandler );
#endif /* MSDOS */
-#ifdef HAVE_SIGVEC
+#ifdef HAVE_SIGACTION
+ struct sigaction sa;
+
+ sigemptyset( &sa.sa_mask );
+# ifndef SA_RESTART
+ sa.sa_flags = 0;
+# else
+ sa.sa_flags = SA_RESTART;
+# endif
+ sa.sa_handler = WindowChangeHandler;
+ (void)sigaction( SIGWINCH, &sa, NULL );
+
+ sa.sa_handler = InterruptHandler;
+ (void)sigaction( SIGINT, &sa, NULL );
+#else
+# ifdef SV_INTERRUPT
struct sigvec sigVec;
sigVec.sv_handler = WindowChangeHandler;
@@ -400,12 +415,13 @@ public void ConsoleSetUp()
sigVec.sv_mask = sigmask( SIGINT );
sigVec.sv_flags = SV_INTERRUPT;
sigvec( SIGINT, &sigVec, NULL );
-#else
-# ifdef SIGWINCH
+# else
+# ifdef SIGWINCH
signal( SIGWINCH, WindowChangeHandler );
-# endif
+# endif
signal( SIGINT, InterruptHandler );
-#endif /* HAVE_SIGVEC */
+# endif /* SV_INTERRUPT */
+#endif /* HAVE_SIGACTION */
#ifdef UNIX
#ifdef HAVE_TERMIOS_H

13
misc/lv/patches/patch-ac Normal file
View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ac,v 1.2 2010/02/10 10:43:28 obache Exp $
--- src/configure.in.orig 2004-01-05 06:35:44.000000000 +0000
+++ src/configure.in
@@ -34,7 +34,7 @@ AC_CHECK_HEADERS(fcntl.h sys/ioctl.h sys
dnl Checks for typedefs, structures, and compiler characteristics.
dnl Checks for library functions.
-AC_CHECK_FUNCS(sigvec tgetnum setlocale)
+AC_CHECK_FUNCS(sigaction tgetnum setlocale)
AC_FUNC_GETPGRP
AC_PROG_GCC_TRADITIONAL
AC_TYPE_SIGNAL

13
misc/lv/patches/patch-ad Normal file
View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ad,v 1.1 2010/02/10 10:43:28 obache Exp $
--- src/configure.orig 2004-01-05 06:37:17.000000000 +0000
+++ src/configure
@@ -1440,7 +1440,7 @@ done
-for ac_func in sigvec tgetnum setlocale
+for ac_func in sigaction tgetnum setlocale
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:1447: checking for $ac_func" >&5