diff options
author | rillig <rillig@pkgsrc.org> | 2006-05-22 06:31:34 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-05-22 06:31:34 +0000 |
commit | 31188440850070d56830602080f52395558afdaf (patch) | |
tree | ea2cf392a0b914643f5dc44156f4da68e1ef9663 /fonts/adobe-cmaps | |
parent | f6bd1b991b3f166304805b4bc08288ac6de7b3ba (diff) | |
download | pkgsrc-31188440850070d56830602080f52395558afdaf.tar.gz |
Fixed some pkglint warnings.
Diffstat (limited to 'fonts/adobe-cmaps')
-rw-r--r-- | fonts/adobe-cmaps/Makefile | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/fonts/adobe-cmaps/Makefile b/fonts/adobe-cmaps/Makefile index 627063505cc..b9223835d5e 100644 --- a/fonts/adobe-cmaps/Makefile +++ b/fonts/adobe-cmaps/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2006/04/20 17:37:00 minskim Exp $ +# $NetBSD: Makefile,v 1.18 2006/05/22 06:31:34 rillig Exp $ DISTNAME= adobe-cmaps-20060419 CATEGORIES= fonts print @@ -7,16 +7,16 @@ MASTER_SITES= # empty CMAP_FILES= ac15 ag15 ai0 aj16 aj20 ak12 RKSJ_FILES= rksj-cmaps CMAP_DISTFILES= ${CMAP_FILES:S/$/.tar.Z/} ${RKSJ_FILES:S/$/.tar.Z/} -.for FILE in ${CMAP_DISTFILES} -SITES_${FILE}+= ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/ +.for f in ${CMAP_DISTFILES} +SITES.${f}+= ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/ .endfor DISTFILES+= ${CMAP_DISTFILES} EXTRACT_ONLY= ${CMAP_DISTFILES} PDFCORE= chinese_s chinese_t japanese korean PDFCORE_DISTFILES= ${PDFCORE:S/$/.zip/} -.for FILE in ${PDFCORE_DISTFILES} -SITES_${FILE}+= http://partners.adobe.com/public/developer/en/pdf/ +.for f in ${PDFCORE_DISTFILES} +SITES.${f}+= http://partners.adobe.com/public/developer/en/pdf/ .endfor DISTFILES+= ${PDFCORE_DISTFILES} @@ -33,26 +33,31 @@ RESOURCEDIR= ${PREFIX}/share/Adobe/Resource do-install: ${INSTALL_DATA_DIR} ${RESOURCEDIR} + set -e; \ for file in ${CMAP_DISTFILES}; do \ extract_file="${_DISTDIR}/$${file}"; export extract_file; \ cd ${RESOURCEDIR}; ${EXTRACT_CMD}; \ done + set -e; \ for file in ${PDFCORE}; do \ ${MKDIR} ${RESOURCEDIR}/pdfcorefonts/$${file}; \ cd ${RESOURCEDIR}/pdfcorefonts/$${file}; \ - unzip -aaoq ${_DISTDIR}/$${file}.zip; \ + ${UNZIP_CMD} -aaoq ${_DISTDIR}/$${file}.zip; \ done ${INSTALL_DATA_DIR} ${RESOURCEDIR}/CMap + set -e; \ cd ${RESOURCEDIR}; for dir in ${CMAP_FILES}; do \ for file in $${dir}/CMap/*; do \ ${LN} -sf ../$${file} ${RESOURCEDIR}/CMap; \ done; \ done + set -e; \ cd ${RESOURCEDIR}; for dir in ${RKSJ_FILES}; do \ for file in $${dir}/*; do \ ${LN} -sf ../$${file} ${RESOURCEDIR}/CMap; \ done; \ done + set -e; \ cd ${RESOURCEDIR}; for dir in ${PDFCORE}; do \ for file in pdfcorefonts/$${dir}/*; do \ case $${file} in \ |