summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text')
-rw-r--r--app-text/lv/ChangeLog8
-rw-r--r--app-text/lv/Manifest14
-rw-r--r--app-text/lv/files/lv-4.51-gentoo.patch40
-rw-r--r--app-text/lv/lv-4.51-r1.ebuild39
4 files changed, 89 insertions, 12 deletions
diff --git a/app-text/lv/ChangeLog b/app-text/lv/ChangeLog
index 41f6ed782ae4..acae4bf8f4f9 100644
--- a/app-text/lv/ChangeLog
+++ b/app-text/lv/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/lv
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/lv/ChangeLog,v 1.25 2008/03/21 11:29:02 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/lv/ChangeLog,v 1.26 2008/10/07 16:14:06 matsuu Exp $
+
+*lv-4.51-r1 (07 Oct 2008)
+
+ 07 Oct 2008; MATSUU Takuto <matsuu@gentoo.org>
+ +files/lv-4.51-gentoo.patch, +lv-4.51-r1.ebuild:
+ Removed strip and clean up, bug #239874.
21 Mar 2008; Christian Faulhammer <opfer@gentoo.org> lv-4.51.ebuild:
PROVIDE for virtual/pager not needed anymore, there is a new-style virtual
diff --git a/app-text/lv/Manifest b/app-text/lv/Manifest
index 3cb4bfa962b6..72623f102026 100644
--- a/app-text/lv/Manifest
+++ b/app-text/lv/Manifest
@@ -1,14 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+AUX lv-4.51-gentoo.patch 1385 RMD160 3eff69fd30d5dae96aa2668a08b06a75eb339cfa SHA1 89c42c0c08565eedf60a3c869ce2d93a83540fdc SHA256 84df1e1816664648d4dbbfb489ed3e4a815a58f6f8e2b205c8d823e5becb5fa8
DIST lv451.tar.gz 605082 RMD160 ae0d58b52dbf714f8b371f51ac87490ecba1c994 SHA1 1a70299c27aa317a436976a557853858db4dcb5f SHA256 e1cd2e27109fbdbc6d435f2c3a99c8a6ef2898941f5d2f7bacf0c1ad70158bcf
+EBUILD lv-4.51-r1.ebuild 901 RMD160 1d9cf356020f94c4b4fdd9b7ffa31d9d7aa8f3cf SHA1 42c17af1d5b495f35ab5b067dbd8c51c6e5a3bde SHA256 c461db5ecc42f9ede5439a4957a35aa489842fc45a9448308137c14355d829b8
EBUILD lv-4.51.ebuild 757 RMD160 bf4b6e3c8c8381324df6d866610d4a7e027e54da SHA1 6a64d34b63d3139deb12d4ac0b621559247628aa SHA256 4fc245b8b695359034a53c9f0833e47b976b912fa4c608e99916756ab549aa73
-MISC ChangeLog 2666 RMD160 9e3b1f7580cfdff13043b419db9b4adc46e2e517 SHA1 f8341987ce395eeddacd7948477f3679c3c1bd14 SHA256 e634791b18438cc47e22abac6d7d42572bf81b7fbf4b98af3be51ef28258e7db
+MISC ChangeLog 2838 RMD160 51d47bc1e9f071202cb3c37e82bf2b9268ba9472 SHA1 9483a60a9c7f8bea6106b265b8fb56dcb22c8f9f SHA256 3ba1c3a73f1c59f18451c6592f1d6cf9b4a5f71f99364f5a160cdf1e571813c5
MISC metadata.xml 156 RMD160 8adcf0a760a605cd42501f53097ca3a1c4e8daad SHA1 8ccc2b0f20743002b783b1f7b5162c71f7f54c2e SHA256 815820f2e5866d973fafb29a8b8027d022ccea43023309b6dc294cf077598215
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.7 (GNU/Linux)
-
-iD8DBQFH45ynNQqtfCuFneMRAogTAJ942ldr8DQDa87CxVeKpiV/XhagZwCaAwgu
-pQXqRJl1AGLBHukxLcAUgnA=
-=pV8M
------END PGP SIGNATURE-----
diff --git a/app-text/lv/files/lv-4.51-gentoo.patch b/app-text/lv/files/lv-4.51-gentoo.patch
new file mode 100644
index 000000000000..90acab49fd16
--- /dev/null
+++ b/app-text/lv/files/lv-4.51-gentoo.patch
@@ -0,0 +1,40 @@
+diff -Naur lv451.orig/src/Makefile.in lv451/src/Makefile.in
+--- lv451.orig/src/Makefile.in 2004-01-06 16:22:17.000000000 +0900
++++ lv451/src/Makefile.in 2008-10-08 00:20:13.000000000 +0900
+@@ -25,6 +25,7 @@
+ LDFLAGS=@LDFLAGS@
+ INSTALL=@INSTALL@
+ PERL= @PERL@
++DESTDIR=
+
+ OBJS= itable.o ctable.o uty.o istr.o stream.o file.o guess.o decode.o \
+ encode.o escape.o iso2022.o iso8859.o iso2cn.o iso2jp.o iso2kr.o \
+@@ -64,18 +65,19 @@
+ #
+
+ install::
+- $(INSTALL) -s -m 555 lv $(bindir)
+- if test -f $(bindir)/lgrep; then \
+- /bin/rm -f $(bindir)/lgrep; \
++ if test ! -d $(DESTDIR)$(bindir); then \
++ mkdir -p $(DESTDIR)$(bindir); \
+ fi
+- (cd $(bindir); ln lv lgrep)
+- if test ! -d $(lvlibdir); then \
+- mkdir -p $(lvlibdir); \
++ $(INSTALL) -m 555 lv $(DESTDIR)$(bindir)
++ (cd $(DESTDIR)$(bindir); ln -s lv lgrep)
++ if test ! -d $(DESTDIR)$(lvlibdir); then \
++ mkdir -p $(DESTDIR)$(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; \
++ $(INSTALL) -m 444 $(srcdir)/../lv.hlp $(DESTDIR)$(lvlibdir)
++ if test ! -d $(DESTDIR)$(mandir)/man1; then \
++ mkdir -p $(DESTDIR)$(mandir)/man1; \
+ fi
++ $(INSTALL) -m 444 $(srcdir)/../lv.1 $(DESTDIR)$(mandir)/man1; \
+
+ uninstall::
+ for i in $(bindir)/lv $(bindir)/lgrep $(lvlibdir)/lv.hlp $(mandir)/man1/lv.1; do \
diff --git a/app-text/lv/lv-4.51-r1.ebuild b/app-text/lv/lv-4.51-r1.ebuild
new file mode 100644
index 000000000000..a82d375c559a
--- /dev/null
+++ b/app-text/lv/lv-4.51-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/lv/lv-4.51-r1.ebuild,v 1.1 2008/10/07 16:14:06 matsuu Exp $
+
+inherit eutils toolchain-funcs
+
+MY_P="${PN}${PV//./}"
+DESCRIPTION="Powerful Multilingual File Viewer"
+HOMEPAGE="http://www.ff.iij4u.or.jp/~nrt/lv/"
+SRC_URI="http://www.ff.iij4u.or.jp/~nrt/freeware/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
+IUSE=""
+
+RDEPEND="sys-libs/ncurses"
+DEPEND="${RDEPEND}
+ dev-lang/perl"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+}
+
+src_compile() {
+ ECONF_SOURCE=src econf || die
+ emake CC="$(tc-getCC)" || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ dodoc README hello.sample
+ dohtml index.html relnote.html hello.sample.gif
+}