diff options
author | ryoon <ryoon> | 2011-09-29 12:50:23 +0000 |
---|---|---|
committer | ryoon <ryoon> | 2011-09-29 12:50:23 +0000 |
commit | 7eef3ab111a741a526d26512d05569204ed9a443 (patch) | |
tree | 3b3eec7ca1910e5c0e1bd7a7fb6f72035a4c3787 /fonts/sgi-fonts/Makefile | |
parent | 5f499cbfcac9ae9074bff03386a725ac2f0ae0f4 (diff) | |
download | pkgsrc-7eef3ab111a741a526d26512d05569204ed9a443.tar.gz |
Fix build.
* Use font framework.
* Install fonts manually.
Diffstat (limited to 'fonts/sgi-fonts/Makefile')
-rw-r--r-- | fonts/sgi-fonts/Makefile | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/fonts/sgi-fonts/Makefile b/fonts/sgi-fonts/Makefile index 0b4837f0879..03523045d15 100644 --- a/fonts/sgi-fonts/Makefile +++ b/fonts/sgi-fonts/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2009/12/17 17:21:18 abs Exp $ +# $NetBSD: Makefile,v 1.14 2011/09/29 12:50:23 ryoon Exp $ # DISTNAME= sgi-fonts-1.0-457.src @@ -12,19 +12,26 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://oss.sgi.com/projects/sgi_propack/ COMMENT= Linux compatibility package for SGI fonts +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/sgi-fonts -PKG_DESTDIR_SUPPORT= user-destdir +USE_LANGUAGES= # none + +USE_X11BASE= yes +FONTS_DIRS.x11= ${PREFIX}/lib/X11/fonts/misc/sgi + +USE_IMAKE= yes +USE_TOOLS+= bzcat tar pax -USE_IMAKE= YES -USE_TOOLS+= bdftopcf bzcat gtar gzip rpm2pkg -FONTS_DIRS.x11+= ${PREFIX}/lib/X11/fonts/misc/sgi -REQD_DIRS+= ${PREFIX}/lib/X11/fonts/misc/sgi +INSTALLATION_DIRS= lib/X11/fonts/misc/sgi -do-extract: - rpm2pkg -d ${WRKDIR} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} - cd ${WRKDIR} && bzcat sgi-fonts.tar.bz2 | ${GTAR} xf - +post-extract: + cd ${WRKDIR} && bzcat sgi-fonts.tar.bz2 | tar xf - -post-install: - ${RM} ${DESTDIR}${PREFIX}/lib/X11/fonts/misc/sgi/fonts.scale +do-install: + cd ${WRKSRC} && pax -rw -pm *pcf.gz \ + ${DESTDIR}${PREFIX}/lib/X11/fonts/misc/sgi + ${INSTALL_DATA} ${WRKSRC}/Scr15.pcf \ + ${DESTDIR}${PREFIX}/lib/X11/fonts/misc/sgi .include "../../mk/bsd.pkg.mk" |