diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile index 2277a915dfe2..e34986bf6483 100644 --- a/x11-fonts/Makefile +++ b/x11-fonts/Makefile @@ -1,299 +1,300 @@ COMMENT = X11 fonts and font utilities SUBDIR += 3270font SUBDIR += Hasklig SUBDIR += afdko SUBDIR += agave SUBDIR += alef SUBDIR += alegreya SUBDIR += alegreya-sans SUBDIR += alfont SUBDIR += amigafonts SUBDIR += andika SUBDIR += anomaly-mono SUBDIR += anonymous-pro SUBDIR += apl385 SUBDIR += artwiz-aleczapka SUBDIR += artwiz-aleczapka-de SUBDIR += artwiz-aleczapka-se SUBDIR += artwiz-fonts SUBDIR += atkinson-hyperlegible SUBDIR += averiagwf SUBDIR += b612 SUBDIR += bdf2sfd SUBDIR += bdfresize SUBDIR += bdftopcf SUBDIR += bitstream-vera SUBDIR += bitter SUBDIR += blackout SUBDIR += c64bdf SUBDIR += cantarell-fonts SUBDIR += cascadia-code SUBDIR += charis SUBDIR += charis-compact SUBDIR += chomsky SUBDIR += clearsans SUBDIR += code2000 SUBDIR += comfortaa-ttf SUBDIR += comic-neue SUBDIR += commit-mono SUBDIR += consolamono-ttf SUBDIR += courier-prime SUBDIR += cozette SUBDIR += croscorefonts-fonts-ttf SUBDIR += crosextrafonts-caladea-ttf SUBDIR += crosextrafonts-carlito-ttf SUBDIR += cyberbit-ttfonts SUBDIR += cyr-rfx SUBDIR += datalegreya SUBDIR += dejavu SUBDIR += dina SUBDIR += doulos SUBDIR += doulos-compact SUBDIR += droid-fonts-ttf SUBDIR += dseg SUBDIR += encodings SUBDIR += exo SUBDIR += fantasque-sans-mono SUBDIR += fanwood SUBDIR += farsifonts SUBDIR += fcft SUBDIR += ferrite-core SUBDIR += fifteen SUBDIR += fira SUBDIR += firacode SUBDIR += firago SUBDIR += fnt SUBDIR += fntsample SUBDIR += font-adobe-100dpi SUBDIR += font-adobe-75dpi SUBDIR += font-adobe-utopia-100dpi SUBDIR += font-adobe-utopia-75dpi SUBDIR += font-adobe-utopia-type1 SUBDIR += font-alias SUBDIR += font-arabic-misc SUBDIR += font-awesome SUBDIR += font-bh-100dpi SUBDIR += font-bh-75dpi SUBDIR += font-bh-lucidatypewriter-100dpi SUBDIR += font-bh-lucidatypewriter-75dpi SUBDIR += font-bh-ttf SUBDIR += font-bh-type1 SUBDIR += font-bitstream-100dpi SUBDIR += font-bitstream-75dpi SUBDIR += font-bitstream-type1 SUBDIR += font-cronyx-cyrillic SUBDIR += font-cursor-misc SUBDIR += font-daewoo-misc SUBDIR += font-dec-misc SUBDIR += font-gost SUBDIR += font-ibm-type1 SUBDIR += font-isas-misc SUBDIR += font-jis-misc SUBDIR += font-manager SUBDIR += font-micro-misc SUBDIR += font-misc-cyrillic SUBDIR += font-misc-ethiopic SUBDIR += font-misc-meltho SUBDIR += font-misc-misc SUBDIR += font-mutt-misc SUBDIR += font-schumacher-misc SUBDIR += font-screen-cyrillic SUBDIR += font-sony-misc SUBDIR += font-sun-misc SUBDIR += font-tex-gyre-bonum-math SUBDIR += font-tex-gyre-pagella-math SUBDIR += font-tex-gyre-schola-math SUBDIR += font-tex-gyre-termes-math SUBDIR += font-util SUBDIR += font-winitzki-cyrillic SUBDIR += font-xfree86-type1 SUBDIR += fontconfig SUBDIR += fontobene SUBDIR += fontpreview SUBDIR += fonts-indic SUBDIR += fonttosfnt SUBDIR += freefont-ttf SUBDIR += freefonts SUBDIR += fslsfonts SUBDIR += gbdfed SUBDIR += geminifonts SUBDIR += genryu SUBDIR += genseki SUBDIR += gensen SUBDIR += gentium-basic SUBDIR += gentium-plus SUBDIR += genwan SUBDIR += genyo SUBDIR += genyog SUBDIR += gnu-unifont SUBDIR += gnu-unifont-otf SUBDIR += gofont-ttf SUBDIR += gohufont SUBDIR += google-fonts SUBDIR += hack-font SUBDIR += hanazono-fonts-ttf SUBDIR += hermit SUBDIR += iansui + SUBDIR += ibmfonts SUBDIR += inconsolata-lgc-ttf SUBDIR += inconsolata-ttf SUBDIR += intel-one-mono SUBDIR += intlfonts SUBDIR += iosevka SUBDIR += isabella SUBDIR += jetbrains-mono SUBDIR += jf-openhuninn SUBDIR += jmk-x11-fonts SUBDIR += juliamono SUBDIR += junction SUBDIR += junicode SUBDIR += kaputa SUBDIR += khmeros SUBDIR += lato SUBDIR += league-gothic SUBDIR += league-spartan SUBDIR += lfpfonts-fix SUBDIR += lfpfonts-var SUBDIR += libFS SUBDIR += libXfont SUBDIR += libXfont2 SUBDIR += libXft SUBDIR += liberation-fonts-ttf SUBDIR += libertinus SUBDIR += libfontenc SUBDIR += linden-hill SUBDIR += linux-c7-fontconfig SUBDIR += linuxlibertine SUBDIR += linuxlibertine-g SUBDIR += lohit SUBDIR += manrope SUBDIR += manu-gothica SUBDIR += material-icons-ttf SUBDIR += materialdesign-ttf SUBDIR += meslo SUBDIR += mgopen SUBDIR += mkbold SUBDIR += mkbold-mkitalic SUBDIR += mkfontscale SUBDIR += mkitalic SUBDIR += monaspace SUBDIR += mondulkiri SUBDIR += monoid SUBDIR += montecarlo_fonts SUBDIR += montserrat SUBDIR += mourier SUBDIR += moveable-type-fonts SUBDIR += nerd-fonts SUBDIR += nexfontsel SUBDIR += noto SUBDIR += noto-basic SUBDIR += noto-emoji SUBDIR += noto-extra SUBDIR += noto-hk SUBDIR += noto-jp SUBDIR += noto-kr SUBDIR += noto-sans-hk SUBDIR += noto-sans-jp SUBDIR += noto-sans-kr SUBDIR += noto-sans-sc SUBDIR += noto-sans-tc SUBDIR += noto-sc SUBDIR += noto-serif-hk SUBDIR += noto-serif-jp SUBDIR += noto-serif-kr SUBDIR += noto-serif-sc SUBDIR += noto-serif-tc SUBDIR += noto-tc SUBDIR += nucleus SUBDIR += office-code-pro SUBDIR += ohsnap SUBDIR += ohsnap-otb SUBDIR += oldschool-pc-fonts SUBDIR += open-sans SUBDIR += orbitron SUBDIR += otf2bdf SUBDIR += ots SUBDIR += oxygen-fonts SUBDIR += p5-Font-AFM SUBDIR += p5-Font-TTF SUBDIR += p5-Font-TTFMetrics SUBDIR += p5-type1inst SUBDIR += padauk SUBDIR += paratype SUBDIR += pcf2bdf SUBDIR += plex-ttf SUBDIR += powerline-fonts SUBDIR += prociono SUBDIR += profont SUBDIR += proggy_fonts SUBDIR += proggy_fonts-ttf SUBDIR += psftools SUBDIR += py-QtAwesome SUBDIR += py-afdko SUBDIR += py-axisregistry SUBDIR += py-babelfont SUBDIR += py-bdflib SUBDIR += py-booleanOperations SUBDIR += py-cffsubr SUBDIR += py-compreffor SUBDIR += py-cu2qu SUBDIR += py-defcon SUBDIR += py-fontMath SUBDIR += py-fontfeatures SUBDIR += py-fontmake SUBDIR += py-gflanguages SUBDIR += py-glyphsLib SUBDIR += py-opentype-sanitizer SUBDIR += py-opentypespec SUBDIR += py-shaperglot SUBDIR += py-ufo2ft SUBDIR += py-ufoLib SUBDIR += py-ufolint SUBDIR += py-ufonormalizer SUBDIR += py-ufoprocessor SUBDIR += raleway SUBDIR += roboto-fonts-ttf SUBDIR += sgifonts SUBDIR += sharefonts SUBDIR += showfont SUBDIR += source-code-pro-ttf SUBDIR += source-sans-ttf SUBDIR += source-serif-ttf SUBDIR += spleen SUBDIR += steps-mono SUBDIR += stix-fonts SUBDIR += sudo-font SUBDIR += suxus SUBDIR += symbola SUBDIR += tamsyn SUBDIR += tamzen SUBDIR += terminus-font SUBDIR += terminus-ttf SUBDIR += tkfont SUBDIR += tlwg-ttf SUBDIR += tmu SUBDIR += tt2020 SUBDIR += tv-fonts SUBDIR += twemoji-color-font-ttf SUBDIR += ubuntu-font SUBDIR += urw-base35-fonts SUBDIR += urwfonts SUBDIR += urwfonts-ttf SUBDIR += uw-ttyp0 SUBDIR += victor-mono-ttf SUBDIR += vollkorn-ttf SUBDIR += webfonts SUBDIR += wqy SUBDIR += xfontsel SUBDIR += xfs SUBDIR += xfsinfo SUBDIR += xlsfonts SUBDIR += xorg-fonts SUBDIR += xorg-fonts-100dpi SUBDIR += xorg-fonts-75dpi SUBDIR += xorg-fonts-cyrillic SUBDIR += xorg-fonts-miscbitmaps SUBDIR += xorg-fonts-truetype SUBDIR += xorg-fonts-type1 .include diff --git a/x11-fonts/ibmfonts/Makefile b/x11-fonts/ibmfonts/Makefile new file mode 100644 index 000000000000..8d1977fd4d26 --- /dev/null +++ b/x11-fonts/ibmfonts/Makefile @@ -0,0 +1,40 @@ +PORTNAME= ibmfonts +DISTVERSION= 0.1 +CATEGORIES= x11-fonts + +MAINTAINER= zirias@FreeBSD.org +COMMENT= IBM Fonts in PCF format + +LICENSE= CC-BY-SA-4.0 MIT +LICENSE_COMB= multi +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= bdftopcf:x11-fonts/bdftopcf + +USES= fonts +FONTPATHSPEC= ${FONTNAME} +USE_GITHUB= yes +GH_ACCOUNT= farsil + +HAS_CONFIGURE= yes +CONFIGURE_ARGS= --bsd-make \ + --installdir=${FONTSDIR} \ + --prefix=${PREFIX} + +NO_ARCH= yes + +OPTIONS_DEFINE= VT100 XFTFIX +OPTIONS_DEFAULT= VT100 XFTFIX +VT100_DESC= Remove glyphs at 00-1F confusable for VT100 drawing +XFTFIX_DESC= Fix Xft names removing repeated IBM in FAMILY_NAME + +post-patch-VT100-on: + @${REINPLACE_CMD} \ + -e 's/CHARS 782/CHARS 750/' -e 's/uni0000.*/space/' \ + -e '/ENCODING 0/,/STARTCHAR space/d' ${WRKSRC}/bdf/*.bdf + +post-patch-XFTFIX-on: + @${REINPLACE_CMD} \ + 's/FAMILY_NAME "IBM /FAMILY_NAME "/' ${WRKSRC}/bdf/*.bdf + +.include diff --git a/x11-fonts/ibmfonts/distinfo b/x11-fonts/ibmfonts/distinfo new file mode 100644 index 000000000000..7cff1a4a5c6b --- /dev/null +++ b/x11-fonts/ibmfonts/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1708027202 +SHA256 (farsil-ibmfonts-0.1_GH0.tar.gz) = 86f6d295561947f7e0a42e6e2bd405f63625095353468c6a6e752c0cba727dc9 +SIZE (farsil-ibmfonts-0.1_GH0.tar.gz) = 253247 diff --git a/x11-fonts/ibmfonts/files/patch-configure b/x11-fonts/ibmfonts/files/patch-configure new file mode 100644 index 000000000000..ac79f2e3333e --- /dev/null +++ b/x11-fonts/ibmfonts/files/patch-configure @@ -0,0 +1,45 @@ +--- configure.orig 2016-11-07 10:04:21 UTC ++++ configure +@@ -6,22 +6,20 @@ OBJDIR="" + INSTALLDIR="" + MAKEVAR="gnu" + +-eval set -- "`getopt -o p:i:o:s:b --long prefix:,objdir:,srcdir:,installdir:,bsd-make -n "$0" -- "$@"`" +- + while true ; do + case "$1" in +- -p|--prefix) +- PREFIX="$2"; shift 2 ;; +- -o|--objdir) +- OBJDIR="$2"; shift 2 ;; +- -s|--srcdir) +- SRCDIR="$2"; shift 2 ;; +- -b|--bsd-make) ++ --prefix=*) ++ PREFIX="${1#*=}"; shift ;; ++ --objdir=*) ++ OBJDIR="${1#*=}"; shift ;; ++ --srcdir=*) ++ SRCDIR="${1#*=}"; shift ;; ++ --bsd-make) + MAKEVAR="bsd"; shift ;; +- -i|--installdir) +- INSTALLDIR="$2"; shift 2 ;; +- --) +- shift; break ;; ++ --installdir=*) ++ INSTALLDIR="${1#*=}"; shift ;; ++ '') ++ break ;; + *) + exit 1 ;; + esac +@@ -104,7 +102,7 @@ clean: + + install: all + install -dm755 \$(DESTDIR)\$(installdir) +- install -D -m 644 -t \$(DESTDIR)\$(installdir) \$(COMPILED) ++ install -m644 \$(COMPILED) \$(DESTDIR)\$(installdir) + + uninstall: + rm -f \$(INSTALLED) diff --git a/x11-fonts/ibmfonts/pkg-descr b/x11-fonts/ibmfonts/pkg-descr new file mode 100644 index 000000000000..afc145768a60 --- /dev/null +++ b/x11-fonts/ibmfonts/pkg-descr @@ -0,0 +1,9 @@ +A collection of monospaced, bitmap fonts in BDF format that origin from IBM +text mode and system fonts. They include extended latin, greek, cyrillic and +hebrew scripts and several extra characters, for a total of 782 glyphs each. +The fonts are in BDF 2.1 format and fully compatible with applications that +make use of either Xft or XLFD. + +This is a format conversion of some of the bitmap fonts available from the +x11-fonts/oldschool-pc-fonts package. The BDF (compiled to PCF) format might +work better with applications that can use X Toolkit fonts, notably x11/xterm. diff --git a/x11-fonts/ibmfonts/pkg-plist b/x11-fonts/ibmfonts/pkg-plist new file mode 100644 index 000000000000..4bb7198f3f6a --- /dev/null +++ b/x11-fonts/ibmfonts/pkg-plist @@ -0,0 +1,19 @@ +%%FONTSDIR%%/ib16x16u.pcf.gz +%%FONTSDIR%%/ib16x8u.pcf.gz +%%FONTSDIR%%/ib8x16u.pcf.gz +%%FONTSDIR%%/ib8x8u.pcf.gz +%%FONTSDIR%%/ic16x16u.pcf.gz +%%FONTSDIR%%/ic8x16u.pcf.gz +%%FONTSDIR%%/ic8x8u.pcf.gz +%%FONTSDIR%%/icl16x16u.pcf.gz +%%FONTSDIR%%/icl8x16u.pcf.gz +%%FONTSDIR%%/icl8x8u.pcf.gz +%%FONTSDIR%%/ie16x14u.pcf.gz +%%FONTSDIR%%/ie18x14u.pcf.gz +%%FONTSDIR%%/ie8x14u.pcf.gz +%%FONTSDIR%%/ie9x14u.pcf.gz +%%FONTSDIR%%/im9x14u.pcf.gz +%%FONTSDIR%%/iv16x16u.pcf.gz +%%FONTSDIR%%/iv18x16u.pcf.gz +%%FONTSDIR%%/iv8x16u.pcf.gz +%%FONTSDIR%%/iv9x16u.pcf.gz