diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2007-05-11 23:48:41 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2007-05-11 23:48:41 +0000 |
commit | 5bf887f8359ae938fd84623fe0386e62f4594a28 (patch) | |
tree | 0f611798f10e7b3f3240681bd424e1063a28a548 /app-text/dvipdfmx | |
parent | Version bump (again) (diff) | |
download | gentoo-2-5bf887f8359ae938fd84623fe0386e62f4594a28.tar.gz gentoo-2-5bf887f8359ae938fd84623fe0386e62f4594a28.tar.bz2 gentoo-2-5bf887f8359ae938fd84623fe0386e62f4594a28.zip |
Version bumped.
(Portage version: 2.1.2.2)
Diffstat (limited to 'app-text/dvipdfmx')
-rw-r--r-- | app-text/dvipdfmx/ChangeLog | 7 | ||||
-rw-r--r-- | app-text/dvipdfmx/dvipdfmx-20070409.ebuild | 74 | ||||
-rw-r--r-- | app-text/dvipdfmx/files/digest-dvipdfmx-20070409 | 3 |
3 files changed, 83 insertions, 1 deletions
diff --git a/app-text/dvipdfmx/ChangeLog b/app-text/dvipdfmx/ChangeLog index a835a3b09bdb..89c6d50657be 100644 --- a/app-text/dvipdfmx/ChangeLog +++ b/app-text/dvipdfmx/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-text/dvipdfmx # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/dvipdfmx/ChangeLog,v 1.27 2007/03/12 23:49:50 nattfodd Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/dvipdfmx/ChangeLog,v 1.28 2007/05/11 23:48:41 matsuu Exp $ + +*dvipdfmx-20070409 (11 May 2007) + + 11 May 2007; MATSUU Takuto <matsuu@gentoo.org> +dvipdfmx-20070409.ebuild: + Version bumped. 12 Mar 2007; Alexandre Buisse <nattfodd@gentoo.org> metadata.xml: Replaced text-markup by tex as maintaining herd (text-markup split). diff --git a/app-text/dvipdfmx/dvipdfmx-20070409.ebuild b/app-text/dvipdfmx/dvipdfmx-20070409.ebuild new file mode 100644 index 000000000000..70fdb4460bdc --- /dev/null +++ b/app-text/dvipdfmx/dvipdfmx-20070409.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/dvipdfmx/dvipdfmx-20070409.ebuild,v 1.1 2007/05/11 23:48:41 matsuu Exp $ + +inherit eutils + +IUSE="" + +DESCRIPTION="DVI to PDF translator with multi-byte character support" +HOMEPAGE="http://project.ktug.or.kr/dvipdfmx/" +SRC_URI="http://project.ktug.or.kr/dvipdfmx/snapshot/current/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" + +RDEPEND="virtual/tetex + virtual/ghostscript + >=media-libs/libpng-1.2.1 + >=sys-libs/zlib-1.1.4" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" + +has_tetex_3() { + if has_version '>=app-text/tetex-3' || has_version '>=app-text/ptex-3.1.8' ; then + true + else + false + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i -e 's/\(f dvipdfm.map\)/%\1/' \ + -e '/^%% GhostScript (Unix\/Linux)/,+1s/^%//g' \ + data/config/dvipdfmx.cfg || die +} + +src_install() { + # the default directory hierarchy doesn't match our scheme + #make DESTDIR=${D} install || die + + dobin src/dvipdfmx || die + + insinto /usr/share/texmf/dvipdfm + doins data/config/glyphlist.txt || die + + insinto /usr/share/texmf/dvipdfm/config + doins data/config/dvipdfmx.cfg || die + + insinto /usr/share/texmf/fonts/map/dvipdfm + doins "${FILESDIR}"/cid-x.map || die + + insinto /usr/share/texmf/fonts/cmap + doins data/CMap/*-UCS2* + + for res in /usr/share/ghostscript/*/Resource + do + dosym ${res} /usr/share/texmf/fonts/cmap/ghostscript$(basename $(dirname ${res})) + done + dosym /opt/Acrobat7/Resource /usr/share/texmf/fonts/cmap/Acrobat7 + dosym /usr/share/xpdf /usr/share/texmf/fonts/cmap/xpdf + + dodoc AUTHORS ChangeLog README TODO +} + +pkg_postinst() { + has_tetex_3 && texmf-update || mktexlsr +} + +pkg_postrm() { + has_tetex_3 && texmf-update || mktexlsr +} diff --git a/app-text/dvipdfmx/files/digest-dvipdfmx-20070409 b/app-text/dvipdfmx/files/digest-dvipdfmx-20070409 new file mode 100644 index 000000000000..921bb23985ef --- /dev/null +++ b/app-text/dvipdfmx/files/digest-dvipdfmx-20070409 @@ -0,0 +1,3 @@ +MD5 3429510a849f0736ffa78ce6a5b5a3a7 dvipdfmx-20070409.tar.gz 550163 +RMD160 080e31b9cda8cd4c21b3a451f7e40204ec4e1f79 dvipdfmx-20070409.tar.gz 550163 +SHA256 5dee6c177770255e7c8e4b32c73b8e581f62987ed2f417242bcf6ea3d083e141 dvipdfmx-20070409.tar.gz 550163 |