Moved from jless-iso254 (its package name contains version number incorrectly). Also...
authorMamoru Komachi <usata@gentoo.org>
Sat, 17 Jun 2006 14:10:35 +0000 (14:10 +0000)
committerMamoru Komachi <usata@gentoo.org>
Sat, 17 Jun 2006 14:10:35 +0000 (14:10 +0000)
Package-Manager: portage-2.1

app-i18n/jless/ChangeLog [new file with mode: 0644]
app-i18n/jless/Manifest [new file with mode: 0644]
app-i18n/jless/files/70jless [new file with mode: 0644]
app-i18n/jless/files/digest-jless-358.254 [new file with mode: 0644]
app-i18n/jless/files/digest-jless-382.258 [new file with mode: 0644]
app-i18n/jless/files/lesspipe.sh-r1 [new file with mode: 0755]
app-i18n/jless/jless-358.254.ebuild [new file with mode: 0644]
app-i18n/jless/jless-382.258.ebuild [new file with mode: 0644]
app-i18n/jless/metadata.xml [new file with mode: 0644]

diff --git a/app-i18n/jless/ChangeLog b/app-i18n/jless/ChangeLog
new file mode 100644 (file)
index 0000000..4d04f8b
--- /dev/null
@@ -0,0 +1,46 @@
+# ChangeLog for app-i18n/jless-iso254
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/jless/ChangeLog,v 1.1 2006/06/17 14:10:35 usata Exp $
+
+*jless-382.258 (17 Jun 2006)
+*jless-358.254 (17 Jun 2006)
+
+  17 Jun 2006; Mamoru KOMACHI <usata@gentoo.org> +files/70jless,
+  +files/lesspipe.sh-r1, +metadata.xml, +jless-358.254.ebuild,
+  +jless-382.258.ebuild:
+  Moved from jless-iso254 (its package name contains version number
+  incorrectly). Also bumped version.
+
+  29 Nov 2005; Jeroen Roovers <jer@gentoo.org> jless-iso254-358.ebuild:
+  Marked ~hppa wrt bug 109187.
+
+  12 Jul 2004; Tom Gall <tgall@gentoo.org> jless-is0254-358.ebuild:
+  stable on ppc64, bug #55324
+
+*jless-iso254-358 (09 Jul 2002)
+
+  18 Nov 2003; Mamoru KOMACHI <usata@gentoo.org> jless-iso254-358.ebuild,
+  files/70jless:
+  Added env.d file.
+
+  30 Sep 2003; Mamoru KOMACHI <usata@gentoo.org> jless-iso254-358.ebuild:
+  Stable for ppc, sparc and alpha
+
+  08 Sep 2003; Mamoru KOMACHI <usata@gentoo.org> jless-iso254-358.ebuild,
+  metadata.xml:
+  Changed DESCRIPTION (jless is not Japanese less but Jam less).
+  Removed ${A} redefinition (reported in Bug #28161). Use mirror://gnu/
+  instead of GNU master site. Added original less HOMEPAGE. Changed
+  LICENSE because Jam less is distributed under BSD license. Read
+  ${EDITOR} from /etc/profile rather than hardcode it to /usr/bin/nano.
+  Install lesspipe.sh as jlesspipe.sh and make a symlink to lesspipe.sh
+  if original less is not installed (try epm -qf /usr/bin/lesspipe.sh !).
+  Added pkg_postinst() to make sure /usr/bin/lesspipe.sh is present.
+  Added <longdescription> to metadata.xml.
+
+  31 Jul 2003; Mamoru KOMACHI <usata@gentoo.org> jless-iso254-358.ebuild:
+  Added ~alpha, ~sparc and ~ppc keywords
+
+  09 Jul 2002; Stuart Bouyer <stubear@gentoo.org> jless-iso254-358.ebuild :
+  Initial addition of jless pacakge. Shamelessly ripped from Brandon form
+  bug #3685. Thanks lostlogic :)
diff --git a/app-i18n/jless/Manifest b/app-i18n/jless/Manifest
new file mode 100644 (file)
index 0000000..e08fbaa
--- /dev/null
@@ -0,0 +1,38 @@
+AUX 70jless 52 RMD160 17788f31d021b222c517ac7f280fc3db748d50ff SHA1 5adebe95231300ee35794cb28e380dde20225e8e SHA256 38c33a549eb570ad0be725405837bda53ea0ef503dbd9ea86eb74257ff5f1549
+MD5 e4b1a0cf24cc523bcbb54b6d77685b30 files/70jless 52
+RMD160 17788f31d021b222c517ac7f280fc3db748d50ff files/70jless 52
+SHA256 38c33a549eb570ad0be725405837bda53ea0ef503dbd9ea86eb74257ff5f1549 files/70jless 52
+AUX lesspipe.sh-r1 1429 RMD160 1e8c3cb7d65decf72aa9e90c2fbc01cf257e73d6 SHA1 222e5f2c6f7252ddc51723cbd965235cbc393eeb SHA256 5e956349ce894df20d9746939a2505553d06b83aacd2dcef4f83035766c269ee
+MD5 0cc555c44c02b9b457e98ed39a63f1a2 files/lesspipe.sh-r1 1429
+RMD160 1e8c3cb7d65decf72aa9e90c2fbc01cf257e73d6 files/lesspipe.sh-r1 1429
+SHA256 5e956349ce894df20d9746939a2505553d06b83aacd2dcef4f83035766c269ee files/lesspipe.sh-r1 1429
+DIST less-358-iso254.patch.gz 71182 RMD160 664ed1f357e8d10c76855fa63ad4e0391c2e1a7f SHA1 cb2df9fb8e66484d5e1544ae902fa87b1745fe70 SHA256 cf9ca5c38c1abadc528005aaa33c685975ec267df59dd5737a0692c237c27067
+DIST less-358.tar.gz 231140 RMD160 38e2d28d7cb411c12837bd4cea6d1dadceab46b4 SHA1 1893ce820ef76686004c45364c559d1bd713ee73 SHA256 9b0391b116e8e15d706ff4bdf08e7f25e35902d339d70562444311f6b107c83d
+DIST less-382-iso258-259.patch.gz 9466 RMD160 4b2214d0bea7db838d65feeb1ae011894001cdaa SHA1 7256998c59f9743e61e83e9e5ebc5183e8eeb269 SHA256 845bb97f407727febd4ee4014618715884bf393d1531089e18faf4e895e19cec
+DIST less-382-iso258.patch.gz 87859 RMD160 9ad98b4bbd029c34ee640837d39c52b9d6d9c822 SHA1 961275c26c6f6ec2e04821d9d9d1b10505214b1f SHA256 0681485f47237aeee42a34bbf0ab55215933c7713d1be80ac202a31c7a6fdc31
+DIST less-382-iso259-260.patch.gz 19014 RMD160 1284a79e1cb0f48261838931c81bde98b96fd40a SHA1 56e5537fae516ee738b1512eed303f43ed0d4575 SHA256 e81a5de1fdc276cf0f189c674f37459cf1a7314ac1b804c077e23c519df87ec8
+DIST less-382-iso260-261.patch.gz 841 RMD160 8dd3e9d8447b64fc62e178046acc4dc9940c78c7 SHA1 3a889e178a32c3a273b89fd396976362a975f627 SHA256 b595378ae65a5a7256df3b6279d755d6fdce66ab6ea0bba4f51eeb9ee0307c03
+DIST less-382-iso261-262.patch.gz 2215 RMD160 f2ae517a19a886792ccfebac91d57ea040d8c8e1 SHA1 d5cc92e5dcbfde26257eec5f126df5bf73779a89 SHA256 e7249de419acc3b8c4a11bed376d778711fd031887d0df0624d62a6d07356842
+DIST less-382.tar.gz 264414 RMD160 2b851c7038d9a4dea4f369ff5705eafc9093de97 SHA1 3c3f1ae0bf18039b047524ff0f573ef514bcc944 SHA256 d33cc51f220647d015fd526b3782cde03c5d8b18c5233e6388a0047a70446fe7
+EBUILD jless-358.254.ebuild 1371 RMD160 5604f8304641830a94ca0a81e8dd0ace0a51b0c6 SHA1 a05e8b5f32cc77e36d3a064829033ff9a93b8418 SHA256 d8d1f806f823808f663396a57dd90693473a94a8e95f91839fdf39001a951bd2
+MD5 25d9c7ae9d410e9d414fff1b27b34a69 jless-358.254.ebuild 1371
+RMD160 5604f8304641830a94ca0a81e8dd0ace0a51b0c6 jless-358.254.ebuild 1371
+SHA256 d8d1f806f823808f663396a57dd90693473a94a8e95f91839fdf39001a951bd2 jless-358.254.ebuild 1371
+EBUILD jless-382.258.ebuild 1761 RMD160 17a3a1fd64795426e3d9823de8dcdea2774a611a SHA1 e0ea0b6a76e6a8a7ea3f687934c8fce33cea4e91 SHA256 0cd353bdec2742bc2e2b553592cebac6c622107e1c72aa26f3a2168f7d64e51b
+MD5 030643d7644f2b518df43308b9d69f6b jless-382.258.ebuild 1761
+RMD160 17a3a1fd64795426e3d9823de8dcdea2774a611a jless-382.258.ebuild 1761
+SHA256 0cd353bdec2742bc2e2b553592cebac6c622107e1c72aa26f3a2168f7d64e51b jless-382.258.ebuild 1761
+MISC ChangeLog 1973 RMD160 ab0a8dbe537f6624384564e89b67e8e2f94c1e03 SHA1 abfbe53475926d2c105653b85c7d5a04d10df9a0 SHA256 96aaa02a35317e57b4b5de17527e3fa1da8932e1c18fea018a499e78e0814b3c
+MD5 e479f5b58e5c72ef87d3e005600a30ee ChangeLog 1973
+RMD160 ab0a8dbe537f6624384564e89b67e8e2f94c1e03 ChangeLog 1973
+SHA256 96aaa02a35317e57b4b5de17527e3fa1da8932e1c18fea018a499e78e0814b3c ChangeLog 1973
+MISC metadata.xml 721 RMD160 ee5dcb352a8351ac0320c78efdd10254c385cebb SHA1 6d86520705b5431de497511f77b91f1044db10f0 SHA256 af1707eefcade9e7ff298fc9af1b37218fa0799a3e7a3c1ecd22edd7e7ca8019
+MD5 26462c324a30c663f0721d42a1df048e metadata.xml 721
+RMD160 ee5dcb352a8351ac0320c78efdd10254c385cebb metadata.xml 721
+SHA256 af1707eefcade9e7ff298fc9af1b37218fa0799a3e7a3c1ecd22edd7e7ca8019 metadata.xml 721
+MD5 9d639247474d8df1dd6a5c7dc647621b files/digest-jless-358.254 476
+RMD160 03b83379a24f0e671d05c1a7af694043a80b8d02 files/digest-jless-358.254 476
+SHA256 8ed96b6e9126038ab3c9a0777ac4f4f994bc3b4b267deea869c4b348b8e1e6db files/digest-jless-358.254 476
+MD5 cb66d2489f1fa82475691550c5f0e877 files/digest-jless-382.258 1512
+RMD160 e34d5c274f3d313bdc1e0efed3145c7180d79fc7 files/digest-jless-382.258 1512
+SHA256 17585b0a9c2b156e6b7040ffed2a87ff0aa0bc9c7a3175231f0c604b0657a3ca files/digest-jless-382.258 1512
diff --git a/app-i18n/jless/files/70jless b/app-i18n/jless/files/70jless
new file mode 100644 (file)
index 0000000..b44b15a
--- /dev/null
@@ -0,0 +1,3 @@
+PAGER="/usr/bin/jless"
+JLESSCHARSET="ja"
+JLESS="-R"
diff --git a/app-i18n/jless/files/digest-jless-358.254 b/app-i18n/jless/files/digest-jless-358.254
new file mode 100644 (file)
index 0000000..2ae24cc
--- /dev/null
@@ -0,0 +1,6 @@
+MD5 4ccb02cfcdd9aafc2b147d56c895716a less-358-iso254.patch.gz 71182
+RMD160 664ed1f357e8d10c76855fa63ad4e0391c2e1a7f less-358-iso254.patch.gz 71182
+SHA256 cf9ca5c38c1abadc528005aaa33c685975ec267df59dd5737a0692c237c27067 less-358-iso254.patch.gz 71182
+MD5 692a94060a50dd35a4d65176cb899444 less-358.tar.gz 231140
+RMD160 38e2d28d7cb411c12837bd4cea6d1dadceab46b4 less-358.tar.gz 231140
+SHA256 9b0391b116e8e15d706ff4bdf08e7f25e35902d339d70562444311f6b107c83d less-358.tar.gz 231140
diff --git a/app-i18n/jless/files/digest-jless-382.258 b/app-i18n/jless/files/digest-jless-382.258
new file mode 100644 (file)
index 0000000..6242f29
--- /dev/null
@@ -0,0 +1,18 @@
+MD5 f62f5a06fff9c3c1f209800287c0f61a less-382-iso258-259.patch.gz 9466
+RMD160 4b2214d0bea7db838d65feeb1ae011894001cdaa less-382-iso258-259.patch.gz 9466
+SHA256 845bb97f407727febd4ee4014618715884bf393d1531089e18faf4e895e19cec less-382-iso258-259.patch.gz 9466
+MD5 bc42654a79a727c15b87596708a22333 less-382-iso258.patch.gz 87859
+RMD160 9ad98b4bbd029c34ee640837d39c52b9d6d9c822 less-382-iso258.patch.gz 87859
+SHA256 0681485f47237aeee42a34bbf0ab55215933c7713d1be80ac202a31c7a6fdc31 less-382-iso258.patch.gz 87859
+MD5 6350c3c5eecccf71c860de1354b043ae less-382-iso259-260.patch.gz 19014
+RMD160 1284a79e1cb0f48261838931c81bde98b96fd40a less-382-iso259-260.patch.gz 19014
+SHA256 e81a5de1fdc276cf0f189c674f37459cf1a7314ac1b804c077e23c519df87ec8 less-382-iso259-260.patch.gz 19014
+MD5 447b0f7ccd64a161857d0979e095cb8a less-382-iso260-261.patch.gz 841
+RMD160 8dd3e9d8447b64fc62e178046acc4dc9940c78c7 less-382-iso260-261.patch.gz 841
+SHA256 b595378ae65a5a7256df3b6279d755d6fdce66ab6ea0bba4f51eeb9ee0307c03 less-382-iso260-261.patch.gz 841
+MD5 30321479e37c029c70c26fbd52a214e5 less-382-iso261-262.patch.gz 2215
+RMD160 f2ae517a19a886792ccfebac91d57ea040d8c8e1 less-382-iso261-262.patch.gz 2215
+SHA256 e7249de419acc3b8c4a11bed376d778711fd031887d0df0624d62a6d07356842 less-382-iso261-262.patch.gz 2215
+MD5 103fe4aef6297b93f0f73f38cc3b1bd7 less-382.tar.gz 264414
+RMD160 2b851c7038d9a4dea4f369ff5705eafc9093de97 less-382.tar.gz 264414
+SHA256 d33cc51f220647d015fd526b3782cde03c5d8b18c5233e6388a0047a70446fe7 less-382.tar.gz 264414
diff --git a/app-i18n/jless/files/lesspipe.sh-r1 b/app-i18n/jless/files/lesspipe.sh-r1
new file mode 100755 (executable)
index 0000000..a647ac1
--- /dev/null
@@ -0,0 +1,41 @@
+#!/bin/sh
+
+# Preprocessor for 'less'. Used when this environment variable is set:
+# LESSOPEN="|lesspipe.sh %s"
+
+lesspipe() {
+
+  case "$1" in
+
+  *.tar.bz2) tar tjvvf $1 2>/dev/null ;;
+  *.bz2) bzip2 -dc $1 2>/dev/null ;;
+  *.tar) tar tvvf $1 2>/dev/null ;;
+  *.tbz2) tar tjvvf $1 2>/dev/null ;;
+  *.tbz) tar tjvvf $1 2>/dev/null ;;
+  *.tar.gz) tar tzvvf $1 2>/dev/null ;;
+  *.tgz) tar tzvvf $1 2>/dev/null ;;
+  *.tar.z) tar tzvvf $1 2>/dev/null ;;
+  *.tar.Z) tar tzvvf $1 2>/dev/null ;;
+  *.z) gzip -dc $1  2>/dev/null ;;
+  *.Z) gzip -dc $1  2>/dev/null ;;
+  *.zip) unzip -l $1 2>/dev/null ;;
+  *.rpm) rpm -qilp "$1" 2>/dev/null ;;
+  *.[1-9] | *.n | *.man)
+    [ "$(file -L $1 | cut -d ' ' -f 2)" = "troff" -o \
+    "$(file -L $1 | cut -d ' ' -f 2)" = "ASCII" ] &&
+    groff -S -s -p -t -e -Tascii -mandoc "$1" 2>/dev/null ;;
+  *.[1-9].gz | *.n.gz | *.man.gz)
+    [ "$(gzip -dc $1 2>/dev/null|file -|tr -s ' '|cut -d ' ' -f3)" = "troff" -o \
+    "$(gzip -dc $1 2>/dev/null|file -|tr -s ' '|cut -d ' ' -f3)" = "ASCII" ] &&
+    gzip -dc $1 2>/dev/null | groff -S -s -p -t -e -Tascii -mandoc ;;
+  *.gz) gzip -dc $1  2>/dev/null ;; # keep this after the above statement :)
+  *) FILE="$(file -L $1)"
+    FILE1="$(echo $FILE | cut -d ' ' -f 2)"
+    FILE2="$(echo $FILE | cut -d ' ' -f 3)"
+    [ "$FILE1" = "Linux/i386" -o "$FILE2" = "Linux/i386" -o \
+      "$FILE1" = "ELF" -o "$FILE2" = "ELF" ] && strings $1 ;;
+
+  esac
+}
+
+lesspipe $1
diff --git a/app-i18n/jless/jless-358.254.ebuild b/app-i18n/jless/jless-358.254.ebuild
new file mode 100644 (file)
index 0000000..2567949
--- /dev/null
@@ -0,0 +1,61 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/jless/jless-358.254.ebuild,v 1.1 2006/06/17 14:10:35 usata Exp $
+
+inherit eutils
+
+LESS_P="less-${PV%%.*}"
+
+DESCRIPTION="Jam less is an enhancement of less which supports multibyte character"
+HOMEPAGE="http://www.flash.net/~marknu/less/ http://www.io.com/~kazushi/less/"
+SRC_URI="mirror://gnu/less/${LESS_P}.tar.gz
+       http://www25.big.jp/~jam/less/${LESS_P}-iso254.patch.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="alpha ~hppa ppc ppc64 sparc x86"
+IUSE=""
+
+DEPEND="virtual/libc
+       >=sys-libs/ncurses-5.2"
+
+S=${WORKDIR}/${LESS_P}
+
+src_unpack() {
+       unpack ${LESS_P}.tar.gz
+       cd ${S}
+       epatch ${DISTDIR}/${LESS_P}-iso254.patch.gz
+}
+
+src_compile() {
+       econf \
+               --without-cs-regex \
+               --with-regex=auto \
+               --enable-msb \
+               --enable-jisx0213 \
+               --with-editor=${EDITOR} \
+               || die
+
+       emake || die
+}
+
+src_install() {
+       einstall binprefix=j manprefix=j || die
+
+       newbin ${FILESDIR}/lesspipe.sh-r1 jlesspipe.sh
+       if [ ! -f ${ROOT}/usr/bin/lesspipe.sh ] ; then
+               dosym /usr/bin/jlesspipe.sh /usr/bin/lesspipe.sh
+       fi
+
+       insinto /etc/env.d
+       doins ${FILESDIR}/70jless
+
+       dodoc NEWS README*
+}
+
+pkg_postinst() {
+       # for backward compatibility
+       if [ ! -f ${ROOT}/usr/bin/lesspipe.sh ] ; then
+               ln -s /usr/bin/jlesspipe.sh ${ROOT}/usr/bin/lesspipe.sh
+       fi
+}
diff --git a/app-i18n/jless/jless-382.258.ebuild b/app-i18n/jless/jless-382.258.ebuild
new file mode 100644 (file)
index 0000000..00c4552
--- /dev/null
@@ -0,0 +1,70 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/jless/jless-382.258.ebuild,v 1.1 2006/06/17 14:10:35 usata Exp $
+
+inherit eutils
+
+LESS_P="less-${PV%%.*}"
+
+DESCRIPTION="Jam less is an enhancement of less which supports multibyte character"
+HOMEPAGE="http://www.flash.net/~marknu/less/ http://www.io.com/~kazushi/less/"
+JAM_URI="http://www25.big.jp/~jam/less"
+SRC_URI="mirror://gnu/less/${LESS_P}.tar.gz
+       ${JAM_URI}/${LESS_P}-iso258.patch.gz
+       ${JAM_URI}/${LESS_P}-iso258-259.patch.gz
+       ${JAM_URI}/${LESS_P}-iso259-260.patch.gz
+       ${JAM_URI}/${LESS_P}-iso260-261.patch.gz
+       ${JAM_URI}/${LESS_P}-iso261-262.patch.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+DEPEND="virtual/libc
+       >=sys-libs/ncurses-5.2"
+
+S=${WORKDIR}/${LESS_P}
+
+src_unpack() {
+       unpack ${LESS_P}.tar.gz
+       cd ${S}
+       epatch ${DISTDIR}/${LESS_P}-iso258.patch.gz
+       epatch ${DISTDIR}/${LESS_P}-iso258-259.patch.gz
+       epatch ${DISTDIR}/${LESS_P}-iso259-260.patch.gz
+       epatch ${DISTDIR}/${LESS_P}-iso260-261.patch.gz
+       epatch ${DISTDIR}/${LESS_P}-iso261-262.patch.gz
+}
+
+src_compile() {
+       econf \
+               --without-cs-regex \
+               --with-regex=auto \
+               --enable-msb \
+               --enable-jisx0213 \
+               --with-editor=${EDITOR} \
+               || die
+
+       emake || die
+}
+
+src_install() {
+       einstall binprefix=j manprefix=j || die
+
+       newbin ${FILESDIR}/lesspipe.sh-r1 jlesspipe.sh
+       if [ ! -f ${ROOT}/usr/bin/lesspipe.sh ] ; then
+               dosym /usr/bin/jlesspipe.sh /usr/bin/lesspipe.sh
+       fi
+
+       insinto /etc/env.d
+       doins ${FILESDIR}/70jless
+
+       dodoc NEWS README*
+}
+
+pkg_postinst() {
+       # for backward compatibility
+       if [ ! -f ${ROOT}/usr/bin/lesspipe.sh ] ; then
+               ln -s /usr/bin/jlesspipe.sh ${ROOT}/usr/bin/lesspipe.sh
+       fi
+}
diff --git a/app-i18n/jless/metadata.xml b/app-i18n/jless/metadata.xml
new file mode 100644 (file)
index 0000000..92a3d49
--- /dev/null
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>cjk</herd>
+<longdescription>
+Quote from Jam less homepage (http://www.io.com/~kazushi/less/):
+&quot;Less is one of the best text viewer. It is a successor of more. It
+allows you to scroll forward, scroll backward, search, etc through
+multiple text files.
+
+However, it doesn't support multi bytes characters. So, I made a patch
+to enhance it in order to view texts with multi character sets using
+using ISO 2022 code extention techniques. And I also support some code
+conversion among Japanese encoding schemes, JIS X 0208, JIS X 0213,
+SJIS, and UJIS.&quot;
+</longdescription>
+</pkgmetadata>