From c066cd8fcb5a4753d5a5386ee1276d7b786fd19b Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 25 Feb 2002 04:46:37 +0000 Subject: Use the new, smart EXTRACT_CMD subroutine. --- fonts/ghostscript-fonts/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'fonts') diff --git a/fonts/ghostscript-fonts/Makefile b/fonts/ghostscript-fonts/Makefile index 5670bdd541f..d6ccdb1e281 100644 --- a/fonts/ghostscript-fonts/Makefile +++ b/fonts/ghostscript-fonts/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2002/02/03 16:45:35 jlam Exp $ +# $NetBSD: Makefile,v 1.3 2002/02/25 04:46:37 jlam Exp $ DISTNAME= ghostscript-fonts-6.0 CATEGORIES= fonts @@ -30,9 +30,10 @@ NO_BUILD= # defined do-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/ghostscript - cd ${PREFIX}/share/ghostscript; \ + @cd ${PREFIX}/share/ghostscript; \ for file in ${GS_FONTS_STD} ${GS_FONTS_OTHER}; do \ - ${EXTRACT_CMD.tar.gz}; \ + extract_file="${_DISTDIR}/$${file}"; \ + ${EXTRACT_CMD}; \ done ${INSTALL_DATA} ${FILESDIR}/fonts.alias \ ${PREFIX}/share/ghostscript/fonts/ -- cgit v1.2.3