From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- app-text/pep/Manifest | 1 + app-text/pep/files/pep-2.8-gentoo.patch | 25 ++++++++++++++++ app-text/pep/files/pep-2.8-include.patch | 10 +++++++ app-text/pep/metadata.xml | 7 +++++ app-text/pep/pep-2.8-r1.ebuild | 50 ++++++++++++++++++++++++++++++++ 5 files changed, 93 insertions(+) create mode 100644 app-text/pep/Manifest create mode 100644 app-text/pep/files/pep-2.8-gentoo.patch create mode 100644 app-text/pep/files/pep-2.8-include.patch create mode 100644 app-text/pep/metadata.xml create mode 100644 app-text/pep/pep-2.8-r1.ebuild (limited to 'app-text/pep') diff --git a/app-text/pep/Manifest b/app-text/pep/Manifest new file mode 100644 index 000000000000..ea5643705b79 --- /dev/null +++ b/app-text/pep/Manifest @@ -0,0 +1 @@ +DIST pep28.zip 83969 SHA256 108fe13e0038284c7939414687c7efee7af73f73c387048ac574e6196d295af4 SHA512 c987b8f23409475e1882e06a87366a1692a7d859af907b4154715a4caf4475d6c266162ede019b29d65400fe72e115948d26e9c9396d628ea5f35ca472548ec8 WHIRLPOOL 46343ea72b1d5797a217d7e3b8066e4f594460ec2b2409a1fc4099e444d5329e2cd3e6bf867576a45197809fce17512f4ae86bc320720b1d89c0818a04ab43d1 diff --git a/app-text/pep/files/pep-2.8-gentoo.patch b/app-text/pep/files/pep-2.8-gentoo.patch new file mode 100644 index 000000000000..8d5c13624d65 --- /dev/null +++ b/app-text/pep/files/pep-2.8-gentoo.patch @@ -0,0 +1,25 @@ +--- a/Makefile 1995-08-11 02:00:00.000000000 +0200 ++++ b/Makefile 2010-08-26 23:54:34.000000000 +0200 +@@ -66,7 +66,7 @@ + + # Unix + CC = gcc +-LFLAGS = -o pep ++LFLAGS = -o pep $(LDFLAGS) + SRC = src + XXX = c + OBJ = o +@@ -78,10 +78,10 @@ + UNZIP = unzip + + # directories, etc. +-BINDIR = /local/bin +-LIBDIR = /local/share/lib/pep ++BINDIR = /usr/bin ++LIBDIR = /usr/share/pep + MANEXT = 1 +-MANDIR = /local/man/man$(MANEXT) ++MANDIR = /usr/share/man/man$(MANEXT) + TODAY = 19950811 + CLOCK = 0200 + VER = 28 diff --git a/app-text/pep/files/pep-2.8-include.patch b/app-text/pep/files/pep-2.8-include.patch new file mode 100644 index 000000000000..d70c8dfe35cf --- /dev/null +++ b/app-text/pep/files/pep-2.8-include.patch @@ -0,0 +1,10 @@ +--- a/main.c 1995-08-11 02:00:00.000000000 +0200 ++++ b/main.c 2010-08-26 23:57:03.000000000 +0200 +@@ -91,6 +91,7 @@ + + #include + #include ++#include + #include + #include + #include "pep.h" diff --git a/app-text/pep/metadata.xml b/app-text/pep/metadata.xml new file mode 100644 index 000000000000..91f4e72fb544 --- /dev/null +++ b/app-text/pep/metadata.xml @@ -0,0 +1,7 @@ + + + + + maintainer-needed@gentoo.org + + diff --git a/app-text/pep/pep-2.8-r1.ebuild b/app-text/pep/pep-2.8-r1.ebuild new file mode 100644 index 000000000000..0c0efde5005b --- /dev/null +++ b/app-text/pep/pep-2.8-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="2" + +inherit eutils toolchain-funcs flag-o-matic + +DESCRIPTION="General purpose filter and file cleaning program" +HOMEPAGE="http://hannemyr.com/enjoy/pep.html" +SRC_URI="http://hannemyr.com/enjoy/${PN}${PV//./}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~mips ppc x86 ~x86-linux ~ppc-macos" +IUSE="" + +DEPEND="app-arch/unzip" +RDEPEND="" + +S=${WORKDIR} + +src_prepare() { + # pep does not come with autconf so here's a patch to configure + # Makefile with the correct path + epatch \ + "${FILESDIR}"/${P}-gentoo.patch \ + "${FILESDIR}"/${P}-include.patch + # Darwin lacks stricmp and DIRCHAR + if [[ ${CHOST} == *-darwin* ]] ; then + sed -i -e '/^OBJS/s/^\(.*\)$/\1 bdmg.o/' Makefile + append-flags "-Dunix" -DSTRICMP + fi +} + +src_compile() { + # make man page too + make Doc/pep.1 || die "make man page failed" + emake CC="$(tc-getCC)" || die "emake failed" +} + +src_install() { + dobin pep || die "dobin failed" + doman Doc/pep.1 || die "doman failed" + + insinto /usr/share/pep + doins Filters/* || die "doins failed" + + dodoc aareadme.txt file_id.diz +} -- cgit v1.2.3-65-gdbad