summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2018-06-30 13:31:12 -0400
committerTim Harder <radhermit@gentoo.org>2018-06-30 13:34:31 -0400
commit520dc661d23e781129f034cd575a33c4469b0320 (patch)
treeb787c242104b511f8cc785afdf978eecc2faf7d0 /app-text
parentx11-misc/sxhkd: version bump to 0.5.9 (diff)
downloadgentoo-520dc661d23e781129f034cd575a33c4469b0320.tar.gz
gentoo-520dc661d23e781129f034cd575a33c4469b0320.tar.bz2
gentoo-520dc661d23e781129f034cd575a33c4469b0320.zip
app-text/yodl: version bump to 4.02.01
Update metadata to note move from github to gitlab.
Diffstat (limited to 'app-text')
-rw-r--r--app-text/yodl/Manifest1
-rw-r--r--app-text/yodl/metadata.xml3
-rw-r--r--app-text/yodl/yodl-4.02.01.ebuild48
3 files changed, 50 insertions, 2 deletions
diff --git a/app-text/yodl/Manifest b/app-text/yodl/Manifest
index 15d5396a0426..fea328b3ed94 100644
--- a/app-text/yodl/Manifest
+++ b/app-text/yodl/Manifest
@@ -1,2 +1,3 @@
DIST yodl-4.01.00.tar.gz 288932 BLAKE2B 71491eaedae9cf0b6bc65f1da3065bc2a90e9ff5f527cbac66a714c761e679600635f7f10b0f20b7e1a15413c1930ee6e64e5ec083226058b6c8822e4a445437 SHA512 f195dec8e03b83561b47f9bd00fbb0fe711bbc254c32413d748587d8bf3848e050b90a2140977bec5a335021b2ef49ec5a6b0ca89f1649def495d81c3e7b437f
DIST yodl-4.02.00.tar.gz 308567 BLAKE2B bf64ff7248ddcdc17dec23fe4407c28edf604b76746f13e97dfbb470421c15ca6235747c9ef349925a0293f8503d319a637a11352a2987f161fb2bcab60ddf7e SHA512 ca3a2490bf54a0ce4e800a62a3de9a5cf37df96f0f553de89623ef6d36f07b65b7c09168e77d267d7fb79d900a8e8a6c6d3c17c4b733345001213f5450c02b13
+DIST yodl-4.02.01.tar.gz 308670 BLAKE2B f94c094f17ec99e66f64a704e41814274f61128ff21b11077d772874dcbc9f15fbc878df8831e7f73d9b6c89a497462c694bc0bdb6cd5637c0db08303e3838d5 SHA512 59e23bb173786b8806f56bf302dee9d8d971d0d840c609e2b24d9783b5866fca2509be844616318f9a4f302117b3a41f620be5cba09181e7ccdcf0c141402be7
diff --git a/app-text/yodl/metadata.xml b/app-text/yodl/metadata.xml
index 80759087b9cc..dbb763b1ee5a 100644
--- a/app-text/yodl/metadata.xml
+++ b/app-text/yodl/metadata.xml
@@ -6,7 +6,6 @@
<name>Tim Harder</name>
</maintainer>
<upstream>
- <remote-id type="sourceforge">yodl</remote-id>
- <remote-id type="github">fbb-git/yodl</remote-id>
+ <remote-id type="gitlab">fbb-git/yodl</remote-id>
</upstream>
</pkgmetadata>
diff --git a/app-text/yodl/yodl-4.02.01.ebuild b/app-text/yodl/yodl-4.02.01.ebuild
new file mode 100644
index 000000000000..3ea825807fc1
--- /dev/null
+++ b/app-text/yodl/yodl-4.02.01.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="Your Own Document Language: a pre-document language and tools to process it"
+HOMEPAGE="https://fbb-git.gitlab.io/yodl/ https://gitlab.com/fbb-git/yodl"
+SRC_URI="https://gitlab.com/fbb-git/${PN}/-/archive/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND=">=dev-util/icmake-8.00.00"
+
+S=${WORKDIR}/${P}/${PN}
+
+src_prepare() {
+ sed -e "/DOC.* =/s/yodl\(-doc\)\?/${PF}/" \
+ -e "/COMPILER =/s/gcc/$(tc-getCC)/" \
+ -e "/CXX =/s/g++/$(tc-getCXX)/" \
+ -i INSTALL.im || die
+ sed -i "s/g++/$(tc-getCXX)/" verbinsert/icmconf || die
+
+ sed -e "s/ar r /$(tc-getAR) r /" \
+ -e "s/ranlib/$(tc-getRANLIB)/" \
+ -i icmake/stdcompile || die
+
+ default
+}
+
+src_compile() {
+ ./build programs || die
+ ./build macros || die
+ ./build man || die
+ use doc && { ./build manual || die ; }
+}
+
+src_install() {
+ ./build install programs "${ED}" || die
+ ./build install macros "${ED}" || die
+ ./build install man "${ED}" || die
+ ./build install docs "${ED}" || die
+ use doc && { ./build install manual "${ED}" || die ; }
+}