diff options
author | sketch <sketch> | 2003-12-23 18:01:48 +0000 |
---|---|---|
committer | sketch <sketch> | 2003-12-23 18:01:48 +0000 |
commit | 42467e67de730736d95719be6b8c6f8c295443a9 (patch) | |
tree | 0dc093382b1350aa18e6d59bb8fdf250bdccb102 /fonts/adobe-cmaps/Makefile | |
parent | 3e2fac25f834eb694170488cca28e1d689738dc3 (diff) | |
download | pkgsrc-42467e67de730736d95719be6b8c6f8c295443a9.tar.gz |
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 (limited to 'fonts/adobe-cmaps/Makefile')
-rw-r--r-- | fonts/adobe-cmaps/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
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 |