summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2003-09-23 11:47:48 +0000
committerMamoru Komachi <usata@gentoo.org>2003-09-23 11:47:48 +0000
commit0699719a43776376a6ef967514d072a11322b917 (patch)
tree102ea815d04bf84e36d4dfdebfca82612e251f31 /app-i18n/canna
parentlittle fix to amsn ebuild (diff)
downloadgentoo-2-0699719a43776376a6ef967514d072a11322b917.tar.gz
gentoo-2-0699719a43776376a6ef967514d072a11322b917.tar.bz2
gentoo-2-0699719a43776376a6ef967514d072a11322b917.zip
Compiles pdf if acroread or xpdf-japanese is installed
Diffstat (limited to 'app-i18n/canna')
-rw-r--r--app-i18n/canna/ChangeLog5
-rw-r--r--app-i18n/canna/Manifest4
-rw-r--r--app-i18n/canna/canna-3.6_p4.ebuild18
3 files changed, 18 insertions, 9 deletions
diff --git a/app-i18n/canna/ChangeLog b/app-i18n/canna/ChangeLog
index f3d5908d6058..7513d64c97e1 100644
--- a/app-i18n/canna/ChangeLog
+++ b/app-i18n/canna/ChangeLog
@@ -1,6 +1,6 @@
# ChangeLog for app-i18n/canna
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/canna/ChangeLog,v 1.23 2003/09/22 21:12:03 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/canna/ChangeLog,v 1.24 2003/09/23 11:47:43 usata Exp $
23 Sep 2003; Mamoru KOMACHI <usata@gentoo.org> canna-3.6-r1.ebuild,
canna-3.6.ebuild, canna-3.6_p1.ebuild, canna-3.6_p3-r1.ebuild,
@@ -12,6 +12,9 @@
*canna-3.6_p4 (23 Sep 2003)
+ 23 Sep 2003; Mamoru KOMACHI <usata@gentoo.org> canna-3.6_p4.ebuild:
+ make canna.pdf if acroread or xpdf is installed. Removed eutils.
+
23 Sep 2003; Mamoru KOMACHI <usata@gentoo.org> canna-3.6_p4.ebuild,
files/canna-3.6_p4-gentoo.diff, files/canna.initd.new:
Version bumped. Updated /etc/init.d/canna and fixed permission of
diff --git a/app-i18n/canna/Manifest b/app-i18n/canna/Manifest
index 5fdff05b9cd9..e8ebf81ae4c8 100644
--- a/app-i18n/canna/Manifest
+++ b/app-i18n/canna/Manifest
@@ -1,9 +1,9 @@
-MD5 71c565382fe9b137894b11e5ec7e559c ChangeLog 4164
+MD5 089e5fb64457f8a11296296181c64f3a ChangeLog 4302
MD5 b46ea852aefb4b480a009e1d68813872 canna-3.5_beta2-r2.ebuild 1375
MD5 683dc5258fe948d969434367a87b140f canna-3.6_p1.ebuild 1026
MD5 e0fa7f2585f05d83612719a769f1264b canna-3.6_p3-r2.ebuild 1954
MD5 e92a48548554c80cf90e18df17ff6a82 metadata.xml 156
-MD5 2a98a0b0c03cce8ed1ed878d9a300876 canna-3.6_p4.ebuild 2488
+MD5 32643ca7fd73c9a627dff09b3cdeda2d canna-3.6_p4.ebuild 2665
MD5 13ad70b823fc2f1cb5354e178d037dc4 files/canna-3.6_p1-gentoo.diff 15416
MD5 a4f85ba6cefa983cc5fe91bc1c10f6c6 files/digest-canna-3.6_p1 62
MD5 57c633d3e17e89d06bf60940411d0992 files/canna-3.6_p3-r2-gentoo.diff 9552
diff --git a/app-i18n/canna/canna-3.6_p4.ebuild b/app-i18n/canna/canna-3.6_p4.ebuild
index 58d2113ada84..633735d5b26f 100644
--- a/app-i18n/canna/canna-3.6_p4.ebuild
+++ b/app-i18n/canna/canna-3.6_p4.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/canna/canna-3.6_p4.ebuild,v 1.3 2003/09/22 21:12:03 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/canna/canna-3.6_p4.ebuild,v 1.4 2003/09/23 11:47:43 usata Exp $
-inherit cannadic eutils
+inherit cannadic
IUSE="tetex"
@@ -19,8 +19,7 @@ KEYWORDS="~x86 ~ppc ~sparc ~alpha"
DEPEND="virtual/glibc
x11-base/xfree
>=sys-apps/sed-4
- tetex? ( app-text/ptex
- app-text/dvipdfmx )"
+ tetex? ( app-text/ptex )"
RDEPEND="virtual/glibc"
S="${WORKDIR}/${MY_P}"
@@ -39,12 +38,19 @@ src_compile() {
make canna || die
if [ -n "`use tetex`" ] ; then
- einfo "Compiling DVI, PS and PDF document"
+ einfo "Compiling DVI, PS (and PDF) document"
cd doc/man/guide/tex
xmkmf || die
make JLATEXCMD=platex \
DVI2PSCMD="dvips -f" \
- canna.dvi canna.ps canna.pdf || die
+ canna.dvi canna.ps || die
+ if has_version 'app-text/dvipdfmx' && \
+ ( has_version 'app-text/acroread' \
+ || has_version 'app-text/xpdf-japanese' ); then
+ make JLATEXCMD=platex \
+ DVI2PSCMD="dvips -f" \
+ canna.pdf || die
+ fi
fi
}