summaryrefslogtreecommitdiff
path: root/misc/ja-less
diff options
context:
space:
mode:
authorseb <seb>2002-05-31 13:00:24 +0000
committerseb <seb>2002-05-31 13:00:24 +0000
commit51b7d31642856a74172812db6fb3da59e49088c6 (patch)
treed3b2be257748cdf87034cda0ce671fb976fcd03e /misc/ja-less
parenta433d72730af14b4f5451926cc6c49db9614d75e (diff)
downloadpkgsrc-51b7d31642856a74172812db6fb3da59e49088c6.tar.gz
Reimport of package ja-less from japanese/less into misc/ja-less.
This is part of the japanese category retirement. CATEGORIES adjusted.
Diffstat (limited to 'misc/ja-less')
-rw-r--r--misc/ja-less/DESCR11
-rw-r--r--misc/ja-less/Makefile20
-rw-r--r--misc/ja-less/PLIST6
-rw-r--r--misc/ja-less/distinfo9
-rw-r--r--misc/ja-less/patches/patch-aa18
-rw-r--r--misc/ja-less/patches/patch-ab32
-rw-r--r--misc/ja-less/patches/patch-ac87
7 files changed, 183 insertions, 0 deletions
diff --git a/misc/ja-less/DESCR b/misc/ja-less/DESCR
new file mode 100644
index 00000000000..a30c1ec1083
--- /dev/null
+++ b/misc/ja-less/DESCR
@@ -0,0 +1,11 @@
+ Less is a program similar to more (1), but which allows
+ backward movement in the file as well as forward movement.
+ Also, less does not have to read the entire input file
+ before starting, so with large input files it starts up
+ faster than text editors like vi (1).
+
+ This enhanced less support ISO 2022 code extension techniqes and
+Japanese codes(EUC Japanese, SJIS) and compressed(or gzipped) file
+viewing. The author of this patch is jam@pobox.com. See
+ http://www.pobox.com/~jam/less/
+for the latest info.
diff --git a/misc/ja-less/Makefile b/misc/ja-less/Makefile
new file mode 100644
index 00000000000..307e6582698
--- /dev/null
+++ b/misc/ja-less/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/05/31 13:00:24 seb Exp $
+# FreeBSD Id: Makefile,v 1.13 1998/07/17 20:36:13 steve Exp
+#
+
+DISTNAME= less-358
+PKGNAME= ja-${DISTNAME}
+CATEGORIES= japanese misc
+MASTER_SITES= ${MASTER_SITE_GNU:=less/}
+
+PATCH_SITES= http://www.io.com/~kazushi/less/
+PATCHFILES= less-358-iso254.patch.gz
+PATCH_DIST_STRIP= -p1
+
+MAINTAINER= komine@cc.meisei-u.ac.jp
+HOMEPAGE= http://www.io.com/~kazushi/less/
+COMMENT= less + zcat + ISO-2022 - a pager similar to more and pg
+
+GNU_CONFIGURE= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/ja-less/PLIST b/misc/ja-less/PLIST
new file mode 100644
index 00000000000..c4c63241444
--- /dev/null
+++ b/misc/ja-less/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/31 13:00:24 seb Exp $
+bin/jless
+bin/jlesskey
+bin/jlessecho
+man/man1/jless.1
+man/man1/jlesskey.1
diff --git a/misc/ja-less/distinfo b/misc/ja-less/distinfo
new file mode 100644
index 00000000000..56c5e865d10
--- /dev/null
+++ b/misc/ja-less/distinfo
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/05/31 13:00:24 seb Exp $
+
+SHA1 (less-358.tar.gz) = 1893ce820ef76686004c45364c559d1bd713ee73
+Size (less-358.tar.gz) = 231140 bytes
+SHA1 (less-358-iso254.patch.gz) = cb2df9fb8e66484d5e1544ae902fa87b1745fe70
+Size (less-358-iso254.patch.gz) = 71182 bytes
+SHA1 (patch-aa) = db51345c5db24ea57b24c250c092a8f28bd5e732
+SHA1 (patch-ab) = 6b30f10502e66680b2cee28dd3f7e822a58dd080
+SHA1 (patch-ac) = dc7fa429614fd0450128b6bbdb721e11e1b7bfc8
diff --git a/misc/ja-less/patches/patch-aa b/misc/ja-less/patches/patch-aa
new file mode 100644
index 00000000000..f879a6b7554
--- /dev/null
+++ b/misc/ja-less/patches/patch-aa
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/05/31 13:00:24 seb Exp $
+
+--- Makefile.in.orig Sun Jul 29 14:07:48 2001
++++ Makefile.in
+@@ -22,11 +22,11 @@
+
+ # Where the installed binary goes.
+ bindir = @bindir@
+-binprefix =
++binprefix = j
+
+ mandir = @mandir@
+ manext = 1
+-manprefix =
++manprefix = j
+
+ #### End of system configuration section. ####
+
diff --git a/misc/ja-less/patches/patch-ab b/misc/ja-less/patches/patch-ab
new file mode 100644
index 00000000000..144072fef10
--- /dev/null
+++ b/misc/ja-less/patches/patch-ab
@@ -0,0 +1,32 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/05/31 13:00:24 seb Exp $
+
+--- configure.in.orig Sun Jul 29 14:07:49 2001
++++ configure.in
+@@ -17,7 +17,6 @@
+
+ dnl Checks for libraries.
+ AC_CHECK_LIB(xcurses, initscr, [have_xcurses=yes], [have_xcurses=no])
+-AC_CHECK_LIB(ncurses, initscr, [have_ncurses=yes], [have_ncurses=no])
+ AC_CHECK_LIB(curses, initscr, [have_curses=yes], [have_curses=no])
+ AC_CHECK_LIB(termcap, tgetent, [have_termcap=yes], [have_termcap=no])
+ AC_CHECK_LIB(termlib, tgetent, [have_termlib=yes], [have_termlib=no])
+@@ -44,19 +43,6 @@
+ if test "x$TERMLIBS" = x; then
+ if test $have_xcurses = yes; then
+ TERMLIBS="-lxcurses"
+- SAVE_LIBS=$LIBS
+- LIBS="$LIBS $TERMLIBS"
+- AC_TRY_LINK(, [tgetent(0,0); tgetflag(0); tgetnum(0); tgetstr(0,0);],
+- [termok=yes], [termok=no])
+- LIBS=$SAVE_LIBS
+- if test $termok = no; then TERMLIBS=""; fi
+- fi
+-fi
+-
+-dnl -- Try ncurses.
+-if test "x$TERMLIBS" = x; then
+- if test $have_ncurses = yes; then
+- TERMLIBS="-lncurses"
+ SAVE_LIBS=$LIBS
+ LIBS="$LIBS $TERMLIBS"
+ AC_TRY_LINK(, [tgetent(0,0); tgetflag(0); tgetnum(0); tgetstr(0,0);],
diff --git a/misc/ja-less/patches/patch-ac b/misc/ja-less/patches/patch-ac
new file mode 100644
index 00000000000..aca81704d80
--- /dev/null
+++ b/misc/ja-less/patches/patch-ac
@@ -0,0 +1,87 @@
+$NetBSD: patch-ac,v 1.1.1.1 2002/05/31 13:00:24 seb Exp $
+
+--- configure.orig Sun Jul 29 14:07:49 2001
++++ configure
+@@ -973,47 +973,6 @@
+ have_xcurses=no
+ fi
+
+-echo $ac_n "checking for initscr in -lncurses""... $ac_c" 1>&6
+-echo "configure:978: checking for initscr in -lncurses" >&5
+-ac_lib_var=`echo ncurses'_'initscr | sed 'y%./+-%__p_%'`
+-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+- echo $ac_n "(cached) $ac_c" 1>&6
+-else
+- ac_save_LIBS="$LIBS"
+-LIBS="-lncurses $LIBS"
+-cat > conftest.$ac_ext <<EOF
+-#line 986 "configure"
+-#include "confdefs.h"
+-/* Override any gcc2 internal prototype to avoid an error. */
+-/* We use char because int might match the return type of a gcc2
+- builtin and then its argument prototype would still apply. */
+-char initscr();
+-
+-int main() {
+-initscr()
+-; return 0; }
+-EOF
+-if { (eval echo configure:997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+- rm -rf conftest*
+- eval "ac_cv_lib_$ac_lib_var=yes"
+-else
+- echo "configure: failed program was:" >&5
+- cat conftest.$ac_ext >&5
+- rm -rf conftest*
+- eval "ac_cv_lib_$ac_lib_var=no"
+-fi
+-rm -f conftest*
+-LIBS="$ac_save_LIBS"
+-
+-fi
+-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+- echo "$ac_t""yes" 1>&6
+- have_ncurses=yes
+-else
+- echo "$ac_t""no" 1>&6
+-have_ncurses=no
+-fi
+-
+ echo $ac_n "checking for initscr in -lcurses""... $ac_c" 1>&6
+ echo "configure:1019: checking for initscr in -lcurses" >&5
+ ac_lib_var=`echo curses'_'initscr | sed 'y%./+-%__p_%'`
+@@ -1298,34 +1257,6 @@
+ LIBS="$LIBS $TERMLIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 1301 "configure"
+-#include "confdefs.h"
+-
+-int main() {
+-tgetent(0,0); tgetflag(0); tgetnum(0); tgetstr(0,0);
+-; return 0; }
+-EOF
+-if { (eval echo configure:1308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+- rm -rf conftest*
+- termok=yes
+-else
+- echo "configure: failed program was:" >&5
+- cat conftest.$ac_ext >&5
+- rm -rf conftest*
+- termok=no
+-fi
+-rm -f conftest*
+- LIBS=$SAVE_LIBS
+- if test $termok = no; then TERMLIBS=""; fi
+- fi
+-fi
+-
+-if test "x$TERMLIBS" = x; then
+- if test $have_ncurses = yes; then
+- TERMLIBS="-lncurses"
+- SAVE_LIBS=$LIBS
+- LIBS="$LIBS $TERMLIBS"
+- cat > conftest.$ac_ext <<EOF
+-#line 1329 "configure"
+ #include "confdefs.h"
+
+ int main() {