summaryrefslogtreecommitdiff
path: root/dev-tex/latexmk
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-tex/latexmk
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-tex/latexmk')
-rw-r--r--dev-tex/latexmk/Manifest18
-rw-r--r--dev-tex/latexmk/files/completion.bash-245
-rw-r--r--dev-tex/latexmk/latexmk-435.ebuild30
-rw-r--r--dev-tex/latexmk/latexmk-441.ebuild29
-rw-r--r--dev-tex/latexmk/latexmk-443a.ebuild29
-rw-r--r--dev-tex/latexmk/latexmk-444.ebuild29
-rw-r--r--dev-tex/latexmk/latexmk-445.ebuild29
-rw-r--r--dev-tex/latexmk/latexmk-448.ebuild29
-rw-r--r--dev-tex/latexmk/latexmk-452c.ebuild29
-rw-r--r--dev-tex/latexmk/latexmk-453a.ebuild29
-rw-r--r--dev-tex/latexmk/metadata.xml8
11 files changed, 304 insertions, 0 deletions
diff --git a/dev-tex/latexmk/Manifest b/dev-tex/latexmk/Manifest
new file mode 100644
index 000000000000..24901571de41
--- /dev/null
+++ b/dev-tex/latexmk/Manifest
@@ -0,0 +1,18 @@
+AUX completion.bash-2 1540 BLAKE2B 95b81acb67eb3eca85be33a303fbba2f6558e7683989b5a1e71493d0ff649848d16650fbc1477dae707a24b9dd4342d8a925817efb8570971ffca9b2b9076824 SHA512 67432b66ffe6bfbd8d3155776a17d5bddd95b08f9d4c4394c913a90aa93ce51201084d1af11bd6886558296d8808a2e4cfe07d9d8a0b91b1b7a9f890bd78ae45
+DIST latexmk-435.zip 386766 BLAKE2B fe3e6495f75b12ffe6740297ca23fa1f15cc01bdaa6cc5a2db41122ac2b13e257339932db0278bfa4d1d6168b7ab55caed1185f3ad49dbdd0727450d753ae012 SHA512 ff8f88c261e2b90663d979ddcb373f777fd3ad4b125ab703052867b4896257b34033ed2a07fd4574da526d839449512ccc898bcb9aaf81ae5afb442dcb8622be
+DIST latexmk-441.zip 425737 BLAKE2B 828d43915037eebc474e9b9a2018504f225b9ae7ee21813137f8475470349c37dce6458fdd715afabff14c55dcf91a311b960ed1e08856454abb91b2a3525770 SHA512 b9b65ebda1edc6f1f2692f7c8f02eeeac07dc2bd2f5d96c763615a9e27918069ba65809e5e61580e541420bf1f8d7edc451ad3f1753d43e9596175fdb3571a73
+DIST latexmk-443a.zip 434070 BLAKE2B adc099c8d26504e47ac2f52e2c2178e2abf25e1f22e1496dedf123013592dfbec79647b0eec33a5339c5fa8da2869d1dd938d548697be903c446bb977183cc86 SHA512 9791bea6341f92988b6a7bdc4cd1587d1b8c6e013d9e7a3be219ea4045a8f95971072cf6633998839c35a462b2e5843adf3d5893519f1f6c2bd4ecf81314b2c0
+DIST latexmk-444.zip 446413 BLAKE2B 321d1652a47ca92643d6f3254e4da50fcc4d09cb09c0ff1d672e3868bfb38147f811da6d587d3601f17c775aaf2f896f2b0975294fad61a03a498ad1290b2382 SHA512 9a3237e4a31ce3ee0002370b16226909ee5389fdd081b0a3d37dce2f960bb2ea64eb4bd3e262f2a87766cc8401bf749d98267e6659ea0ce8c334db9e156d2128
+DIST latexmk-445.zip 447045 BLAKE2B 16caa95f1331468a0e535899b9e5c8fb1e3bcd6b7ee113e7509018b0468c001f9d4fa51158a7a18fea24daf346f7823cac4e8887b82fb3230e5c62cc558d0bc3 SHA512 1441d4d1c0112f3cf64067ed8b661554b0ad6fcbb84316d9cbb84c84220d7f99fcbcad27f8686946aaccf6ba184471d5ea774e594e2f3a6632fcdca6ca8e63b3
+DIST latexmk-448.zip 452245 BLAKE2B 4b033a6eecdb366e4e5e4b8accfc839e7638c1fa79091eb9888bfdb393e6df01edec5ac11cbff5b0c9dbf28c1783f0108372c240f45305329189abedc211af8d SHA512 cfa5c4a95a902baf1d4c56303500e5d54369b68abaa52e904a62bbeaeeb356bfe711ea040f0f02067a40e3fc88a12b46136a3a6d9708a34c177a4bae0bb6b986
+DIST latexmk-452c.zip 391327 BLAKE2B 1cde3f3005382958bba10c6bd513e3887eefeff5114bc5ed327a528c56b3b77bf9a1b51907c8bab0d50817f6bee63d15b4373e83799231a815000f6b797c0053 SHA512 164837066a285e3ffca938eb735c35b253b2dba2addf1ae2b2db5155b0586f6f4e626faf86eb630f97ce296c03c5c1c2f0f3c61445a75b9132aff009d683aeba
+DIST latexmk-453a.zip 368805 BLAKE2B 5bca05dd0196c43a1cc1e58e8036b66d8ce5825e2fc53e824cf6028c47ab4c420f0cff6b9e2ca205377d1784ce955bd24ba1be1a89f304b296550b5ca76d40c3 SHA512 401789383f75ecd78820dadf968e60ede762be0d9a781488e07a0a8239e213ae04959777a6ea87fc6b2bb64315ce00bdda25f7f25542370b5edf2ae5af9ba46e
+EBUILD latexmk-435.ebuild 823 BLAKE2B f76d57c1dca70970280442aad0aea880c1efd319d6b3210cd8e601cd9d67d02302cc70bf412e1c83fab703382707a81a4c8357d484de191e35db1d0f63b6af69 SHA512 1c291ff62796125eb6cdcf9aa0c975cacc7b709f5d96820a87bd7505f93bb1cf8d627f830bf5ba8ffcf4d72c92f923f338c2a782ab7c0a8f06d185540bfba073
+EBUILD latexmk-441.ebuild 826 BLAKE2B fac6e4aa6eefd05ba8eb1237ae562f034e35f729ad919ff2a8212520a733e93398d6aefc0fd3c00d90415a401a700ebe442633964971b9ef7cf416b8eee9459f SHA512 605699979bfb4fdfcc9a1dbd532a1b1e66c4bcb96279231621218358664bdc1337a69b196875f11f7516ededfb2d9825c2303fa9fda890c33f00d6bccb4c8f13
+EBUILD latexmk-443a.ebuild 834 BLAKE2B 794c6d22827bc35c98523933fbc511a9fcdc481c70529efadc55cb0813db96cfeb29fcaff7b31abb55f096a0683f67399e3d3ef5be95ebf09244dc7f7bb0191b SHA512 fd900c71322366f046476326de83ba0388fc8ae0dc18a11e66dcf7cc1a177a98b5202d099f3196131a02b0b41483211c42cdd1fb137fa14629c57e66a0a007ba
+EBUILD latexmk-444.ebuild 834 BLAKE2B 078d5f77c875944fac14b109faf77a47823b8395e1e0d9370a4330185b666cca15884af6494d142aa55cc359eedbfe5c44d1038afc393c8864828b8b9ff8b0d6 SHA512 728f54035bb904e8355a5cd87a0b8548dcb567e65871d6c40ae587e3cd177137259f59474851e7b7041e753a4b53073e713110336c4dc4e784fe9162fe9c698f
+EBUILD latexmk-445.ebuild 834 BLAKE2B 078d5f77c875944fac14b109faf77a47823b8395e1e0d9370a4330185b666cca15884af6494d142aa55cc359eedbfe5c44d1038afc393c8864828b8b9ff8b0d6 SHA512 728f54035bb904e8355a5cd87a0b8548dcb567e65871d6c40ae587e3cd177137259f59474851e7b7041e753a4b53073e713110336c4dc4e784fe9162fe9c698f
+EBUILD latexmk-448.ebuild 834 BLAKE2B 078d5f77c875944fac14b109faf77a47823b8395e1e0d9370a4330185b666cca15884af6494d142aa55cc359eedbfe5c44d1038afc393c8864828b8b9ff8b0d6 SHA512 728f54035bb904e8355a5cd87a0b8548dcb567e65871d6c40ae587e3cd177137259f59474851e7b7041e753a4b53073e713110336c4dc4e784fe9162fe9c698f
+EBUILD latexmk-452c.ebuild 830 BLAKE2B 5915d23d18d9dcd0a8259f1d8e10f32d2bc581d93c2ee963c868b7c2114b7ae9fae90d197d7a29bf1203b29afecaf5abf439f7cc87671bf5cdac76dc4192823a SHA512 e3d1ef467665ff76428284031cc29d9ee4d9c6660a4b03a838adca2cce17184cc44808bd062d0df36056f21e5fa11fa22db46febb40976fb109d8a4fee57b9ad
+EBUILD latexmk-453a.ebuild 830 BLAKE2B 5915d23d18d9dcd0a8259f1d8e10f32d2bc581d93c2ee963c868b7c2114b7ae9fae90d197d7a29bf1203b29afecaf5abf439f7cc87671bf5cdac76dc4192823a SHA512 e3d1ef467665ff76428284031cc29d9ee4d9c6660a4b03a838adca2cce17184cc44808bd062d0df36056f21e5fa11fa22db46febb40976fb109d8a4fee57b9ad
+MISC metadata.xml 249 BLAKE2B 1b34ce77c092c0664a18f32525d158d41bf36ab7ab7a4b9d01ed37e1e3dda3d58849d5b1375065c4e5591f6b09b2a93e88a624d399c495a0b1125edb30ec172f SHA512 895325641a176c848988fb5f36cdb567b584d22f6e778b3de674de480cbca30b7cf8f12ecbbe1173a63e3229889e1e0f5efd5afea4f0d4c429ac236598f80f1e
diff --git a/dev-tex/latexmk/files/completion.bash-2 b/dev-tex/latexmk/files/completion.bash-2
new file mode 100644
index 000000000000..942378fff0f6
--- /dev/null
+++ b/dev-tex/latexmk/files/completion.bash-2
@@ -0,0 +1,45 @@
+#! /bin/bash
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# bash_completion for latexmk
+#
+#
+# Author: Christoph Junghans
+# junghans@gentoo.org
+#
+# Revision history:
+# 0.1 26-05-10 --- initial version
+# 0.2 15-02-11 --- clean up
+#
+# HOWTO:
+# source this file to enable it
+
+_latexmk()
+{
+ local cur output aopts opts prev
+ cur=${COMP_WORDS[COMP_CWORD]}
+ prev=${COMP_WORDS[COMP_CWORD-1]}
+
+ output=$( $1 -help 2> /dev/null)
+ #options with args ,pattern: ^ (-XXX) <YYYY>.*$
+ aopts=" $( echo " $output" | sed -n 's/^[[:space:]]\+\(-[^[:space:]]\+\)[[:space:]]\+<[^>]\+>.*$/\1/p' | sort -u | tr '\n' ' ')"
+ #if previous option in in $aopts
+ if [[ -n "$prev" ]] && [[ -z "${aopts//* $prev *}" ]]; then
+ #argument of $prev ,pattern: ^ -XXX (<YYYY>).*$
+ opts=$(echo "$output" | sed -n "s/^[[:space:]]\+$prev[[:space:]]\+\(<[^>]\+>\).*\$/\1/p")
+ COMPREPLY=( $( compgen -W '$opts' -- $cur ) )
+ elif [[ "$cur" == -* ]]; then
+ #all options, pattern: ^ (-XXX).*$
+ opts=$( echo "$output" | sed -n 's/^[[:space:]]\+\(-[^[:space:]]\+\).*$/\1/p'| sort -u )
+ COMPREPLY=( $( compgen -W '$opts' -- $cur ) )
+ else
+ #filenames *.tex and dirs, rest is done by '-o filenames' below
+ COMPREPLY=( $( eval compgen -f -X "!*.tex" -- ${cur} ) $( compgen -d -- $cur ) )
+ fi
+}
+
+complete -F _latexmk -o filenames latexmk
diff --git a/dev-tex/latexmk/latexmk-435.ebuild b/dev-tex/latexmk/latexmk-435.ebuild
new file mode 100644
index 000000000000..99f3315db4bb
--- /dev/null
+++ b/dev-tex/latexmk/latexmk-435.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit bash-completion-r1
+
+DESCRIPTION="Perl script for automatically building LaTeX documents"
+HOMEPAGE="http://www.phys.psu.edu/~collins/software/latexmk/"
+SRC_URI="http://www.phys.psu.edu/~collins/software/latexmk/${P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE=""
+
+RDEPEND="virtual/latex-base
+ dev-lang/perl"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S=${WORKDIR}
+
+src_install() {
+ newbin latexmk.pl latexmk
+ doman latexmk.1
+ dodoc CHANGES README latexmk.pdf latexmk.ps latexmk.txt
+ dodoc -r example_rcfiles extra-scripts
+ newbashcomp "${FILESDIR}"/completion.bash-2 ${PN}
+}
diff --git a/dev-tex/latexmk/latexmk-441.ebuild b/dev-tex/latexmk/latexmk-441.ebuild
new file mode 100644
index 000000000000..065aa530a2e8
--- /dev/null
+++ b/dev-tex/latexmk/latexmk-441.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit bash-completion-r1
+
+DESCRIPTION="Perl script for automatically building LaTeX documents"
+HOMEPAGE="http://www.phys.psu.edu/~collins/software/latexmk/"
+SRC_URI="http://www.phys.psu.edu/~collins/software/latexmk/${P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
+
+RDEPEND="virtual/latex-base
+ dev-lang/perl"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S=${WORKDIR}
+
+src_install() {
+ newbin latexmk.pl latexmk
+ doman latexmk.1
+ dodoc CHANGES README latexmk.pdf latexmk.ps latexmk.txt
+ dodoc -r example_rcfiles extra-scripts
+ newbashcomp "${FILESDIR}"/completion.bash-2 ${PN}
+}
diff --git a/dev-tex/latexmk/latexmk-443a.ebuild b/dev-tex/latexmk/latexmk-443a.ebuild
new file mode 100644
index 000000000000..030e3dd76a43
--- /dev/null
+++ b/dev-tex/latexmk/latexmk-443a.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit bash-completion-r1
+
+DESCRIPTION="Perl script for automatically building LaTeX documents"
+HOMEPAGE="http://www.phys.psu.edu/~collins/software/latexmk/"
+SRC_URI="http://www.phys.psu.edu/~collins/software/latexmk/${P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
+
+RDEPEND="virtual/latex-base
+ dev-lang/perl"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S="${WORKDIR}/${PN}"
+
+src_install() {
+ newbin latexmk.pl latexmk
+ doman latexmk.1
+ dodoc CHANGES README latexmk.pdf latexmk.ps latexmk.txt
+ dodoc -r example_rcfiles extra-scripts
+ newbashcomp "${FILESDIR}"/completion.bash-2 ${PN}
+}
diff --git a/dev-tex/latexmk/latexmk-444.ebuild b/dev-tex/latexmk/latexmk-444.ebuild
new file mode 100644
index 000000000000..23727f55b0c6
--- /dev/null
+++ b/dev-tex/latexmk/latexmk-444.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit bash-completion-r1
+
+DESCRIPTION="Perl script for automatically building LaTeX documents"
+HOMEPAGE="http://www.phys.psu.edu/~collins/software/latexmk/"
+SRC_URI="http://www.phys.psu.edu/~collins/software/latexmk/${P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
+
+RDEPEND="virtual/latex-base
+ dev-lang/perl"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S="${WORKDIR}/${PN}"
+
+src_install() {
+ newbin latexmk.pl latexmk
+ doman latexmk.1
+ dodoc CHANGES README latexmk.pdf latexmk.ps latexmk.txt
+ dodoc -r example_rcfiles extra-scripts
+ newbashcomp "${FILESDIR}"/completion.bash-2 ${PN}
+}
diff --git a/dev-tex/latexmk/latexmk-445.ebuild b/dev-tex/latexmk/latexmk-445.ebuild
new file mode 100644
index 000000000000..23727f55b0c6
--- /dev/null
+++ b/dev-tex/latexmk/latexmk-445.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit bash-completion-r1
+
+DESCRIPTION="Perl script for automatically building LaTeX documents"
+HOMEPAGE="http://www.phys.psu.edu/~collins/software/latexmk/"
+SRC_URI="http://www.phys.psu.edu/~collins/software/latexmk/${P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
+
+RDEPEND="virtual/latex-base
+ dev-lang/perl"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S="${WORKDIR}/${PN}"
+
+src_install() {
+ newbin latexmk.pl latexmk
+ doman latexmk.1
+ dodoc CHANGES README latexmk.pdf latexmk.ps latexmk.txt
+ dodoc -r example_rcfiles extra-scripts
+ newbashcomp "${FILESDIR}"/completion.bash-2 ${PN}
+}
diff --git a/dev-tex/latexmk/latexmk-448.ebuild b/dev-tex/latexmk/latexmk-448.ebuild
new file mode 100644
index 000000000000..23727f55b0c6
--- /dev/null
+++ b/dev-tex/latexmk/latexmk-448.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit bash-completion-r1
+
+DESCRIPTION="Perl script for automatically building LaTeX documents"
+HOMEPAGE="http://www.phys.psu.edu/~collins/software/latexmk/"
+SRC_URI="http://www.phys.psu.edu/~collins/software/latexmk/${P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
+
+RDEPEND="virtual/latex-base
+ dev-lang/perl"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S="${WORKDIR}/${PN}"
+
+src_install() {
+ newbin latexmk.pl latexmk
+ doman latexmk.1
+ dodoc CHANGES README latexmk.pdf latexmk.ps latexmk.txt
+ dodoc -r example_rcfiles extra-scripts
+ newbashcomp "${FILESDIR}"/completion.bash-2 ${PN}
+}
diff --git a/dev-tex/latexmk/latexmk-452c.ebuild b/dev-tex/latexmk/latexmk-452c.ebuild
new file mode 100644
index 000000000000..543528b5cb9d
--- /dev/null
+++ b/dev-tex/latexmk/latexmk-452c.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit bash-completion-r1
+
+DESCRIPTION="Perl script for automatically building LaTeX documents"
+HOMEPAGE="http://www.phys.psu.edu/~collins/software/latexmk/"
+SRC_URI="http://www.phys.psu.edu/~collins/software/latexmk/${P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
+
+RDEPEND="virtual/latex-base
+ dev-lang/perl"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S="${WORKDIR}/${PN}"
+
+src_install() {
+ newbin latexmk.pl latexmk
+ doman latexmk.1
+ dodoc CHANGES README latexmk.pdf latexmk.txt
+ dodoc -r example_rcfiles extra-scripts
+ newbashcomp "${FILESDIR}"/completion.bash-2 ${PN}
+}
diff --git a/dev-tex/latexmk/latexmk-453a.ebuild b/dev-tex/latexmk/latexmk-453a.ebuild
new file mode 100644
index 000000000000..543528b5cb9d
--- /dev/null
+++ b/dev-tex/latexmk/latexmk-453a.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit bash-completion-r1
+
+DESCRIPTION="Perl script for automatically building LaTeX documents"
+HOMEPAGE="http://www.phys.psu.edu/~collins/software/latexmk/"
+SRC_URI="http://www.phys.psu.edu/~collins/software/latexmk/${P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
+
+RDEPEND="virtual/latex-base
+ dev-lang/perl"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S="${WORKDIR}/${PN}"
+
+src_install() {
+ newbin latexmk.pl latexmk
+ doman latexmk.1
+ dodoc CHANGES README latexmk.pdf latexmk.txt
+ dodoc -r example_rcfiles extra-scripts
+ newbashcomp "${FILESDIR}"/completion.bash-2 ${PN}
+}
diff --git a/dev-tex/latexmk/metadata.xml b/dev-tex/latexmk/metadata.xml
new file mode 100644
index 000000000000..7b4a61aab741
--- /dev/null
+++ b/dev-tex/latexmk/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>