pkg tools now deal with fonts.scale -- installing it explicitely

will cause pkg_delete to leave a partial package around.
Noticed by kurt@.

ok espie@, ajacoutot@
This commit is contained in:
kili 2007-08-03 15:15:20 +00:00
parent ace9ce5ead
commit 9377c838a8
2 changed files with 3 additions and 5 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.6 2006/10/20 15:36:20 kili Exp $
# $OpenBSD: Makefile,v 1.7 2007/08/03 15:15:20 kili Exp $
COMMENT= "35 standard PostScript fonts with Adobe name aliases"
DISTNAME= ghostscript-fonts-std-8.11
PKGNAME= ${DISTNAME:S,-std-,-,}
PKGNAME= ${DISTNAME:S,-std-,-,}p0
CATEGORIES= x11 print
HOMEPAGE= http://www.cs.wisc.edu/~ghost/doc/cvs/Fonts.htm
@ -26,7 +26,6 @@ X11FONTDIR= ${PREFIX}/lib/X11/fonts
do-install:
${INSTALL_DATA_DIR} ${FONTDIR}
${INSTALL_DATA} ${WRKDIST}/fonts/*.{afm,pfm,pfb} ${FONTDIR}
${INSTALL_DATA} ${WRKDIST}/fonts/fonts.scale ${FONTDIR}
${INSTALL_DATA} ${FILESDIR}/fonts.alias ${FONTDIR}/fonts.alias-gs
${INSTALL_DATA_DIR} ${X11FONTDIR}
cd ${X11FONTDIR} && ln -s ../../../share/ghostscript/fonts ghostscript

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.3 2006/10/20 15:36:20 kili Exp $
@comment $OpenBSD: PLIST,v 1.4 2007/08/03 15:15:20 kili Exp $
lib/X11/fonts/
lib/X11/fonts/ghostscript
share/ghostscript/
@ -38,7 +38,6 @@ share/ghostscript/fonts/c059036l.pfb
share/ghostscript/fonts/d050000l.afm
share/ghostscript/fonts/d050000l.pfb
share/ghostscript/fonts/fonts.alias-gs
share/ghostscript/fonts/fonts.scale
share/ghostscript/fonts/n019003l.afm
share/ghostscript/fonts/n019003l.pfb
share/ghostscript/fonts/n019003l.pfm