summaryrefslogtreecommitdiff
path: root/fonts/ghostscript-fonts/Makefile
diff options
context:
space:
mode:
authordillo <dillo>2005-05-30 14:54:00 +0000
committerdillo <dillo>2005-05-30 14:54:00 +0000
commit5a03786c72ab6fa5bb06582e633257ecd9564400 (patch)
tree894034f68f9f495741d04a5b6b7a9c217434af6a /fonts/ghostscript-fonts/Makefile
parent8fcb5f0dac8e727cf4017507dbe76bb4b21a3cb2 (diff)
downloadpkgsrc-5a03786c72ab6fa5bb06582e633257ecd9564400.tar.gz
Update to 8.11 (improvments and additions of Cyrillic glyphs)
Diffstat (limited to 'fonts/ghostscript-fonts/Makefile')
-rw-r--r--fonts/ghostscript-fonts/Makefile34
1 files changed, 18 insertions, 16 deletions
diff --git a/fonts/ghostscript-fonts/Makefile b/fonts/ghostscript-fonts/Makefile
index 81e0c95283f..fd0e4126be0 100644
--- a/fonts/ghostscript-fonts/Makefile
+++ b/fonts/ghostscript-fonts/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2004/05/31 16:47:48 minskim Exp $
+# $NetBSD: Makefile,v 1.14 2005/05/30 14:54:00 dillo Exp $
-DISTNAME= ghostscript-fonts-6.0
+DISTNAME= ghostscript-fonts-8.11
CATEGORIES= fonts
MASTER_SITES+= ${MASTER_SITE_SOURCEFORGE:=ghostscript/} \
ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/
@@ -17,7 +17,7 @@ COMMENT= Postscript fonts for Aladdin Ghostscript
# To avoid unnecessarily downloading distfiles, do not change these
# when upgrading the port unless the symlinks/files really change.
#
-GS_FONTS_STD= ghostscript-fonts-std-6.0.tar.gz
+GS_FONTS_STD= ghostscript-fonts-std-8.11.tar.gz
GS_FONTS_OTHER= ghostscript-fonts-other-6.0.tar.gz
CONFLICTS= ghostscript-[0-5]* ghostscript-x11-[0-5]*
@@ -25,22 +25,24 @@ CONFLICTS= ghostscript-[0-5]* ghostscript-x11-[0-5]*
PKG_INSTALLATION_TYPES= overwrite pkgviews
DIST_SUBDIR= ghostscript
-EXTRACT_ONLY= # empty
-NO_CONFIGURE= # defined
-NO_BUILD= # defined
+NO_CONFIGURE= YES
+NO_BUILD= YES
+WRKSRC= ${WRKDIR}/fonts
+
+FONTS_DIR= ${PREFIX}/share/ghostscript/fonts
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/ghostscript
- @cd ${PREFIX}/share/ghostscript; \
- for file in ${GS_FONTS_STD} ${GS_FONTS_OTHER}; do \
- extract_file="${_DISTDIR}/$${file}"; \
- ${EXTRACT_CMD}; \
- done
- ${INSTALL_DATA} ${FILESDIR}/fonts.alias \
- ${PREFIX}/share/ghostscript/fonts/
- @for file in ${PREFIX}/share/ghostscript/fonts/*; do \
- ${CHMOD} ${SHAREMODE} $${file}; \
- ${CHOWN} ${SHAREOWN}:${SHAREGRP} $${file}; \
+ ${INSTALL_DATA_DIR} ${FONTS_DIR}
+ for ext in afm gsf pfa pfb pfm; \
+ do \
+ for f in ${WRKSRC}/*.$${ext}; \
+ do \
+ ${INSTALL_DATA} $${f} ${FONTS_DIR}; \
+ done; \
done
+ ${INSTALL_DATA} ${WRKSRC}/fonts.dir ${FONTS_DIR}
+ ${INSTALL_DATA} ${WRKSRC}/fonts.scale ${FONTS_DIR}
+ ${INSTALL_DATA} ${FILESDIR}/fonts.alias ${FONTS_DIR}
.include "../../mk/bsd.pkg.mk"