summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2019-10-19 20:06:08 +0200
committerDavid Seifert <soap@gentoo.org>2019-10-19 20:06:08 +0200
commit048d2c0a7ea6f194c71ac06edfa8e7a6883c0b8a (patch)
tree8344b629a743b743a6fea42117b13f35981d362d /media-fonts/free-bangla-font
parentmedia-fonts/aquapfont: Port to EAPI 7 (diff)
downloadgentoo-048d2c0a7ea6f194c71ac06edfa8e7a6883c0b8a.tar.gz
gentoo-048d2c0a7ea6f194c71ac06edfa8e7a6883c0b8a.tar.bz2
gentoo-048d2c0a7ea6f194c71ac06edfa8e7a6883c0b8a.zip
media-fonts/free-bangla-font: Port to EAPI 7
Bug: https://bugs.gentoo.org/697302 Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-fonts/free-bangla-font')
-rw-r--r--media-fonts/free-bangla-font/free-bangla-font-0.2.ebuild23
1 files changed, 13 insertions, 10 deletions
diff --git a/media-fonts/free-bangla-font/free-bangla-font-0.2.ebuild b/media-fonts/free-bangla-font/free-bangla-font-0.2.ebuild
index 5353896850eb..0d4d3baf9f7d 100644
--- a/media-fonts/free-bangla-font/free-bangla-font-0.2.ebuild
+++ b/media-fonts/free-bangla-font/free-bangla-font-0.2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=0
+EAPI=7
inherit font
@@ -13,7 +13,8 @@ MUKTINARROW_P="MuktiNarrow-0.94"
DESCRIPTION="Unicode compliant Open Type Bangla fonts"
HOMEPAGE="http://www.nongnu.org/freebangfont/index.html"
SRC_BASE="https://savannah.nongnu.org/download/freebangfont"
-SRC_URI="${SRC_BASE}/${AKAASH_P}.tar.gz
+SRC_URI="
+ ${SRC_BASE}/${AKAASH_P}.tar.gz
${SRC_BASE}/${ANI_P}.tar.gz
${SRC_BASE}/${LIKHAN_P}.tar.gz
${SRC_BASE}/${MUKTINARROW_P}.tar.bz2"
@@ -21,25 +22,27 @@ SRC_URI="${SRC_BASE}/${AKAASH_P}.tar.gz
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm ia64 ppc s390 sh x86"
-IUSE=""
-
-FONT_SUFFIX="ttf TTF"
S="${WORKDIR}"
-FONT_S="${WORKDIR}"
+FONT_S="${S}"
+FONT_SUFFIX="ttf TTF"
src_install() {
-
- find . -name '*.[tT][tT][fF]' -exec cp {} . \;
-
+ local f
+ while IFS="" read -d $'\0' -r f; do
+ cp "${f}" . || die
+ done < <(find . -name '*.[tT][tT][fF]' -type f -print0)
font_src_install
docinto ${AKAASH_P%-*}
dodoc ${AKAASH_P%-*}/[A-Z][A-Z]*
+
docinto ${ANI_P}
dodoc ${ANI_P}/[A-Z][A-Z]*
+
docinto ${LIKHAN_P%-*}
dodoc ${LIKHAN_P}/README
+
docinto ${MUKTINARROW_P%-*}
dodoc ${MUKTINARROW_P/-/}/{Changelog,readme.txt}
}