summaryrefslogtreecommitdiff
path: root/dev-tex/rail
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-04-05 21:17:31 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-04-05 21:17:31 +0100
commitdc7cbdfa65fd814b3b9aa3c56257da201109e807 (patch)
treec85d72f6f31f21f178069c9d41d41a7c1ff4b362 /dev-tex/rail
parent0706fc6986773f4e4d391deff4ad5143c464ea4e (diff)
gentoo resync : 05.04.2019
Diffstat (limited to 'dev-tex/rail')
-rw-r--r--dev-tex/rail/Manifest2
-rw-r--r--dev-tex/rail/rail-1.2_p1-r1.ebuild35
-rw-r--r--dev-tex/rail/rail-1.2_p1.ebuild36
3 files changed, 36 insertions, 37 deletions
diff --git a/dev-tex/rail/Manifest b/dev-tex/rail/Manifest
index 1546753c995c..be1216257126 100644
--- a/dev-tex/rail/Manifest
+++ b/dev-tex/rail/Manifest
@@ -1,3 +1,3 @@
DIST rail-1.2_p1.zip 107773 BLAKE2B 557f1406768a03e049f403798e459a9cf40c231ceda156bac5bfcc8e1df6018428b1a0eeb4c7e518078d96de141c9aa045cabf22d4ffa3ebe16c3a04798c9884 SHA512 8d0178b7beb0f212eb34487b6a285f41d10e776d4294c945e2cc1c163bde44b4d6a38afca952ed0fb9759962f565002d3591f4e098d78d60eb03ae30469483c8
-EBUILD rail-1.2_p1.ebuild 711 BLAKE2B 4e0c7ad26c00cc41cbadb85b8c480dc087f9ffb5a93728cd2f1285da6e7a27cddbbcde428d5702e4e2fd8f2e173c841ca58345d2a349a6339306231b10a4cd08 SHA512 1f844afa3b6831d2363475eaaefab49e467bf6b6b00b9da79abb9700cee5b7dbde8f7b05dc928bfcedd8f1b1fa98648ebd832fbeaa5c63961c764201b01d160e
+EBUILD rail-1.2_p1-r1.ebuild 698 BLAKE2B c27b35a9aeb8956582f3a55b069a855d412f3d34f301d54bad3829ce53d869f084523fe0d09efad8b7bff1999ca9bf3886394b14eeb4959601da20ed5929ac99 SHA512 9b92b87380c4d5da7d211b20830bdf15d4dbc4634eba4faf150692e84ba8d8c3de519d36e549e798e6a09582d2a40b524465ffdc5e30790457320950c9d13c4d
MISC metadata.xml 365 BLAKE2B 8f09704df5e3d6f5d20cc6d823d7809c40ae59b31b2840fdc778389290886052479f5c30724558f8cab3c040f58f2ef625f11f256d5f1136a187dc19acabc95f SHA512 df55351259b21df4030904d6eb7a2f7514002f9946b047d2b8af75cc22d0184f86e029775c8efe127143947fe2bc5fe89c3b8c86f9178970dffed4439a8b9d21
diff --git a/dev-tex/rail/rail-1.2_p1-r1.ebuild b/dev-tex/rail/rail-1.2_p1-r1.ebuild
new file mode 100644
index 000000000000..eb33e29088b4
--- /dev/null
+++ b/dev-tex/rail/rail-1.2_p1-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit latex-package toolchain-funcs
+
+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="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="app-arch/unzip
+ sys-devel/bison
+ sys-devel/flex"
+
+S="${WORKDIR}/${PN}"
+
+src_compile() {
+ emake -j1 \
+ CC="$(tc-getCC)" \
+ CFLAGS="-DYYDEBUG ${CFLAGS} ${LDFLAGS}" \
+ rail rail.dvi
+}
+
+src_install() {
+ local LATEX_PACKAGE_SKIP="try.tex"
+
+ latex-package_src_doinstall sty doc
+ dobin rail
+ newman rail.man rail.1
+}
diff --git a/dev-tex/rail/rail-1.2_p1.ebuild b/dev-tex/rail/rail-1.2_p1.ebuild
deleted file mode 100644
index a46c1e07fe0c..000000000000
--- a/dev-tex/rail/rail-1.2_p1.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# 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"
-}