summaryrefslogtreecommitdiff
path: root/dev-libs/ptexenc/ptexenc-1.3.5_p20170524.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/ptexenc/ptexenc-1.3.5_p20170524.ebuild')
-rw-r--r--dev-libs/ptexenc/ptexenc-1.3.5_p20170524.ebuild50
1 files changed, 0 insertions, 50 deletions
diff --git a/dev-libs/ptexenc/ptexenc-1.3.5_p20170524.ebuild b/dev-libs/ptexenc/ptexenc-1.3.5_p20170524.ebuild
deleted file mode 100644
index 13abee827886..000000000000
--- a/dev-libs/ptexenc/ptexenc-1.3.5_p20170524.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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 arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x64-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
-}