From 3d15ef680c31b44a46b3f6bfd30c6b43b7bdf431 Mon Sep 17 00:00:00 2001 From: Pawel Pekala Date: Fri, 30 May 2014 12:28:47 +0000 Subject: [PATCH] Add staging support --- korean/baekmukfonts-ttf/Makefile | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/korean/baekmukfonts-ttf/Makefile b/korean/baekmukfonts-ttf/Makefile index 07458bbed0ae..caff87a18ff0 100644 --- a/korean/baekmukfonts-ttf/Makefile +++ b/korean/baekmukfonts-ttf/Makefile @@ -20,19 +20,12 @@ FONTNAME= baekmuk FONTSDIR= lib/X11/fonts/${FONTNAME}${PKGNAMESUFFIX} PLIST_SUB= FONTSDIR=${FONTSDIR} -NO_STAGE= yes do-install: - ${MKDIR} ${PREFIX}/${FONTSDIR} - ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${PREFIX}/${FONTSDIR} - ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT.ks ${PREFIX}/${FONTSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/${FONTSDIR} - ${INSTALL_DATA} ${WRKSRC}/contrib/hconfig.ps ${PREFIX}/${FONTSDIR} - ${INSTALL_DATA} ${WRKSRC}/ttf/*.ttf ${PREFIX}/${FONTSDIR} - ${INSTALL_DATA} ${WRKSRC}/ttf/fonts.dir ${PREFIX}/${FONTSDIR} + @${MKDIR} ${STAGEDIR}${PREFIX}/${FONTSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} COPYRIGHT COPYRIGHT.ks README \ + contrib/hconfig.ps ttf/*.ttf ttf/fonts.dir \ + ${STAGEDIR}${PREFIX}/${FONTSDIR}) ${INSTALL_DATA} ${WRKSRC}/ttf/fonts.scale.xtt \ - ${PREFIX}/${FONTSDIR}/fonts.scale - -post-install: - @-${PREFIX}/bin/fc-cache -s ${PREFIX}/${FONTSDIR} 2>/dev/null + ${STAGEDIR}${PREFIX}/${FONTSDIR}/fonts.scale .include