summaryrefslogtreecommitdiff
path: root/dev-tex/rail
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-tex/rail
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-tex/rail')
-rw-r--r--dev-tex/rail/Manifest5
-rw-r--r--dev-tex/rail/metadata.xml11
-rw-r--r--dev-tex/rail/rail-1.2_p1.ebuild36
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-tex/rail/Manifest b/dev-tex/rail/Manifest
new file mode 100644
index 000000000000..ae1c9a6048dc
--- /dev/null
+++ b/dev-tex/rail/Manifest
@@ -0,0 +1,5 @@
+DIST rail-1.2_p1.zip 107773 SHA256 960238a6c344f044b3f1ab441f6cfbc9ad9aaffe407d44bd15627ef40ce6725c SHA512 8d0178b7beb0f212eb34487b6a285f41d10e776d4294c945e2cc1c163bde44b4d6a38afca952ed0fb9759962f565002d3591f4e098d78d60eb03ae30469483c8 WHIRLPOOL 93b07fea285aab3aed9172a06794e9706dd0606db24337d5d0dfcb1efabb4816d1f44720852268850214cdaafb8161ec625bb61483d69fa0e17d0175f7216a15
+EBUILD rail-1.2_p1.ebuild 711 SHA256 62f67e473c3afe8775533bad15d2d2ddd0eb3f12ea8d61c9801174aec677a7cf SHA512 1f844afa3b6831d2363475eaaefab49e467bf6b6b00b9da79abb9700cee5b7dbde8f7b05dc928bfcedd8f1b1fa98648ebd832fbeaa5c63961c764201b01d160e WHIRLPOOL 998bcdfe1825589efc0e393497d1aefa3270e019f926881f3d7b951fe9a903f9cb7ce5f949c78c417b1b2f2a7dc356b4c2032bd5464629817a3696de1f2d9da6
+MISC ChangeLog 2812 SHA256 f372f5c704ec10dcfffe52203961796ef08bafd569f698038713232f2cea2535 SHA512 71407449aa377f0bcaf73410a4df82d9fd760f416542cc20f9518a0c37854c7cba9d716ff1f69a96736afd687c747b9957b0d7f19d0db3336edcc5c24fd19166 WHIRLPOOL 5dbcc48fa02130953059b7b2149f0acbb4e9896f4e7735cec612879ef69864ecab32ac1e11ace35c663ce2f3aa0b8ca80576744d0e28923f413c1b09d75fb30a
+MISC ChangeLog-2015 412 SHA256 7db90565fcdf2175c8e6f023cf6c9fde840840312f8ae47483799d1fd7c3f8bb SHA512 c66f580b920db02bc99469c480ba21ddb4c996f439aa8addf2ab02a6460ee229e1f79fd318a62a2a9888994214c200c2b001b30dbab4fc7e05a2a7a5b69f12d5 WHIRLPOOL 9a1dd764cc41be54fd1e226b1e0360d3baafbe651eaab1c58b3415baf8e147056e3d2e654e55b8e4d91e0d8958617ffe944ec3b3bc06a9157a77baf688fd745c
+MISC metadata.xml 365 SHA256 b3673d298f9a3aed74afb5361f57afa46c3e1e31a6b52e1262cd778cd9677e59 SHA512 df55351259b21df4030904d6eb7a2f7514002f9946b047d2b8af75cc22d0184f86e029775c8efe127143947fe2bc5fe89c3b8c86f9178970dffed4439a8b9d21 WHIRLPOOL 6962f3d61f324138aa4f794fa8a1ffc72372144c1a312ad339b48831581373069efbffba697c8697354ce2f5b0f8d95ebef94f59b3beb0f7e78c6a4455eee20d
diff --git a/dev-tex/rail/metadata.xml b/dev-tex/rail/metadata.xml
new file mode 100644
index 000000000000..2295d83ff645
--- /dev/null
+++ b/dev-tex/rail/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>tex@gentoo.org</email>
+ <name>Gentoo TeX Project</name>
+</maintainer>
+<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..a46c1e07fe0c
--- /dev/null
+++ b/dev-tex/rail/rail-1.2_p1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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"
+}