summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2015-07-14 12:49:06 +0000
committerAlexis Ballier <aballier@gentoo.org>2015-07-14 12:49:06 +0000
commitd59392630d02998bf40dc8e343c85bf876bf4a6d (patch)
tree102441ea22a0323cbbabf27cfe7dfc189b1519cc /dev-libs/ptexenc
parentfix previous commit: bump tl-fontsrecommended dep. (diff)
downloadgentoo-2-d59392630d02998bf40dc8e343c85bf876bf4a6d.tar.gz
gentoo-2-d59392630d02998bf40dc8e343c85bf876bf4a6d.tar.bz2
gentoo-2-d59392630d02998bf40dc8e343c85bf876bf4a6d.zip
bump to texlive 2015 version
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'dev-libs/ptexenc')
-rw-r--r--dev-libs/ptexenc/ChangeLog8
-rw-r--r--dev-libs/ptexenc/ptexenc-1.3.3_p20150521.ebuild51
2 files changed, 58 insertions, 1 deletions
diff --git a/dev-libs/ptexenc/ChangeLog b/dev-libs/ptexenc/ChangeLog
index 61816ec8feb7..a841d57d9ab6 100644
--- a/dev-libs/ptexenc/ChangeLog
+++ b/dev-libs/ptexenc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/ptexenc
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/ptexenc/ChangeLog,v 1.47 2015/07/12 17:20:20 zlogene Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ptexenc/ChangeLog,v 1.48 2015/07/14 12:49:06 aballier Exp $
+
+*ptexenc-1.3.3_p20150521 (14 Jul 2015)
+
+ 14 Jul 2015; Alexis Ballier <aballier@gentoo.org>
+ +ptexenc-1.3.3_p20150521.ebuild:
+ bump to texlive 2015 version
12 Jul 2015; Mikle Kolyada <zlogene@gentoo.org>
ptexenc-1.3.2_p20140525-r1.ebuild:
diff --git a/dev-libs/ptexenc/ptexenc-1.3.3_p20150521.ebuild b/dev-libs/ptexenc/ptexenc-1.3.3_p20150521.ebuild
new file mode 100644
index 000000000000..b9e57263f547
--- /dev/null
+++ b/dev-libs/ptexenc/ptexenc-1.3.3_p20150521.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ptexenc/ptexenc-1.3.3_p20150521.ebuild,v 1.1 2015/07/14 12:49:06 aballier Exp $
+
+EAPI=5
+
+inherit libtool
+
+DESCRIPTION="Library for Japanese pTeX providing a better way of handling character encodings"
+HOMEPAGE="http://tutimura.ath.cx/ptexlive/?ptexenc"
+SRC_URI="mirror://gentoo/texlive-${PV#*_p}-source.tar.xz"
+# http://tutimura.ath.cx/~nob/tex/ptexlive/ptexenc/${P}.tar.xz
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x86-macos"
+IUSE="iconv static-libs"
+
+DEPEND="iconv? ( virtual/libiconv )
+ dev-libs/kpathsea"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN}
+
+src_prepare() {
+ default
+
+ # https://bugs.gentoo.org/show_bug.cgi?id=377141
+ sed -i '/^LIBS/s:@LIBS@:@LIBS@ @KPATHSEA_LIBS@:' "${S}"/Makefile.in || die
+
+ cd "${WORKDIR}/texlive-${PV#*_p}-source"
+ S="${WORKDIR}/texlive-${PV#*_p}-source" elibtoolize #sane .so versionning on gfbsd
+}
+
+src_configure() {
+ econf \
+ --with-system-kpathsea \
+ $(use_enable static-libs static) \
+ $(use_enable iconv kanji-iconv)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ find "${D}" -name '*.la' -delete
+
+ insinto /usr/include/ptexenc
+ doins ptexenc/unicode-jp.h
+ use iconv && doins ptexenc/kanjicnv.h
+
+ dodoc ChangeLog README
+}