summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-05-22 06:31:34 +0000
committerrillig <rillig@pkgsrc.org>2006-05-22 06:31:34 +0000
commitc435c5d91c79125f244d724ed515712f29e9f5fc (patch)
treeea2cf392a0b914643f5dc44156f4da68e1ef9663
parented054b08e5fc5125018a12ea8ae8624b1389a526 (diff)
downloadpkgsrc-c435c5d91c79125f244d724ed515712f29e9f5fc.tar.gz
Fixed some pkglint warnings.
-rw-r--r--fonts/adobe-cmaps/Makefile17
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 \