diff options
author | ahoka <ahoka@pkgsrc.org> | 2011-01-24 21:51:06 +0000 |
---|---|---|
committer | ahoka <ahoka@pkgsrc.org> | 2011-01-24 21:51:06 +0000 |
commit | f88424a0bd1805a3cf7c258f0725fec791134a6c (patch) | |
tree | b8f820d28e747ff53d4aeea57ac2124ecbcbd660 /emulators/suse113_fontconfig | |
parent | 8467e0340137a0f8410340911cd19a2f08ed2e25 (diff) | |
download | pkgsrc-f88424a0bd1805a3cf7c258f0725fec791134a6c.tar.gz |
Add more font dirs so linux binaries can use fonts from pkgsrc
Diffstat (limited to 'emulators/suse113_fontconfig')
-rw-r--r-- | emulators/suse113_fontconfig/Makefile | 3 | ||||
-rw-r--r-- | emulators/suse113_fontconfig/files/generate.awk | 28 |
2 files changed, 17 insertions, 14 deletions
diff --git a/emulators/suse113_fontconfig/Makefile b/emulators/suse113_fontconfig/Makefile index 9dc0919e559..810eba8dfbb 100644 --- a/emulators/suse113_fontconfig/Makefile +++ b/emulators/suse113_fontconfig/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.1.1.1 2010/09/24 01:27:55 chs Exp $ +# $NetBSD: Makefile,v 1.2 2011/01/24 21:51:06 ahoka Exp $ DISTNAME= suse_fontconfig-${SUSE_VERSION} CATEGORIES= emulators DISTFILES= fontconfig-2.8.0-7.1.${SUSE_ARCH}.rpm +PKGREVISION= 1 MAINTAINER= tonio@NetBSD.org COMMENT= Linux compatibility package for fontconfig diff --git a/emulators/suse113_fontconfig/files/generate.awk b/emulators/suse113_fontconfig/files/generate.awk index 5aec94554d4..b0f21bedf5b 100644 --- a/emulators/suse113_fontconfig/files/generate.awk +++ b/emulators/suse113_fontconfig/files/generate.awk @@ -1,4 +1,4 @@ -# $NetBSD: generate.awk,v 1.1.1.1 2010/09/24 01:27:55 chs Exp $ +# $NetBSD: generate.awk,v 1.2 2011/01/24 21:51:06 ahoka Exp $ # # AWK script to replace @FONTDIR_ENTRIES@ with a list of <dir></dir> # entries taken from the "entries" array. We do variable replacement @@ -8,18 +8,20 @@ BEGIN { entries[0] = "${X11BASE}/lib/X11/fonts" - entries[1] = "${LOCALBASE}/OpenOffice.org1.1.5/share/fonts" - entries[2] = "${LOCALBASE}/openoffice.org2.2/share/fonts" - entries[3] = "${LOCALBASE}/java/blackdown-1.3.1/lib/fonts" - entries[4] = "${LOCALBASE}/java/scsl-1.5/lib/fonts" - entries[5] = "${LOCALBASE}/java/sun-1.3.1/lib/fonts" - entries[6] = "${LOCALBASE}/java/sun-1.4/lib/fonts" - entries[7] = "${LOCALBASE}/java/sun-1.5/lib/fonts" - entries[8] = "${LOCALBASE}/java/sun-6/lib/fonts" - entries[9] = "${LOCALBASE}/Acrobat4/Resource/CIDFont" - entries[10] = "${LOCALBASE}/Acrobat5/Resource/Font" - entries[11] = "${LOCALBASE}/Acrobat7/Resource/CIDFont" - num_entries = 12 + entries[1] = "${LOCALBASE}/lib/X11/fonts" + entries[2] = "${LOCALBASE}/share/fonts" + entries[3] = "${LOCALBASE}/OpenOffice.org1.1.5/share/fonts" + entries[4] = "${LOCALBASE}/openoffice.org2.2/share/fonts" + entries[5] = "${LOCALBASE}/java/blackdown-1.3.1/lib/fonts" + entries[6] = "${LOCALBASE}/java/scsl-1.5/lib/fonts" + entries[7] = "${LOCALBASE}/java/sun-1.3.1/lib/fonts" + entries[8] = "${LOCALBASE}/java/sun-1.4/lib/fonts" + entries[9] = "${LOCALBASE}/java/sun-1.5/lib/fonts" + entries[10] = "${LOCALBASE}/java/sun-6/lib/fonts" + entries[11] = "${LOCALBASE}/Acrobat4/Resource/CIDFont" + entries[12] = "${LOCALBASE}/Acrobat5/Resource/Font" + entries[13] = "${LOCALBASE}/Acrobat7/Resource/CIDFont" + num_entries = 14 LOCALBASE = ENVIRON["LOCALBASE"] ? ENVIRON["LOCALBASE"] : "/usr/pkg" X11BASE = ENVIRON["X11BASE"] ? ENVIRON["X11BASE"] : "/usr/X11R6" |