summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/ptexenc')
-rw-r--r--dev-libs/ptexenc/ChangeLog8
-rw-r--r--dev-libs/ptexenc/ptexenc-1.3.2_p20140525-r1.ebuild51
2 files changed, 58 insertions, 1 deletions
diff --git a/dev-libs/ptexenc/ChangeLog b/dev-libs/ptexenc/ChangeLog
index 7fb1d8d2abda..a61ea9bfc83e 100644
--- a/dev-libs/ptexenc/ChangeLog
+++ b/dev-libs/ptexenc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/ptexenc
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/ptexenc/ChangeLog,v 1.44 2014/10/11 10:39:53 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ptexenc/ChangeLog,v 1.45 2014/11/02 09:33:03 aballier Exp $
+
+*ptexenc-1.3.2_p20140525-r1 (02 Nov 2014)
+
+ 02 Nov 2014; Alexis Ballier <aballier@gentoo.org>
+ +ptexenc-1.3.2_p20140525-r1.ebuild:
+ install additional headers needed by texlive 2014
*ptexenc-1.3.2_p20140525 (11 Oct 2014)
diff --git a/dev-libs/ptexenc/ptexenc-1.3.2_p20140525-r1.ebuild b/dev-libs/ptexenc/ptexenc-1.3.2_p20140525-r1.ebuild
new file mode 100644
index 000000000000..cdd42379ff01
--- /dev/null
+++ b/dev-libs/ptexenc/ptexenc-1.3.2_p20140525-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ptexenc/ptexenc-1.3.2_p20140525-r1.ebuild,v 1.1 2014/11/02 09:33:03 aballier Exp $
+
+EAPI=3
+
+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 || die
+ find "${D}" -name '*.la' -delete
+
+ insinto /usr/include/ptexenc
+ doins ptexenc/unicode-jp.h
+ use iconv && doins ptexenc/kanjicnv.h
+
+ dodoc ChangeLog README || die
+}