summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2015-07-15 09:50:24 +0000
committerAlexis Ballier <aballier@gentoo.org>2015-07-15 09:50:24 +0000
commite0af6caf9f019352f9f2c789ab23a9fe28ccf718 (patch)
treef491d6eb09989eed210d391a910082b870d9c24c /dev-libs/kpathsea
parentFix bug 553822, remove old. (diff)
downloadhistorical-e0af6caf9f019352f9f2c789ab23a9fe28ccf718.tar.gz
historical-e0af6caf9f019352f9f2c789ab23a9fe28ccf718.tar.bz2
historical-e0af6caf9f019352f9f2c789ab23a9fe28ccf718.zip
bump to texlive 2015 version
Package-Manager: portage-2.2.20/cvs/Linux x86_64 Manifest-Sign-Key: 0x160F534A
Diffstat (limited to 'dev-libs/kpathsea')
-rw-r--r--dev-libs/kpathsea/ChangeLog8
-rw-r--r--dev-libs/kpathsea/Manifest15
-rw-r--r--dev-libs/kpathsea/kpathsea-6.2.1_p20150521.ebuild110
3 files changed, 126 insertions, 7 deletions
diff --git a/dev-libs/kpathsea/ChangeLog b/dev-libs/kpathsea/ChangeLog
index 5e41ce729f89..33b74c19d604 100644
--- a/dev-libs/kpathsea/ChangeLog
+++ b/dev-libs/kpathsea/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/kpathsea
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/kpathsea/ChangeLog,v 1.47 2015/07/12 17:15:32 zlogene Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/kpathsea/ChangeLog,v 1.48 2015/07/15 09:50:20 aballier Exp $
+
+*kpathsea-6.2.1_p20150521 (15 Jul 2015)
+
+ 15 Jul 2015; Alexis Ballier <aballier@gentoo.org>
+ +kpathsea-6.2.1_p20150521.ebuild:
+ bump to texlive 2015 version
12 Jul 2015; Mikle Kolyada <zlogene@gentoo.org>
kpathsea-6.2.0_p20140525.ebuild:
diff --git a/dev-libs/kpathsea/Manifest b/dev-libs/kpathsea/Manifest
index 73cc5ba97368..907cf5362fb5 100644
--- a/dev-libs/kpathsea/Manifest
+++ b/dev-libs/kpathsea/Manifest
@@ -8,30 +8,33 @@ DIST kpathsea-texmf.d-3.tar.xz 10540 SHA256 44e407b6daecd1a1943f650d2cb412d784b4
DIST kpathsea-texmf.d-4.tar.xz 11148 SHA256 d5cc455db13afb9a229892380f835e57e932aedf8d02c8f12895ce682888b88e SHA512 a2906e4f8ec0fdbe31d618878a0633ab52f8dc71ef31d7608190d1f37bf3003b6d2c204520edc249c0c49b8f7308f24a283ca9510033378442093a8194a7bea5 WHIRLPOOL ba1a9aec8f5c040f7124d0720d2600bdb9253d82c859249c871576ac1c5255b81d0b14c3cd381ff8b2e5aae021e694383f93fee3459603615f7187daef35ec2e
DIST kpathsea-texmf.d-5.tar.xz 11180 SHA256 85d9e1ed697859952a3ba273314f8670454016f3cd1988f0ea17f0cab8630a19 SHA512 23e8134340ae6f10baddef91f642a34c9289d84ccf791bd66779e794cfeed4eeadebd8cb1062e2e545a042e9c64cc9121f893279ddf776aae11c30baffc7f3af WHIRLPOOL b432effa293c410d019b20fa9dc848f3e67b71bb66af27b4e41ed814df688b933ffb30831411358222e170f75c38d2733e671c8224025516cc9c2aed0be8599d
DIST kpathsea-texmf.d-6.tar.xz 11232 SHA256 9aeccecaf9ba51d25147605b10150047e1f8353942e288a4529b6f28bda2bda8 SHA512 7073c7fb25a53414604395ef02f526e556049b4d296d762fe0b78858d82e0122f0b1fa0b8342e8f81c603e1c1f799702235dcdff08bf56797798e29a15581a9e WHIRLPOOL 919281c784c2efe49e7b0b88c2915ebeadda90251718cfa612a98f9dfa4ed01f4e6b5d3de13fc22f22b4b589f77feeb6d3955e461ea54572f283be20f6246ead
+DIST kpathsea-texmf.d-7.tar.xz 11292 SHA256 9cc7563b54ffc5f75f88e120e5eae21643eae5e97a804bea2bee1f2e33bb4472 SHA512 972a370bcc3534542a8392f0e0066d277bd83f68e684f7a02cf46fa490bec6f2a1f9dde04081f965178a019adb220cf44bc8e4d5862ac70597de64ea8a7e5902 WHIRLPOOL 2ac681e84ac5818bb2332bf5ed15d74c3a09f6b78dced71158ecd0a5b4f49991c10bf143c44c1766c80e784d39199a84319dbec4ff8e86eba58f71268613f949
DIST texlive-20110705-source.tar.xz 131207904 SHA256 772d19795fd841737f5b00472810b49d98b3b62373fba67c12c757e95c510da2 SHA512 1efb5713bf80379f5104b41576911a4194d378ce35be5afb568c3b4aff6461b2b22e72fb34bc294021cf14a28d07bab083872f17752441f269f36c50f9363cc1 WHIRLPOOL 11cc5b53dedae8977b5d776f9141a849b23b877b836f56469336018e3529ebbf369c99d534c1d645aa99fe0750968f0089034a232dcf9401967e20afb5ce8dd5
DIST texlive-20120701-source.tar.xz 131904044 SHA256 9666617d5dac3e82578e696835cc9f251ee0a56d162d86dff08659ac5dcb6c81 SHA512 0e8653aa21094e079900d17256f0768ac5514690a3725d96923d5fdc7633484d611441df1af8c674b38b9ce6a8845a9004976cd00635742dfc6837aa433caf5f WHIRLPOOL 9d570a1bd58cca8baed399ab53eb767c7c3db607c00363ce563e14dfccdd235703c538e6a651aa7f2934adf21f8477775f1547f9e7f3d957b89af644c89bcb57
DIST texlive-20130530-source.tar.xz 179963948 SHA256 a905832e4c04dd1cb16db4bb7baacb78fbc19682bd33ac2697a3a85ce78d79d4 SHA512 4aa85273a675af2453f09777b7cb348c18add77410d72f562c6586f6814d4e7c34b6f3690e3453020654fb0a265339fcabf590d9155367d52846224499af334c WHIRLPOOL 3affaf25d3936505d971599092964b0f0e97d107d22dbac6a85ad547e1d2726a6a09c5075fecb0c6ff8c88bc1bd09d78f95902f76eb76c608f8a7bc42dd6bc33
DIST texlive-20140525-source.tar.xz 41657688 SHA256 08bb4eb02923ac65ce1183612c6b64da185904f26a1660f5ca4f902d055795be SHA512 09169af15d806abd721e55ffc20ed684c0a7ad60783272d49fabfe9c88857c4abd15b60f30e3f5511ceda1982fdc1d33db8265f97e374bfa5b250dbb5612f8ad WHIRLPOOL fd7fffeeaf319bca5333f6d5d8d9cc6517f76ffe5b2793a73604d844cb7474d83c23826f98d4d11ea5e1a35c0f273e12b2fe6f5945f9880a9577fedad6625014
+DIST texlive-20150521-source.tar.xz 45459552 SHA256 ed9bcd7bdce899c3c27c16a8c5c3017c4f09e1d7fd097038351b72497e9d4669 SHA512 9d06bb88c489715787ce619c4c6b5e2d4251e1db8d48ae7fe2d1a253634c76bc6d7282ef9c93c77847845cae01eafb58dfb37ba3fb83a6d223f0d7fe8f5d3855 WHIRLPOOL e19e4cf9c6122e8a2e80d3ad62171591a2d53317792ce69d7b2afdd6978d397c873565d597b1457d23ba6f5b5de33750955690a92fb6c34d814c075397b67a0b
DIST texlive-module-kpathsea-2011.tar.xz 31300 SHA256 465bdbd6b3d47287422e53c185614cd28ef4da33fa375537484456e5bbc617a8 SHA512 5cccf0a38454ff3f917ac81e541913fe34edc4ecd2711cc39c344e64c3ee5659b40030b7b7fd7d3b34976070ebfd87c61135a9bdcf2c3837ce42f344ac6c21c3 WHIRLPOOL 7f31053f7885732250251a04c1d1b41dd2b29ff657a1e6138021badd4c5a65d76e3ecaa61af7e514d3fb7ae12b685f1b201d5302a10809842433046682caf22a
DIST texlive-module-kpathsea-2012.tar.xz 30060 SHA256 528044bcea040d00016c5b22c10a856774368ff4d030907a84647a05dadafc08 SHA512 e89d4a37c0b4555a38f20bf9020355f01416a2483ff2b9535343b678442ec8547663da5e2a2fb84c32d4db621bebf7fb878df52e20fb32123985aaa9d61e44cb WHIRLPOOL 3f332ae9f5409370f9966e29418d22a57af7e1e483c6b24828afaeac8644a73dd658418e1d45d487bf8325770113a3c5593351c39852a7374bf85a481179bfc8
DIST texlive-module-kpathsea-2013.tar.xz 30120 SHA256 1891e7c6b57aca72d2b6d749526ee49bffe62f10736875c886d7bc1e02eeb8a0 SHA512 7642cebecf5ebe916aee0f8f19d1740e3e3f234454429cb5f88d550f41ec93e8fbfebdf7de0a893bd22cec17222adc9f8c2e6756dd22b21a34ad181baf0753a9 WHIRLPOOL 8d7be24abc8485d29e3fed363d43d0da5d657d98f3de4f28e6ee2f632b0609b846f26b9ccb82fa86b42a449ce21b75742f63db7fe264a0fe2befb1a6de62055f
DIST texlive-module-kpathsea-2014.tar.xz 30212 SHA256 41b824f75f885f5ec94996230aac840d10403168200ea681d1bd851aab8c661d SHA512 f66a933201fd9d10a47906a4c19c8a54d36a8a1f7be0e2c25a7014e0a52f094c563b6684a2c639ec96ee51aacfd6d725dd77ff50b7d8c6a7c26f45586803c999 WHIRLPOOL e97afa0286f8c4ffb11239172129c805b6d0f845c8cf9e51d1b08045590a8148b3ae3dadc398ffe8558d1e34dc30221351f07f8caf392b5210d0eee0e4b1e130
+DIST texlive-module-kpathsea-2015.tar.xz 30512 SHA256 a026c0880c1884daaeab664cc0e25a6c3325c4d2181cc946b3332716804e4a2a SHA512 7bbb389ce368decdcf8f50a352636e95584e8d6b052cbeb3b0498c88d9147807c37aa0bd81b2860c9cb11d0d0ac4e8a4eef069876fb3ef737c9ac77fac192ab0 WHIRLPOOL 99ae57ca8103eeeaaf38c969a98353fa9dbb7c7edce1389ee7c9a022107157c5193f785b7f8c99f44b66bac6c56b43c0ed06b473b23051db7936fadaa5f6032b
DIST texlive-module-kpathsea.doc-2011.tar.xz 1092812 SHA256 f9588e1ce59dcc434c23ba8b862f6781628ed4c538514cf2070667cf71ff9414 SHA512 42d8091af858a9381449449a30b349e8fae51405d862162682d1f852d7ec49a21caa3e29c907e6261a1843456849bda5a2e2c63988e206d55a92bf002e18c0d0 WHIRLPOOL ccf3ce320231d76cec32f867df39fffbdc88c188a9439798bec01ed86a2c0466c19ac796f40eb8c0b9cb7c708065efc11eb1453c2382560b60d8922fcf32d0c2
DIST texlive-module-kpathsea.doc-2012.tar.xz 1092220 SHA256 df92d722d168a527669e4b093217c6595b1cb30eb65f55bbf80d29745ad9ca3b SHA512 ef455d4cf755bb7aa06f475cfc50dd00343331fb4d985334866121306eda697aed0131b0591efb94bc87710b7eb9bdd9eb0ea4d567779e2684ca33e21e8bf645 WHIRLPOOL 66e76ac53a62e120b3dc39c8e76bac29126d799ba9dc8b5963e6722f6c3c908b2fa04071416d6218f5e4e99ed4852103dc61de7e413d8502f876fecaf7f3ec8d
DIST texlive-module-kpathsea.doc-2013.tar.xz 1086956 SHA256 2697dd13f35e0c51254c0857fecc4cf480d7ab1799325e4996e7a39380b77b38 SHA512 8bab0f70815b0298c62be560974d213c2e29b95bf06181598d976c962e1ecb66da5a3d6facd711adfd70dc1bdb64228b2916cdac568c1165324e348b0adda678 WHIRLPOOL b6ca6dd58b8b4216f4bb256aef4f206b8413afec911d42365ddfc59f10a62b4ef342eeea56ede962236fc90cd4e2a08e27f4705e892b32f8b4b427ecc8d03a4a
DIST texlive-module-kpathsea.doc-2014.tar.xz 998516 SHA256 d3a1829dfaa17955988fe018c84849a2ff9530a313f9394535d97ddd9602a0ae SHA512 12ae3d32930e42f80ff3fa354b3bbce3716cc2cbd682be6d4a72153bff29d28006f1bf1c3d6e945778cd2caf8380fb35cad169da6a0bf1c59f45752d4dcc61cf WHIRLPOOL 159dae0fa66337e22066498ccc3bb79bebaae9b281131921b953a68e728afaa75e13ea999a74db2c6ed981f6eb6073494628c2fe9343bf8e9e96d49eeff06dab
+DIST texlive-module-kpathsea.doc-2015.tar.xz 1004596 SHA256 17d99c5a106ac6340a49c633932f9dedec5b34dcdc71f89a5e9da6bca185ed75 SHA512 1413d6c8a0e1dbf1c50446fcf6b0e3c83e3dd2f35505268c8e7a38d4c8bd97e4c46ec345c4ff9c868a01fd7d5db630498b484224094f0ac96d8f1afaf14b60b7 WHIRLPOOL 826d8601ee677c2832865b8616ce2c4673ed27b821d3537d1ba81d0ec58d770a7ed3dab9dc78be791330baa7100eac033af556cc98b9ca0f795271c1e4ec14b8
EBUILD kpathsea-6.0.1_p20110705.ebuild 3190 SHA256 cdf68bd5c046f710b1844f83526569425e8fbdb43686d8b488f60b4a6b1ea195 SHA512 031162c17518b88a1bed2ebc44259b5d05795e2619fb6b76733236c7b0cce359d9de8ba20f75241790e65ff8177bedad6d69883a13f18f5651bf58a67ff29b33 WHIRLPOOL d272a91be02c0f8262ea83ada66027fbbee4939c54e411595658739d88edd922612f9c9aa6898a7ae67da5e82387e78e821670b536dbf851162a1c904e2d6ae7
EBUILD kpathsea-6.1.0_p20120701.ebuild 3213 SHA256 bda76422c6558e2bada9b0282c021feceae2274d5406434aec7e9991df862677 SHA512 1fecb050de02b966189c0390c1a3fa638f93c630625cf3ea0bb33e682459ccfb927917d0df63f2a9822987fc59c99b55c6495f7c45956fba6d834d499ccc8303 WHIRLPOOL b7fc5cea811282526dd73cb6b50f4d1635a5c29ad4f90d0bc99bff23af8df2365e6e6c2407757035bca63a195003da8de726713ef8970a338bb83fa3177f68f3
EBUILD kpathsea-6.1.1_p20130530.ebuild 3407 SHA256 2c898b52a3aeeda6c819422ecc9be5e25f94f2c4c66942bb4aa38779d48d0ce7 SHA512 0d08473c72883a213deaaa1276c338c5bdd375a9584eb142713537f055f40e4f49d0bad656cf9163577ae380215d4202242f1616252ab16ad2ac7c9b41c27171 WHIRLPOOL a777304ad1700321da37645193822fbf83d9d3e5981fc9ab948ac1e6bdc003436d88e975dd12ea951f40c762240095c34268ed4a55c7ac06d05b8dc12e197882
EBUILD kpathsea-6.2.0_p20140525.ebuild 3410 SHA256 b293fa4a5adc90cd7e0b23115bf7682d121d650c5017e6e387254fdb37a26495 SHA512 fb04fbe111e5ecc437fc862f52ef4af1bfe792c135080aa28e8c338f86a3804a8bb4a262054789d0d9fd0f9838980395240ff4fbd33b9a93641fdfddd5d88879 WHIRLPOOL 9a212c21a2ef6dd4d34bec6cf167c6be9527d36b92c0376ec96582348f417383088ef144880f0478a4e6dd9af51c9ca9373225d01b429e1273efd52022b4e708
-MISC ChangeLog 6875 SHA256 4b088007b7934530fa55b9cf1003b2857cc440f2b5599a36faa208c2862211b9 SHA512 16da81c05946772cd0f4a8cd87ba18a96a8e652e29b8fe8c1f71e033a461ac7f4b9ccde0378be6b9814e6f9c1594561eaaf872718b2db069627532e04ce08049 WHIRLPOOL 52eec212672ca5a5e763c1be6515ac2350955e6b15976a23039e9f47288903ca03fb5cb8cf7ccee3e554fd57d433d16e0140261572d2a687cf08588cd6a16092
+EBUILD kpathsea-6.2.1_p20150521.ebuild 3413 SHA256 5243c88f84af91905325e63ceab6034e2e0c385184a4265050450f6fdf49d1a7 SHA512 c07911123fe38cfd5576dab5afc493ae064d5e7d0c4d2d422a0e665845f9407deb1c495330dc646796b3c1256de9676fafc30864da1fda7a0a09e57321242fb4 WHIRLPOOL 1de21b70a80c7ff37e0ef66c29eef906ec449eff487c852b66c81792a5b9ed9d0f5f74933a0f9e10e993e5b1a0a65b455326faa4018a88f7ab30552a88acc413
+MISC ChangeLog 7037 SHA256 79e51144fb390cbc8917c4c95cf6d17997d77e7ffbd5823ea33c9fcbc938f300 SHA512 fc428932a8c7b6197ea80ef1ad881052e038536ada012c115077e12c10d139a864d8b076176e928fb62ef9c01df9a74b0ad82fb3fb7f0bde7cece2e38b5b3b9d WHIRLPOOL 112b8149b6ea9670f18d183b2d917f530cb69a7b5dbf0735fcdd687538740029c08e83eb7685f68317273dd8f32ade1ae14999d9d393d2c4c251885a6cb867bb
MISC metadata.xml 254 SHA256 78294df0a1d0e815b05f968bb43c4272d420e3025a38ea2d4fe6193a918a8e10 SHA512 1d0e4d92def0b0187a09480fb289fecf98812c95736ef3772e0763a1572181f6f31ae558b1dd9bdcfad3bf3768440122ee774ec56f1a9d4b18103a8a8efcb6d0 WHIRLPOOL c033be17e138d0533bd36185df412dc39ed32269b8875e53417f9e320461e7dcf9133479f2497cbaa3ef579dd65b7ac25490976c7c9a3250fc606e5448415268
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iJwEAQEIAAYFAlWioDIACgkQG9wOWsQutdaPIAP/SWyM63kXtKUtkIH1RgX8LM8T
-gJLlOZ3dS+v/MQLyWE0u6F8nXG9VDdLpmIFPpKuvmcVgKFAxXuD1E84/VcB7M/uY
-tTR90JvWh3lKQ4TkVqS7aUKGELVHPmaY7RQ6/UEOSDwR67ImplYukt0Pv7UIKH6x
-agGieyIeEM8L4NUzl4g=
-=Qsbe
+iEYEAREIAAYFAlWmLN0ACgkQvFcC4BYPU0o18QCeL+BAt8ASdhWPEMJA8LdoFeV2
+Ir8AoJrVm1dYU31K6Ub0Ghqum6pTo5+w
+=81Uw
-----END PGP SIGNATURE-----
diff --git a/dev-libs/kpathsea/kpathsea-6.2.1_p20150521.ebuild b/dev-libs/kpathsea/kpathsea-6.2.1_p20150521.ebuild
new file mode 100644
index 000000000000..0ced0b49f587
--- /dev/null
+++ b/dev-libs/kpathsea/kpathsea-6.2.1_p20150521.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/kpathsea/kpathsea-6.2.1_p20150521.ebuild,v 1.1 2015/07/15 09:50:20 aballier Exp $
+
+EAPI=5
+
+inherit texlive-common eutils libtool prefix
+
+TEXMFD_VERSION="7"
+
+DESCRIPTION="Library implementing generic path searching, configuration, and TeX-specific file searching"
+HOMEPAGE="http://tug.org/texlive/"
+SRC_URI="mirror://gentoo/texlive-${PV#*_p}-source.tar.xz
+ mirror://gentoo/${PN}-texmf.d-${TEXMFD_VERSION}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0/${PV%_p*}"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="doc source static-libs"
+
+DEPEND="!<app-text/texlive-core-2013
+ !app-text/ptex"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN}
+
+TL_VERSION=2015
+EXTRA_TL_MODULES="kpathsea"
+EXTRA_TL_DOC_MODULES="kpathsea.doc"
+
+for i in ${EXTRA_TL_MODULES} ; do
+ SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${TL_VERSION}.tar.xz"
+done
+
+SRC_URI="${SRC_URI} doc? ( "
+for i in ${EXTRA_TL_DOC_MODULES} ; do
+ SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${TL_VERSION}.tar.xz"
+done
+SRC_URI="${SRC_URI} ) "
+
+TEXMF_PATH=/usr/share/texmf-dist
+
+src_prepare() {
+ cd "${WORKDIR}/texlive-${PV#*_p}-source"
+ S="${WORKDIR}/texlive-${PV#*_p}-source" elibtoolize #sane .so versionning on gfbsd
+ cp "${FILESDIR}/texmf-update-r1" "${S}"/texmf-update
+ eprefixify "${S}"/texmf-update
+}
+
+src_configure() {
+ # Too many regexps use A-Z a-z constructs, what causes problems with locales
+ # that don't have the same alphabetical order than ascii. Bug #347798
+ # So we set LC_ALL to C in order to avoid problems.
+ export LC_ALL=C
+
+ # Disable largefile because it seems to cause problems on big endian 32 bits
+ # systems...
+ econf \
+ --disable-largefile \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ emake DESTDIR="${D}" web2cdir="${EPREFIX}/usr/share/texmf-dist/web2c" install
+ find "${D}" -name '*.la' -delete
+
+ dodir /usr/share # just in case
+ cp -pR "${WORKDIR}"/texmf-dist "${ED}/usr/share/" || die "failed to install texmf trees"
+ if use source ; then
+ cp -pR "${WORKDIR}"/tlpkg "${ED}/usr/share/" || die "failed to install tlpkg files"
+ fi
+
+ # The default configuration expects it to be world writable, bug #266680
+ # People can still change it with texconfig though.
+ dodir /var/cache/fonts
+ fperms 1777 /var/cache/fonts
+
+ # Take care of fmtutil.cnf and texmf.cnf
+ dodir /etc/texmf/{fmtutil.d,texmf.d}
+
+ # Remove default texmf.cnf to ship our own, greatly based on texlive dvd's
+ # texmf.cnf
+ # It will also be generated from /etc/texmf/texmf.d files by texmf-update
+ rm -f "${ED}${TEXMF_PATH}/web2c/texmf.cnf"
+
+ insinto /etc/texmf/texmf.d
+ doins "${WORKDIR}/texmf.d/"*.cnf
+
+ # Remove fmtutil.cnf, it will be regenerated from /etc/texmf/fmtutil.d files
+ # by texmf-update
+ rm -f "${ED}${TEXMF_PATH}/web2c/fmtutil.cnf"
+
+ dosym /etc/texmf/web2c/fmtutil.cnf ${TEXMF_PATH}/web2c/fmtutil.cnf
+ dosym /etc/texmf/web2c/texmf.cnf ${TEXMF_PATH}/web2c/texmf.cnf
+
+ newsbin "${S}/texmf-update" texmf-update
+
+ # Keep it as that's where the formats will go
+ keepdir /var/lib/texmf
+
+ dodoc ChangeLog NEWS PROJECTS README
+}
+
+pkg_postinst() {
+ etexmf-update
+}
+
+pkg_postrm() {
+ etexmf-update
+}