7545d135e6
as tight as possible. Files we don't handle shouldn't be skipped. - fonts.alias is not created automatically, so don't remove it. - create fonts.encoding with mkfontdir using -e X11_ENCODINGSDIR. On platforms not following the X11R6 loayout this might need to be overriden. - Fix type1inst calls. - Modify packages which installed fonts.alias before to actually include it in the PLIST and bump the revisions accordingly. - Modify xorg-fonts* packages to use FONTS_DIRS.* to build indices at run time. Discussed with wiz and jlam.
31 lines
859 B
Makefile
31 lines
859 B
Makefile
# $NetBSD: Makefile,v 1.11 2006/09/22 21:53:57 joerg Exp $
|
|
#
|
|
|
|
DISTNAME= sgi-fonts-1.0-457.src
|
|
PKGNAME= sgi-fonts-1.0.457
|
|
PKGREVISION= 3
|
|
CATEGORIES= fonts
|
|
MASTER_SITES= http://public.planetmirror.com/pub/suse/i386/8.2/suse/src/
|
|
EXTRACT_SUFX= .rpm
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://oss.sgi.com/projects/sgi_propack/
|
|
COMMENT= Linux compatibility package for SGI fonts
|
|
|
|
BUILD_DEPENDS+= rpm2pkg>=1.3:../../pkgtools/rpm2pkg
|
|
|
|
WRKSRC= ${WRKDIR}/sgi-fonts
|
|
|
|
USE_IMAKE= YES
|
|
USE_TOOLS+= bdftopcf bzcat gtar
|
|
FONTS_DIRS.x11+= ${PREFIX}/lib/X11/fonts/misc/sgi
|
|
REQD_DIRS+= ${PREFIX}/lib/X11/fonts/misc/sgi
|
|
|
|
do-extract:
|
|
${LOCALBASE}/sbin/rpm2pkg -d ${WRKDIR} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES}
|
|
cd ${WRKDIR} && bzcat sgi-fonts.tar.bz2 | ${GTAR} xf -
|
|
|
|
post-install:
|
|
${RM} ${PREFIX}/lib/X11/fonts/misc/sgi/fonts.scale
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|