From 42467e67de730736d95719be6b8c6f8c295443a9 Mon Sep 17 00:00:00 2001 From: sketch Date: Tue, 23 Dec 2003 18:01:48 +0000 Subject: Remove the previous symlinks before linking to the new files, to avoid issues with certain versions of ln bailing out if the source already exists. Add a leftover directory to the PLIST. --- fonts/adobe-cmaps/Makefile | 7 +++++-- fonts/adobe-cmaps/PLIST | 4 +++- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'fonts/adobe-cmaps') diff --git a/fonts/adobe-cmaps/Makefile b/fonts/adobe-cmaps/Makefile index bdc5d957c7e..f7d0b157e01 100644 --- a/fonts/adobe-cmaps/Makefile +++ b/fonts/adobe-cmaps/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2003/07/17 21:36:54 grant Exp $ +# $NetBSD: Makefile,v 1.5 2003/12/23 18:01:48 sketch Exp $ DISTNAME= adobe-cmaps-20030126 CATEGORIES= print @@ -59,7 +59,10 @@ do-install: for file in pdfcorefonts/$${dir}/*; do \ case $${file} in \ *.pdf) ;; \ - *) ${LN} -sf ../$${file} ${RESOURCEDIR}/CMap ;; \ + *) \ + ${RM} -f ${RESOURCEDIR}/CMap/`${BASENAME} $${file}`; \ + ${LN} -sf ../$${file} ${RESOURCEDIR}/CMap; \ + ;; \ esac; \ done; \ done diff --git a/fonts/adobe-cmaps/PLIST b/fonts/adobe-cmaps/PLIST index 3acbf8fb536..e56cd98b0a0 100644 --- a/fonts/adobe-cmaps/PLIST +++ b/fonts/adobe-cmaps/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2003/02/15 22:41:45 kei Exp $ +@comment $NetBSD: PLIST,v 1.3 2003/12/23 18:01:48 sketch Exp $ share/Adobe/Resource/CMap/78-EUC-H share/Adobe/Resource/CMap/78-EUC-V share/Adobe/Resource/CMap/78-H @@ -466,6 +466,8 @@ share/Adobe/Resource/rksj-cmaps/TCVN-RKSJ-H @dirrm share/Adobe/Resource/ak12 @dirrm share/Adobe/Resource/aj20/CMap @dirrm share/Adobe/Resource/aj20 +@dirrm share/Adobe/Resource/aj15/CMap +@dirrm share/Adobe/Resource/aj15 @dirrm share/Adobe/Resource/ai0/CMap @dirrm share/Adobe/Resource/ai0 @dirrm share/Adobe/Resource/ag14/CMap -- cgit v1.2.3