summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2003-10-09 19:22:33 +0000
committerMamoru Komachi <usata@gentoo.org>2003-10-09 19:22:33 +0000
commit3980b214571cb28ba33ddb0b24f72f82a2e463fa (patch)
tree5fddfae52e4fa192a1701390c555eefd0cc0f3c8 /app-text/dvipdfmx
parentVersion bumped. (diff)
downloadhistorical-3980b214571cb28ba33ddb0b24f72f82a2e463fa.tar.gz
historical-3980b214571cb28ba33ddb0b24f72f82a2e463fa.tar.bz2
historical-3980b214571cb28ba33ddb0b24f72f82a2e463fa.zip
Version bumped.
Diffstat (limited to 'app-text/dvipdfmx')
-rw-r--r--app-text/dvipdfmx/Manifest5
-rw-r--r--app-text/dvipdfmx/dvipdfmx-20031009.ebuild61
-rw-r--r--app-text/dvipdfmx/files/digest-dvipdfmx-200310091
-rw-r--r--app-text/dvipdfmx/files/dvipdfmx-20031009-gentoo.diff12
4 files changed, 77 insertions, 2 deletions
diff --git a/app-text/dvipdfmx/Manifest b/app-text/dvipdfmx/Manifest
index 9e7590f0c6e5..1d6c84c0cfda 100644
--- a/app-text/dvipdfmx/Manifest
+++ b/app-text/dvipdfmx/Manifest
@@ -1,10 +1,11 @@
MD5 cdd44376f167de2798f3a8ad0ee6adc8 metadata.xml 849
-MD5 a5158b92672f65f38d6efcd52e84845e ChangeLog 1049
+MD5 f7098181593bed7371afbf2eb399d9f1 ChangeLog 1221
MD5 b9f28c566ae2b298931bef17180c39c5 dvipdfmx-20030728.ebuild 1872
MD5 e6508d5fc4b7b359145dcd44ece06fc1 dvipdfmx-20030813.ebuild 1831
-MD5 e6508d5fc4b7b359145dcd44ece06fc1 dvipdfmx-20031009.ebuild 1831
+MD5 63f31866ef2abf8adfb3ad7411852e58 dvipdfmx-20031009.ebuild 1376
MD5 92c72fa573cc873b27c1b85ef1d058ea files/digest-dvipdfmx-20030728 69
MD5 57a3e1944e8c3975a7f9d7387dcd7f96 files/dvipdfmx-20030728-gentoo.diff 502
MD5 52233a4d918101ea5b1cf3e9790fe40a files/dvipdfmx-20030813-gentoo.diff 502
MD5 dc6eda84292a5c463fc81e16bd56dcf8 files/digest-dvipdfmx-20030813 69
MD5 d50ea1fb67f829e9c75b1366ecdd479e files/digest-dvipdfmx-20031009 69
+MD5 e3a978c6844605fa75e78f42a40b6948 files/dvipdfmx-20031009-gentoo.diff 414
diff --git a/app-text/dvipdfmx/dvipdfmx-20031009.ebuild b/app-text/dvipdfmx/dvipdfmx-20031009.ebuild
new file mode 100644
index 000000000000..d3ae861f08a4
--- /dev/null
+++ b/app-text/dvipdfmx/dvipdfmx-20031009.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/dvipdfmx/dvipdfmx-20031009.ebuild,v 1.1 2003/10/09 19:22:27 usata Exp $
+
+IUSE=""
+
+DESCRIPTION="DVI to PDF translator with multi-byte character support"
+SRC_URI="http://project.ktug.or.kr/dvipdfmx/snapshot/${P}.tar.gz"
+HOMEPAGE="http://project.ktug.or.kr/dvipdfmx/"
+
+KEYWORDS="~x86 ~alpha ~ppc ~sparc"
+SLOT="0"
+LICENSE="GPL-2"
+
+DEPEND="app-text/ptex
+ !app-text/tetex
+ >=sys-apps/sed-4
+ >=media-libs/libpng-1.2.1
+ >=sys-libs/zlib-1.1.4
+ >=dev-libs/openssl-0.9.6i"
+
+S=${WORKDIR}/${P}
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-gentoo.diff
+}
+
+src_install () {
+ einstall || die
+
+ dodoc BUGS COPYING ChangeLog FONTMAP INSTALL README TODO
+}
+
+pkg_postinst () {
+
+ einfo
+ einfo "Automatically adding CMAPINPUTS to /usr/share/texmf/web2c/texmf.cnf"
+ if [ ! `grep -q CMAPINPUTS /usr/share/texmf/web2c/texmf.cnf` ]; then
+ cat >>/usr/share/texmf/web2c/texmf.cnf<<-EOF
+ % automatically added by ${PF}.ebuild -- do not edit by hand!
+ CMAPINPUTS = .;/opt/Acrobat5/Resource/Font//;/usr/share/xpdf//
+ % done
+ EOF
+ fi
+
+ sleep 3
+ einfo "Done."
+ einfo
+
+ mktexlsr
+}
+
+pkg_postrm () {
+ if [ -e /usr/share/texmf/web2c/texmf.cnf ] ; then
+ sed -i -e "/${PF}\.ebuild/,+2d" \
+ /usr/share/texmf/web2c/texmf.cnf
+ fi
+
+ mktexlsr
+}
diff --git a/app-text/dvipdfmx/files/digest-dvipdfmx-20031009 b/app-text/dvipdfmx/files/digest-dvipdfmx-20031009
new file mode 100644
index 000000000000..3400215c129a
--- /dev/null
+++ b/app-text/dvipdfmx/files/digest-dvipdfmx-20031009
@@ -0,0 +1 @@
+MD5 fd081a88dfca0c86b87e30faf91c0a9a dvipdfmx-20031009.tar.gz 319788
diff --git a/app-text/dvipdfmx/files/dvipdfmx-20031009-gentoo.diff b/app-text/dvipdfmx/files/dvipdfmx-20031009-gentoo.diff
new file mode 100644
index 000000000000..61d15e5d297a
--- /dev/null
+++ b/app-text/dvipdfmx/files/dvipdfmx-20031009-gentoo.diff
@@ -0,0 +1,12 @@
+diff -urN dvipdfmx-20031009.ORIG/data/config/dvipdfmx.cfg dvipdfmx-20031009/data/config/dvipdfmx.cfg
+--- dvipdfmx-20031009.ORIG/data/config/dvipdfmx.cfg 2003-10-09 11:05:20.000000000 +0900
++++ dvipdfmx-20031009/data/config/dvipdfmx.cfg 2003-10-10 04:10:50.000000000 +0900
+@@ -77,7 +77,7 @@
+ %% Font map files
+ %%
+ %% teTeX 2.x using updmap
+-f dvipdfm.map
++%f dvipdfm.map
+ %%
+ %% MiKTeX 2.2 and 2.3
+ %f psfonts.map