summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2016-04-04 17:33:38 +0000
committerjoerg <joerg@pkgsrc.org>2016-04-04 17:33:38 +0000
commit704d18eb1d7a766e5734a63d5a11b560774cc215 (patch)
treec6e7acdf11dc3c3ad8489c11f38b98cc70dabace /fonts
parentaf3357dd4f31307766cd82a04e4888ce33c6d017 (diff)
downloadpkgsrc-704d18eb1d7a766e5734a63d5a11b560774cc215.tar.gz
Pass down pkgsrc environment. Add dependency on bash before using it.
Diffstat (limited to 'fonts')
-rw-r--r--fonts/ricty-ttf/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/fonts/ricty-ttf/Makefile b/fonts/ricty-ttf/Makefile
index 8c7dfd06fca..7243995fe85 100644
--- a/fonts/ricty-ttf/Makefile
+++ b/fonts/ricty-ttf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2015/11/25 12:50:14 jperkin Exp $
+# $NetBSD: Makefile,v 1.22 2016/04/04 17:33:38 joerg Exp $
DISTNAME= Ricty-3.2.4
PKGNAME= ${DISTNAME:S/Ricty/ricty-ttf/}
@@ -12,6 +12,7 @@ HOMEPAGE= https://github.com/yascentur/Ricty
COMMENT= Migu 1M and Inconsolata based TrueType fonts for programming
LICENSE= ipafont AND ofl-v1.1 AND 2-clause-bsd
+USE_TOOLS+= bash
BUILD_DEPENDS+= fontforge-[0-9]*:../../fonts/fontforge
BUILD_DEPENDS+= migu-ttf-[0-9]*:../../fonts/migu-ttf
BUILD_DEPENDS+= inconsolata-ttf-[0-9]*:../../fonts/inconsolata-ttf
@@ -40,7 +41,8 @@ USE_LANGUAGES= # none
do-build:
set -e; \
cd ${WRKSRC}; \
- ${BASH} ./ricty_generator.sh \
+ ${PKGSRC_SETENV} ${MAKE_ENV} \
+ ${BASH} -x ./ricty_generator.sh \
${LOCALBASE}/share/fonts/X11/TTF/Inconsolata.otf \
${LOCALBASE}/share/fonts/X11/TTF/migu-1m-regular.ttf \
${LOCALBASE}/share/fonts/X11/TTF/migu-1m-bold.ttf