- Update to fonts included in ghostscript-8.11

PR:		ports/67516
Submitted by:	Jose M Rodriguez <freebsd@wanadoo.es>
This commit is contained in:
Pav Lucistnik 2004-06-04 14:50:26 +00:00
parent f38cf18bea
commit b8cfcc47b7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=110824
5 changed files with 244 additions and 203 deletions

View file

@ -6,36 +6,75 @@
#
PORTNAME= gsfonts
PORTVERSION= 6.0
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_GNU} \
ftp://ftp.cs.wisc.edu/ghost/gnu/
MASTER_SITE_SUBDIR= ghostscript
PORTVERSION= 8.11
CATEGORIES= print x11-fonts
MASTER_SITES= ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/
DISTFILES= ${GS_FONTS_STD} ${GS_FONTS_OTHER}
DIST_SUBDIR= ghostscript
MAINTAINER= ports@FreeBSD.org
COMMENT= Fonts used by GNU Ghostscript (or X)
BUILD_DEPENDS= ${LOCALBASE}/bin/type1inst:${PORTSDIR}/x11-fonts/p5-type1inst
.include <bsd.port.pre.mk>
.if ${XFREE86_VERSION} == 4
BUILD_DEPENDS+= ${X11BASE}/bin/mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
.else
BUILD_DEPENDS+= ${X11BASE}/bin/mkfontdir:${PORTSDIR}/x11/XFree86
.endif
BUILD_DEPENDS= type1inst:${PORTSDIR}/x11-fonts/p5-type1inst
NO_WRKSUBDIR= yes
NO_BUILD= yes
GS_FONTS_STD= gnu-gs-fonts-std-${PORTVERSION}.tar.gz
GS_FONTS_OTHER= gnu-gs-fonts-other-${PORTVERSION}.tar.gz
GSDIR= ${PREFIX}/share/ghostscript
PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
do-install:
@${MKDIR} ${GSDIR}
${TAR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${GS_FONTS_OTHER} -C ${GSDIR}
${TAR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${GS_FONTS_STD} -C ${GSDIR}
(cd ${GSDIR}/fonts; ${LOCALBASE}/bin/type1inst -nox -nolog -q)
MSG_FILE= ${PKGDIR}/pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
.include <bsd.port.post.mk>
#
# Local variables
#
FONTSDIR?= ${PREFIX}/share/ghostscript/fonts
GS_FONTS_STD= ghostscript-fonts-std-8.11.tar.gz
GS_FONTS_OTHER= ghostscript-fonts-other-6.0.tar.gz
.SILENT:
post-patch:
${SED} 's|%%FONTSDIR%%|${FONTSDIR}|g' ${MSG_FILE} > ${PKGMESSAGE}
#
#
# Install
#
do-install: install-foundries install-fonts install-docs
install-foundries:
${CAT} ${WRKSRC}/fonts/fonts.scale | \
${SED} -e 's|-URW-|-Adobe-|g' | \
${SED} -e 's|-urw-|-adobe-|g' > \
${WRKSRC}/fonts/fonts.scale
${CAT} ${WRKSRC}/fonts/fonts.dir | \
${SED} -e 's|-URW-|-Adobe-|g' | \
${SED} -e 's|-urw-|-adobe-|g' > \
${WRKSRC}/fonts/fonts.dir
install-fonts:
${MKDIR} ${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/fonts/COPYING ${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/fonts/*.afm ${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/fonts/*.gsf ${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/fonts/*.pfa ${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/fonts/*.pfb ${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/fonts/*.pfm ${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/fonts/fonts.dir ${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/fonts/fonts.scale ${FONTSDIR}
(cd ${FONTSDIR}; ${LOCALBASE}/bin/type1inst -nox -nolog -q)
install-docs:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/fonts/ChangeLog ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/fonts/README ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/fonts/README.tweaks ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/fonts/TODO ${DOCSDIR}
.endif
.include <bsd.port.mk>

View file

@ -1,4 +1,4 @@
MD5 (ghostscript/gnu-gs-fonts-std-6.0.tar.gz) = 1521fab85ca3e8ce3ce781d4970e6c79
SIZE (ghostscript/gnu-gs-fonts-std-6.0.tar.gz) = 1881193
MD5 (ghostscript/gnu-gs-fonts-other-6.0.tar.gz) = 33457d3f37de7ef03d2eea05a9e6aa4f
SIZE (ghostscript/gnu-gs-fonts-other-6.0.tar.gz) = 796086
MD5 (ghostscript/ghostscript-fonts-std-8.11.tar.gz) = 6865682b095f8c4500c54b285ff05ef6
SIZE (ghostscript/ghostscript-fonts-std-8.11.tar.gz) = 3752871
MD5 (ghostscript/ghostscript-fonts-other-6.0.tar.gz) = 1a643ae62ef166562e4d422b1a601272
SIZE (ghostscript/ghostscript-fonts-other-6.0.tar.gz) = 796086

View file

@ -1,7 +1,8 @@
This package installs the required Adobe fonts from GNU Ghostscript's
distribution, and prepares the Type1 fonts so they may also work in the
Xwindows environment.
________
Postscript is a trademark of Adobe Systems Incorporated, Ghostscript is
copyrighted by Aladdin Enterprises, and the Xwindows system is a trademark
of the Open Group.
Ghostscript is the well-known PostScript interpreter which is available for
all common and most esoteric platforms and supports many different printers
and some displays.
This port install the fontpacks with the Type1 fonts ready for X use with
Adobe foundries.
WWW: http://www.cs.wisc.edu/~ghost/doc/gnu/index.htm

12
print/gsfonts/pkg-message Normal file
View file

@ -0,0 +1,12 @@
IMPORTANT - READ CAREFULLY: Please read the COPYRIGHT included with these fonts
before using. The copyright can be found at %%FONTSDIR%%/COPYING. To
use these fonts, follow the instructions below.
Make sure that the freetype module is loaded. If it is not, add the following
line to the "Modules" section of XF86Config:
Load "freetype"
Add the following line to the "Files" section of XF86Config:
FontPath "%%FONTSDIR%%/"

View file

@ -1,170 +1,159 @@
share/ghostscript/fonts/Fontmap
share/ghostscript/fonts/a010013l.afm
share/ghostscript/fonts/a010013l.pfb
share/ghostscript/fonts/a010013l.pfm
share/ghostscript/fonts/a010015l.afm
share/ghostscript/fonts/a010015l.pfb
share/ghostscript/fonts/a010015l.pfm
share/ghostscript/fonts/a010033l.afm
share/ghostscript/fonts/a010033l.pfb
share/ghostscript/fonts/a010033l.pfm
share/ghostscript/fonts/a010035l.afm
share/ghostscript/fonts/a010035l.pfb
share/ghostscript/fonts/a010035l.pfm
share/ghostscript/fonts/b018012l.afm
share/ghostscript/fonts/b018012l.pfb
share/ghostscript/fonts/b018012l.pfm
share/ghostscript/fonts/b018015l.afm
share/ghostscript/fonts/b018015l.pfb
share/ghostscript/fonts/b018015l.pfm
share/ghostscript/fonts/b018032l.afm
share/ghostscript/fonts/b018032l.pfb
share/ghostscript/fonts/b018032l.pfm
share/ghostscript/fonts/b018035l.afm
share/ghostscript/fonts/b018035l.pfb
share/ghostscript/fonts/b018035l.pfm
share/ghostscript/fonts/bchb.afm
share/ghostscript/fonts/bchb.pfa
share/ghostscript/fonts/bchbi.afm
share/ghostscript/fonts/bchbi.pfa
share/ghostscript/fonts/bchr.afm
share/ghostscript/fonts/bchr.pfa
share/ghostscript/fonts/bchri.afm
share/ghostscript/fonts/bchri.pfa
share/ghostscript/fonts/c059013l.afm
share/ghostscript/fonts/c059013l.pfb
share/ghostscript/fonts/c059013l.pfm
share/ghostscript/fonts/c059016l.afm
share/ghostscript/fonts/c059016l.pfb
share/ghostscript/fonts/c059016l.pfm
share/ghostscript/fonts/c059033l.afm
share/ghostscript/fonts/c059033l.pfb
share/ghostscript/fonts/c059033l.pfm
share/ghostscript/fonts/c059036l.afm
share/ghostscript/fonts/c059036l.pfb
share/ghostscript/fonts/c059036l.pfm
share/ghostscript/fonts/d050000l.afm
share/ghostscript/fonts/d050000l.pfb
share/ghostscript/fonts/d050000l.pfm
share/ghostscript/fonts/fcyr.afm
share/ghostscript/fonts/fcyr.gsf
share/ghostscript/fonts/fcyri.afm
share/ghostscript/fonts/fcyri.gsf
share/ghostscript/fonts/fhirw.gsf
share/ghostscript/fonts/fhirw.pfm
share/ghostscript/fonts/fkarw.gsf
share/ghostscript/fonts/fkarw.pfm
share/ghostscript/fonts/fonts.dir
share/ghostscript/fonts/fonts.scale
share/ghostscript/fonts/hrger.pfa
share/ghostscript/fonts/hrgerb.gsf
share/ghostscript/fonts/hrgerd.gsf
share/ghostscript/fonts/hrgero.gsf
share/ghostscript/fonts/hrgkc.gsf
share/ghostscript/fonts/hrgks.gsf
share/ghostscript/fonts/hrgrr.pfa
share/ghostscript/fonts/hrgrrb.gsf
share/ghostscript/fonts/hrgrro.gsf
share/ghostscript/fonts/hritr.pfa
share/ghostscript/fonts/hritrb.gsf
share/ghostscript/fonts/hritro.gsf
share/ghostscript/fonts/hrpld.pfa
share/ghostscript/fonts/hrpldb.gsf
share/ghostscript/fonts/hrpldbi.gsf
share/ghostscript/fonts/hrpldi.pfa
share/ghostscript/fonts/hrplr.gsf
share/ghostscript/fonts/hrplrb.gsf
share/ghostscript/fonts/hrplrbo.gsf
share/ghostscript/fonts/hrplro.gsf
share/ghostscript/fonts/hrpls.gsf
share/ghostscript/fonts/hrplsb.gsf
share/ghostscript/fonts/hrplsbo.gsf
share/ghostscript/fonts/hrplso.gsf
share/ghostscript/fonts/hrplt.pfa
share/ghostscript/fonts/hrpltb.gsf
share/ghostscript/fonts/hrpltbi.gsf
share/ghostscript/fonts/hrplti.pfa
share/ghostscript/fonts/hrscc.pfa
share/ghostscript/fonts/hrsccb.gsf
share/ghostscript/fonts/hrscco.gsf
share/ghostscript/fonts/hrscs.pfa
share/ghostscript/fonts/hrscsb.gsf
share/ghostscript/fonts/hrscso.gsf
share/ghostscript/fonts/hrsyr.gsf
share/ghostscript/fonts/n019003l.afm
share/ghostscript/fonts/n019003l.pfb
share/ghostscript/fonts/n019003l.pfm
share/ghostscript/fonts/n019004l.afm
share/ghostscript/fonts/n019004l.pfb
share/ghostscript/fonts/n019004l.pfm
share/ghostscript/fonts/n019023l.afm
share/ghostscript/fonts/n019023l.pfb
share/ghostscript/fonts/n019023l.pfm
share/ghostscript/fonts/n019024l.afm
share/ghostscript/fonts/n019024l.pfb
share/ghostscript/fonts/n019024l.pfm
share/ghostscript/fonts/n019043l.afm
share/ghostscript/fonts/n019043l.pfb
share/ghostscript/fonts/n019043l.pfm
share/ghostscript/fonts/n019044l.afm
share/ghostscript/fonts/n019044l.pfb
share/ghostscript/fonts/n019044l.pfm
share/ghostscript/fonts/n019063l.afm
share/ghostscript/fonts/n019063l.pfb
share/ghostscript/fonts/n019063l.pfm
share/ghostscript/fonts/n019064l.afm
share/ghostscript/fonts/n019064l.pfb
share/ghostscript/fonts/n019064l.pfm
share/ghostscript/fonts/n021003l.afm
share/ghostscript/fonts/n021003l.pfb
share/ghostscript/fonts/n021003l.pfm
share/ghostscript/fonts/n021004l.afm
share/ghostscript/fonts/n021004l.pfb
share/ghostscript/fonts/n021004l.pfm
share/ghostscript/fonts/n021023l.afm
share/ghostscript/fonts/n021023l.pfb
share/ghostscript/fonts/n021023l.pfm
share/ghostscript/fonts/n021024l.afm
share/ghostscript/fonts/n021024l.pfb
share/ghostscript/fonts/n021024l.pfm
share/ghostscript/fonts/n022003l.afm
share/ghostscript/fonts/n022003l.pfb
share/ghostscript/fonts/n022003l.pfm
share/ghostscript/fonts/n022004l.afm
share/ghostscript/fonts/n022004l.pfb
share/ghostscript/fonts/n022004l.pfm
share/ghostscript/fonts/n022023l.afm
share/ghostscript/fonts/n022023l.pfb
share/ghostscript/fonts/n022023l.pfm
share/ghostscript/fonts/n022024l.afm
share/ghostscript/fonts/n022024l.pfb
share/ghostscript/fonts/n022024l.pfm
share/ghostscript/fonts/p052003l.afm
share/ghostscript/fonts/p052003l.pfb
share/ghostscript/fonts/p052003l.pfm
share/ghostscript/fonts/p052004l.afm
share/ghostscript/fonts/p052004l.pfb
share/ghostscript/fonts/p052004l.pfm
share/ghostscript/fonts/p052023l.afm
share/ghostscript/fonts/p052023l.pfb
share/ghostscript/fonts/p052023l.pfm
share/ghostscript/fonts/p052024l.afm
share/ghostscript/fonts/p052024l.pfb
share/ghostscript/fonts/p052024l.pfm
share/ghostscript/fonts/putb.pfa
share/ghostscript/fonts/putbi.pfa
share/ghostscript/fonts/putr.pfa
share/ghostscript/fonts/putri.pfa
share/ghostscript/fonts/s050000l.afm
share/ghostscript/fonts/s050000l.pfb
share/ghostscript/fonts/s050000l.pfm
share/ghostscript/fonts/u003043t.afm
share/ghostscript/fonts/u003043t.gsf
share/ghostscript/fonts/u003043t.pfm
share/ghostscript/fonts/u004006t.afm
share/ghostscript/fonts/u004006t.gsf
share/ghostscript/fonts/u004006t.pfm
share/ghostscript/fonts/z003034l.afm
share/ghostscript/fonts/z003034l.pfb
share/ghostscript/fonts/z003034l.pfm
@dirrm share/ghostscript/fonts
%%FONTSDIR%%/COPYING
%%FONTSDIR%%/Fontmap
%%FONTSDIR%%/a010013l.afm
%%FONTSDIR%%/a010013l.pfb
%%FONTSDIR%%/a010013l.pfm
%%FONTSDIR%%/a010015l.afm
%%FONTSDIR%%/a010015l.pfb
%%FONTSDIR%%/a010015l.pfm
%%FONTSDIR%%/a010033l.afm
%%FONTSDIR%%/a010033l.pfb
%%FONTSDIR%%/a010033l.pfm
%%FONTSDIR%%/a010035l.afm
%%FONTSDIR%%/a010035l.pfb
%%FONTSDIR%%/a010035l.pfm
%%FONTSDIR%%/b018012l.afm
%%FONTSDIR%%/b018012l.pfb
%%FONTSDIR%%/b018012l.pfm
%%FONTSDIR%%/b018015l.afm
%%FONTSDIR%%/b018015l.pfb
%%FONTSDIR%%/b018015l.pfm
%%FONTSDIR%%/b018032l.afm
%%FONTSDIR%%/b018032l.pfb
%%FONTSDIR%%/b018032l.pfm
%%FONTSDIR%%/b018035l.afm
%%FONTSDIR%%/b018035l.pfb
%%FONTSDIR%%/b018035l.pfm
%%FONTSDIR%%/bchb.afm
%%FONTSDIR%%/bchb.pfa
%%FONTSDIR%%/bchbi.afm
%%FONTSDIR%%/bchbi.pfa
%%FONTSDIR%%/bchr.afm
%%FONTSDIR%%/bchr.pfa
%%FONTSDIR%%/bchri.afm
%%FONTSDIR%%/bchri.pfa
%%FONTSDIR%%/c059013l.afm
%%FONTSDIR%%/c059013l.pfb
%%FONTSDIR%%/c059016l.afm
%%FONTSDIR%%/c059016l.pfb
%%FONTSDIR%%/c059033l.afm
%%FONTSDIR%%/c059033l.pfb
%%FONTSDIR%%/c059036l.afm
%%FONTSDIR%%/c059036l.pfb
%%FONTSDIR%%/d050000l.afm
%%FONTSDIR%%/d050000l.pfb
%%FONTSDIR%%/fcyr.afm
%%FONTSDIR%%/fcyr.gsf
%%FONTSDIR%%/fcyri.afm
%%FONTSDIR%%/fcyri.gsf
%%FONTSDIR%%/fhirw.gsf
%%FONTSDIR%%/fhirw.pfm
%%FONTSDIR%%/fkarw.gsf
%%FONTSDIR%%/fkarw.pfm
%%FONTSDIR%%/fonts.dir
%%FONTSDIR%%/fonts.scale
%%FONTSDIR%%/hrger.pfa
%%FONTSDIR%%/hrgerb.gsf
%%FONTSDIR%%/hrgerd.gsf
%%FONTSDIR%%/hrgero.gsf
%%FONTSDIR%%/hrgkc.gsf
%%FONTSDIR%%/hrgks.gsf
%%FONTSDIR%%/hrgrr.pfa
%%FONTSDIR%%/hrgrrb.gsf
%%FONTSDIR%%/hrgrro.gsf
%%FONTSDIR%%/hritr.pfa
%%FONTSDIR%%/hritrb.gsf
%%FONTSDIR%%/hritro.gsf
%%FONTSDIR%%/hrpld.pfa
%%FONTSDIR%%/hrpldb.gsf
%%FONTSDIR%%/hrpldbi.gsf
%%FONTSDIR%%/hrpldi.pfa
%%FONTSDIR%%/hrplr.gsf
%%FONTSDIR%%/hrplrb.gsf
%%FONTSDIR%%/hrplrbo.gsf
%%FONTSDIR%%/hrplro.gsf
%%FONTSDIR%%/hrpls.gsf
%%FONTSDIR%%/hrplsb.gsf
%%FONTSDIR%%/hrplsbo.gsf
%%FONTSDIR%%/hrplso.gsf
%%FONTSDIR%%/hrplt.pfa
%%FONTSDIR%%/hrpltb.gsf
%%FONTSDIR%%/hrpltbi.gsf
%%FONTSDIR%%/hrplti.pfa
%%FONTSDIR%%/hrscc.pfa
%%FONTSDIR%%/hrsccb.gsf
%%FONTSDIR%%/hrscco.gsf
%%FONTSDIR%%/hrscs.pfa
%%FONTSDIR%%/hrscsb.gsf
%%FONTSDIR%%/hrscso.gsf
%%FONTSDIR%%/hrsyr.gsf
%%FONTSDIR%%/n019003l.afm
%%FONTSDIR%%/n019003l.pfb
%%FONTSDIR%%/n019003l.pfm
%%FONTSDIR%%/n019004l.afm
%%FONTSDIR%%/n019004l.pfb
%%FONTSDIR%%/n019004l.pfm
%%FONTSDIR%%/n019023l.afm
%%FONTSDIR%%/n019023l.pfb
%%FONTSDIR%%/n019023l.pfm
%%FONTSDIR%%/n019024l.afm
%%FONTSDIR%%/n019024l.pfb
%%FONTSDIR%%/n019024l.pfm
%%FONTSDIR%%/n019043l.afm
%%FONTSDIR%%/n019043l.pfb
%%FONTSDIR%%/n019044l.afm
%%FONTSDIR%%/n019044l.pfb
%%FONTSDIR%%/n019063l.afm
%%FONTSDIR%%/n019063l.pfb
%%FONTSDIR%%/n019064l.afm
%%FONTSDIR%%/n019064l.pfb
%%FONTSDIR%%/n019064l.pfm
%%FONTSDIR%%/n021003l.afm
%%FONTSDIR%%/n021003l.pfb
%%FONTSDIR%%/n021003l.pfm
%%FONTSDIR%%/n021004l.afm
%%FONTSDIR%%/n021004l.pfb
%%FONTSDIR%%/n021004l.pfm
%%FONTSDIR%%/n021023l.afm
%%FONTSDIR%%/n021023l.pfb
%%FONTSDIR%%/n021023l.pfm
%%FONTSDIR%%/n021024l.afm
%%FONTSDIR%%/n021024l.pfb
%%FONTSDIR%%/n021024l.pfm
%%FONTSDIR%%/n022003l.afm
%%FONTSDIR%%/n022003l.pfb
%%FONTSDIR%%/n022004l.afm
%%FONTSDIR%%/n022004l.pfb
%%FONTSDIR%%/n022023l.afm
%%FONTSDIR%%/n022023l.pfb
%%FONTSDIR%%/n022024l.afm
%%FONTSDIR%%/n022024l.pfb
%%FONTSDIR%%/p052003l.afm
%%FONTSDIR%%/p052003l.pfb
%%FONTSDIR%%/p052004l.afm
%%FONTSDIR%%/p052004l.pfb
%%FONTSDIR%%/p052023l.afm
%%FONTSDIR%%/p052023l.pfb
%%FONTSDIR%%/p052024l.afm
%%FONTSDIR%%/p052024l.pfb
%%FONTSDIR%%/putb.pfa
%%FONTSDIR%%/putbi.pfa
%%FONTSDIR%%/putr.pfa
%%FONTSDIR%%/putri.pfa
%%FONTSDIR%%/s050000l.afm
%%FONTSDIR%%/s050000l.pfb
%%FONTSDIR%%/u003043t.afm
%%FONTSDIR%%/u003043t.gsf
%%FONTSDIR%%/u003043t.pfm
%%FONTSDIR%%/u004006t.afm
%%FONTSDIR%%/u004006t.gsf
%%FONTSDIR%%/u004006t.pfm
%%FONTSDIR%%/z003034l.afm
%%FONTSDIR%%/z003034l.pfb
%%FONTSDIR%%/z003034l.pfm
%%PORTDOCS%%share/doc/gsfonts/ChangeLog
%%PORTDOCS%%share/doc/gsfonts/README
%%PORTDOCS%%share/doc/gsfonts/README.tweaks
%%PORTDOCS%%share/doc/gsfonts/TODO
@dirrm %%FONTSDIR%%
%%PORTDOCS%%@dirrm share/doc/gsfonts