From 704d18eb1d7a766e5734a63d5a11b560774cc215 Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 4 Apr 2016 17:33:38 +0000 Subject: Pass down pkgsrc environment. Add dependency on bash before using it. --- fonts/ricty-ttf/Makefile | 6 ++++-- 1 file 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 -- cgit v1.2.3