pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/fonts/adobe-cmaps Remove the previous symlinks before ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/edc83c268084
branches:  trunk
changeset: 465195:edc83c268084
user:      sketch <sketch%pkgsrc.org@localhost>
date:      Tue Dec 23 18:01:48 2003 +0000

description:
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.

diffstat:

 fonts/adobe-cmaps/Makefile |  7 +++++--
 fonts/adobe-cmaps/PLIST    |  4 +++-
 2 files changed, 8 insertions(+), 3 deletions(-)

diffs (39 lines):

diff -r b9ad3d5155c0 -r edc83c268084 fonts/adobe-cmaps/Makefile
--- a/fonts/adobe-cmaps/Makefile        Tue Dec 23 17:52:44 2003 +0000
+++ b/fonts/adobe-cmaps/Makefile        Tue Dec 23 18:01:48 2003 +0000
@@ -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 @@
                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 -r b9ad3d5155c0 -r edc83c268084 fonts/adobe-cmaps/PLIST
--- a/fonts/adobe-cmaps/PLIST   Tue Dec 23 17:52:44 2003 +0000
+++ b/fonts/adobe-cmaps/PLIST   Tue Dec 23 18:01:48 2003 +0000
@@ -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 @@
 @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



Home | Main Index | Thread Index | Old Index