summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authorjoerg <joerg>2016-04-04 17:33:38 +0000
committerjoerg <joerg>2016-04-04 17:33:38 +0000
commitadf105ad9db1a24de37797a553e0a947d97d06ea (patch)
treec6e7acdf11dc3c3ad8489c11f38b98cc70dabace /fonts
parent0a3fdae7f856b2f4d3f07d5bc4a58669ff66cb38 (diff)
downloadpkgsrc-adf105ad9db1a24de37797a553e0a947d97d06ea.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