summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2009-03-01 09:35:55 +0000
committerPeter Volkov <pva@gentoo.org>2009-03-01 09:35:55 +0000
commitc7ad6924130010d0d2e8eee0d1bc7ddca9c5c8ae (patch)
tree14bb7a56e80fd31cb32978b03d3294df4f95ab65 /media-fonts/culmus-ancient/culmus-ancient-0.05.1.ebuild
parentVersion bump. (diff)
downloadgentoo-2-c7ad6924130010d0d2e8eee0d1bc7ddca9c5c8ae.tar.gz
gentoo-2-c7ad6924130010d0d2e8eee0d1bc7ddca9c5c8ae.tar.bz2
gentoo-2-c7ad6924130010d0d2e8eee0d1bc7ddca9c5c8ae.zip
Initial import.
(Portage version: 2.2_rc23/cvs/Linux i686)
Diffstat (limited to 'media-fonts/culmus-ancient/culmus-ancient-0.05.1.ebuild')
-rw-r--r--media-fonts/culmus-ancient/culmus-ancient-0.05.1.ebuild46
1 files changed, 46 insertions, 0 deletions
diff --git a/media-fonts/culmus-ancient/culmus-ancient-0.05.1.ebuild b/media-fonts/culmus-ancient/culmus-ancient-0.05.1.ebuild
new file mode 100644
index 000000000000..5ff1e42c8c39
--- /dev/null
+++ b/media-fonts/culmus-ancient/culmus-ancient-0.05.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/culmus-ancient/culmus-ancient-0.05.1.ebuild,v 1.1 2009/03/01 09:35:55 pva Exp $
+
+inherit font versionator
+
+MY_P=AncientSemiticFonts-$(replace_version_separator 2 '-')
+
+DESCRIPTION="Ancient Semitic Scripts"
+HOMEPAGE="http://culmus.sourceforge.net/"
+SRC_URI="!fontforge? ( mirror://sourceforge/culmus/${MY_P}.TTF.tgz )
+ fontforge? ( mirror://sourceforge/culmus/${MY_P}.tgz )"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="GPL-2 MIT"
+IUSE="fontforge"
+
+DEPEND="fontforge? ( media-gfx/fontforge )"
+RDEPEND=""
+
+FONT_SUFFIX="ttf"
+DOCS="CHANGES README"
+
+if use fontforge; then
+ S=${WORKDIR}/${MY_P}
+ FONT_S=${S}/src
+else
+ S=${WORKDIR}/${MY_P}.TTF
+ FONT_S=${S}/fonts
+fi
+
+src_compile() {
+ if use fontforge; then
+ cd src
+ export FONTFORGE_LANGUAGE=ff
+ make clean
+ make all || die "Failed to build fonts"
+ fi
+}
+
+pkg_postinst() {
+ elog "This font contains support for fontconfig, which may make"
+ elog "it render more smoothly. To enable it, do:"
+ elog "eselect fontconfig enable 65-culmus.conf"
+}