summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2011-01-25 12:19:20 +0000
committerTorsten Veller <tove@gentoo.org>2011-01-25 12:19:20 +0000
commit0b06ff96630f3817a232d8bcb02c531e806fa7a3 (patch)
treef258c01d16a6f86ab611a851e7ad33e4cccbcb82
parentstable x86, bug 351797 (diff)
downloadgentoo-2-0b06ff96630f3817a232d8bcb02c531e806fa7a3.tar.gz
gentoo-2-0b06ff96630f3817a232d8bcb02c531e806fa7a3.tar.bz2
gentoo-2-0b06ff96630f3817a232d8bcb02c531e806fa7a3.zip
Version bump. Use system dejavu fonts
(Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
-rw-r--r--dev-perl/PDF-API2/ChangeLog9
-rw-r--r--dev-perl/PDF-API2/PDF-API2-2.16.ebuild36
2 files changed, 43 insertions, 2 deletions
diff --git a/dev-perl/PDF-API2/ChangeLog b/dev-perl/PDF-API2/ChangeLog
index 31d746427873..0f9e2bc8993f 100644
--- a/dev-perl/PDF-API2/ChangeLog
+++ b/dev-perl/PDF-API2/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-perl/PDF-API2
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/PDF-API2/ChangeLog,v 1.17 2009/09/07 08:40:25 tove Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/PDF-API2/ChangeLog,v 1.18 2011/01/25 12:19:20 tove Exp $
+
+*PDF-API2-2.16 (25 Jan 2011)
+
+ 25 Jan 2011; Torsten Veller <tove@gentoo.org> +PDF-API2-2.16.ebuild:
+ Version bump. Use system dejavu fonts
07 Sep 2009; Torsten Veller <tove@gentoo.org> -PDF-API2-0.65.ebuild:
Cleanup
diff --git a/dev-perl/PDF-API2/PDF-API2-2.16.ebuild b/dev-perl/PDF-API2/PDF-API2-2.16.ebuild
new file mode 100644
index 000000000000..0bd5c10fdadf
--- /dev/null
+++ b/dev-perl/PDF-API2/PDF-API2-2.16.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/PDF-API2/PDF-API2-2.16.ebuild,v 1.1 2011/01/25 12:19:20 tove Exp $
+
+EAPI=3
+
+MODULE_AUTHOR=SSIMMS
+MODULE_VERSION=2.016
+inherit perl-module
+
+DESCRIPTION="Facilitates the creation and modification of PDF files"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND="virtual/perl-IO-Compress
+ dev-perl/Font-TTF
+ media-fonts/dejavu"
+DEPEND="${RDEPEND}"
+
+SRC_TEST="do"
+
+src_install() {
+ perl-module_src_install
+ rm -rf "${D}/${VENDOR_LIB}/PDF/API2/fonts" || die
+ ln -s /usr/share/fonts/dejavu "${D}/${VENDOR_LIB}/PDF/API2/fonts" || die
+}
+
+pkg_postinst() {
+ if [[ ! -h ${ROOT}${VENDOR_LIB}/PDF/API2/fonts ]] ; then
+ einfo "Creating symlink ${ROOT}${VENDOR_LIB}/PDF/API2/fonts"
+ ln -s /usr/share/fonts/dejavu "${ROOT}${VENDOR_LIB}/PDF/API2/fonts"
+ fi
+}