fde911b8b3
do harm external applications. ghostscript itself doesn't need them because it comes with its own standard font files, for the others I've just added a "urw-fonts" pkg which contains better versions.
40 lines
1,013 B
Makefile
40 lines
1,013 B
Makefile
# $NetBSD: Makefile,v 1.19 2010/06/02 19:09:25 drochner Exp $
|
|
|
|
DISTNAME= ghostscript-fonts-8.11
|
|
PKGREVISION= 3
|
|
CATEGORIES= fonts
|
|
MASTER_SITES+= ${MASTER_SITE_SOURCEFORGE:=ghostscript/} \
|
|
ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/
|
|
DISTFILES= ${GS_FONTS_OTHER}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://gs-fonts.sourceforge.net/
|
|
COMMENT= Postscript fonts for Aladdin Ghostscript
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
GS_FONTS_OTHER= ghostscript-fonts-other-6.0.tar.gz
|
|
|
|
CONFLICTS= ghostscript-[0-5]* ghostscript-x11-[0-5]*
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
DIST_SUBDIR= ghostscript
|
|
NO_CONFIGURE= YES
|
|
NO_BUILD= YES
|
|
WRKSRC= ${WRKDIR}/fonts
|
|
|
|
FONTS_DIR= ${PREFIX}/share/ghostscript/fonts
|
|
INSTALLATION_DIRS= share/ghostscript/fonts
|
|
REQD_DIRS+= share/ghostscript
|
|
|
|
do-install:
|
|
for ext in afm gsf pfa pfm; \
|
|
do \
|
|
for f in ${WRKSRC}/*.$${ext}; \
|
|
do \
|
|
${INSTALL_DATA} $${f} ${DESTDIR}${FONTS_DIR}; \
|
|
done; \
|
|
done
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|