commit:     23f0a897016464965d8071ee778366ea90926fd0
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  6 22:05:56 2016 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Wed Apr  6 22:09:25 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23f0a897

app-text/lesspipe: initial package

This holds the code2color program that historically was shipped as
part of the main less package.

 app-text/lesspipe/Manifest             |  1 +
 app-text/lesspipe/lesspipe-1.83.ebuild | 41 ++++++++++++++++++++++++++++++++++
 app-text/lesspipe/metadata.xml         |  7 ++++++
 3 files changed, 49 insertions(+)

diff --git a/app-text/lesspipe/Manifest b/app-text/lesspipe/Manifest
new file mode 100644
index 0000000..0e2dc27
--- /dev/null
+++ b/app-text/lesspipe/Manifest
@@ -0,0 +1 @@
+DIST lesspipe-1.83.tar.gz 115129 SHA256 
d616f0d51852e60fb0d0801eec9c31b10e0acc6fdfdc62ec46ef7bfd60ce675e SHA512 
c6418ac2bfc2dee9d32d56b0ea4a94954b1431db54fef8b67a9cf7d961cf4a23d87b2f41b2a4560d2333029c6d4ed5c6f399cb635f857bd43f1603993b5cb55d
 WHIRLPOOL 
4ff4baac25c768a4177d71a82f766b326cff6840e0032d6b9125506de38ff20264b71c765cb08777adda9e9f24e18e33e452667be8e7a94f7fef062f1d6f019f

diff --git a/app-text/lesspipe/lesspipe-1.83.ebuild 
b/app-text/lesspipe/lesspipe-1.83.ebuild
new file mode 100644
index 0000000..a012055
--- /dev/null
+++ b/app-text/lesspipe/lesspipe-1.83.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+DESCRIPTION="a preprocessor for less"
+HOMEPAGE="https://github.com/wofr06/lesspipe";
+SRC_URI="https://www-zeuthen.desy.de/~friebel/unix/less/${P}.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd 
~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux 
~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+DEPEND="dev-lang/perl"
+RDEPEND="${DEPEND}
+       !<sys-apps/less-483-r1"
+
+src_configure() {
+       # Not an autoconf script.
+       ./configure --fixed || die
+}
+
+src_compile() {
+       # Nothing to build.
+       :
+}
+
+src_install() {
+       emake PREFIX="${EPREFIX}/usr" DESTDIR="${D}" install
+       dodoc ChangeLog README TODO
+}
+
+pkg_preinst() {
+       if [[ -z ${REPLACING_VERSIONS} ]] ; then
+               elog "This package installs 'lesspipe.sh' which is distinct 
from 'lesspipe'."
+               elog "The latter is the Gentoo-specific version.  Make sure to 
update your"
+               elog "LESSOPEN environment variable if you wish to use this 
copy."
+       fi
+}

diff --git a/app-text/lesspipe/metadata.xml b/app-text/lesspipe/metadata.xml
new file mode 100644
index 0000000..aebca33
--- /dev/null
+++ b/app-text/lesspipe/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+<maintainer type="project">
+       <email>[email protected]</email>
+</maintainer>
+</pkgmetadata>

Reply via email to