summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-tex/rail
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
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 <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-tex/rail')
-rw-r--r--dev-tex/rail/Manifest1
-rw-r--r--dev-tex/rail/metadata.xml8
-rw-r--r--dev-tex/rail/rail-1.2_p1.ebuild37
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-tex/rail/Manifest b/dev-tex/rail/Manifest
new file mode 100644
index 000000000000..d25efe0fc7e7
--- /dev/null
+++ b/dev-tex/rail/Manifest
@@ -0,0 +1 @@
+DIST rail-1.2_p1.zip 107773 SHA256 960238a6c344f044b3f1ab441f6cfbc9ad9aaffe407d44bd15627ef40ce6725c SHA512 8d0178b7beb0f212eb34487b6a285f41d10e776d4294c945e2cc1c163bde44b4d6a38afca952ed0fb9759962f565002d3591f4e098d78d60eb03ae30469483c8 WHIRLPOOL 93b07fea285aab3aed9172a06794e9706dd0606db24337d5d0dfcb1efabb4816d1f44720852268850214cdaafb8161ec625bb61483d69fa0e17d0175f7216a15
diff --git a/dev-tex/rail/metadata.xml b/dev-tex/rail/metadata.xml
new file mode 100644
index 000000000000..73ea9d016dae
--- /dev/null
+++ b/dev-tex/rail/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>tex</herd>
+<longdescription lang='en'>
+A C program and LaTeX package to draw syntax diagrams specified in EBNF.
+</longdescription>
+</pkgmetadata>
diff --git a/dev-tex/rail/rail-1.2_p1.ebuild b/dev-tex/rail/rail-1.2_p1.ebuild
new file mode 100644
index 000000000000..43ba894387d4
--- /dev/null
+++ b/dev-tex/rail/rail-1.2_p1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit latex-package
+
+DESCRIPTION="Offers syntax/railroad diagrams"
+HOMEPAGE="http://www.ctan.org/tex-archive/support/rail/"
+SRC_URI="http://mirror.ctan.org/support/${PN}.zip
+ -> ${P}.zip"
+
+LICENSE="LPPL-1.2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+RDEPEND="app-text/texlive"
+DEPEND="${RDEPEND}
+ app-arch/unzip
+ sys-devel/bison
+ sys-devel/flex"
+
+S=${WORKDIR}/${PN}
+
+src_compile() {
+ emake -j 1 || die "make failed"
+}
+
+src_install() {
+ latex-package_src_doinstall sty doc
+
+ dobin rail || die "Installing the rail tool failed"
+
+ newman rail.man rail.1 || die "Installing the manpage failed"
+}