Index: head/x11-fonts/Makefile =================================================================== --- head/x11-fonts/Makefile (revision 532141) +++ head/x11-fonts/Makefile (revision 532142) @@ -1,253 +1,254 @@ # $FreeBSD$ # COMMENT = X11 fonts and font utilities SUBDIR += 3270font SUBDIR += Hasklig SUBDIR += alef SUBDIR += alegreya SUBDIR += alegreya-sans SUBDIR += alfont 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 += averiagwf SUBDIR += b612 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 += clearsans SUBDIR += code2000 SUBDIR += comfortaa-ttf SUBDIR += comic-neue SUBDIR += consolamono-ttf SUBDIR += courier-prime 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 += encodings SUBDIR += exo SUBDIR += fantasque-sans-mono SUBDIR += fanwood SUBDIR += farsifonts SUBDIR += fifteen SUBDIR += fira SUBDIR += firacode SUBDIR += firago 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-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 += fontconfig-reference SUBDIR += fontmatrix + SUBDIR += fontpreview SUBDIR += fonts-indic SUBDIR += fonttosfnt SUBDIR += freefont-ttf SUBDIR += freefonts SUBDIR += fslsfonts SUBDIR += gbdfed SUBDIR += geminifonts SUBDIR += gentium-basic SUBDIR += gentium-plus SUBDIR += gnu-unifont SUBDIR += gnu-unifont-ttf SUBDIR += gofont-ttf SUBDIR += gohufont SUBDIR += google-fonts SUBDIR += hack-font SUBDIR += hanazono-fonts-ttf SUBDIR += hermit SUBDIR += inconsolata-lgc-ttf SUBDIR += inconsolata-ttf SUBDIR += intlfonts SUBDIR += iosevka SUBDIR += isabella SUBDIR += jetbrains-mono SUBDIR += jf-openhuninn SUBDIR += jmk-x11-fonts 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 += 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 += 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-extra SUBDIR += noto-jp SUBDIR += noto-kr SUBDIR += noto-sc SUBDIR += noto-tc SUBDIR += nucleus SUBDIR += office-code-pro SUBDIR += ohsnap SUBDIR += oldschool-pc-fonts SUBDIR += open-sans SUBDIR += orbitron 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-bdflib SUBDIR += py-booleanOperations SUBDIR += py-compreffor SUBDIR += py-cu2qu SUBDIR += py-defcon SUBDIR += py-fontMath SUBDIR += py-fontmake SUBDIR += py-glyphsLib SUBDIR += py-opentype-sanitizer SUBDIR += py-ufo2ft SUBDIR += py-ufoLib SUBDIR += py-ufolint SUBDIR += raleway SUBDIR += roboto-fonts-ttf SUBDIR += sgifonts SUBDIR += sharefonts SUBDIR += showfont SUBDIR += sourcecodepro-ttf SUBDIR += sourcesanspro-ttf SUBDIR += sourceserifpro-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 += tv-fonts SUBDIR += twemoji-color-font-ttf SUBDIR += ubuntu-font SUBDIR += urwfonts SUBDIR += urwfonts-ttf SUBDIR += uw-ttyp0 SUBDIR += victor-mono-ttf SUBDIR += vollkorn-ttf SUBDIR += vtfontcvt-ng 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 Index: head/x11-fonts/fontpreview/Makefile =================================================================== --- head/x11-fonts/fontpreview/Makefile (nonexistent) +++ head/x11-fonts/fontpreview/Makefile (revision 532142) @@ -0,0 +1,43 @@ +# $FreeBSD$ + +PORTNAME= fontpreview +DISTVERSION= 1.0.6 +CATEGORIES= x11-fonts graphics + +MAINTAINER= 0mp@FreeBSD.org +COMMENT= Very customizable and minimal font previewer written in Bash + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= bash:shells/bash \ + convert:graphics/ImageMagick7 \ + fzf:textproc/fzf \ + getopt>0:misc/getopt \ + sxiv:graphics/sxiv \ + xdotool:x11/xdotool + +USES= shebangfix +USE_GITHUB= yes +GH_ACCOUNT= sdushantha +GH_TAGNAME= 24f4f5e7dba3351844950e681c08bd74f3df2d42 +SHEBANG_FILES= ${PORTNAME} + +NO_ARCH= yes +NO_BUILD= yes + +PLIST_FILES= bin/${PORTNAME} +PORTDOCS= README.md extra/ + +OPTIONS_DEFINE= DOCS + +post-patch: + @${REINPLACE_CMD} 's|%%GETOPT%%|${LOCALBASE}/bin/getopt|' \ + ${WRKSRC}/${PORTNAME} + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR}/extra + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/extra/* ${STAGEDIR}${DOCSDIR}/extra + +.include Property changes on: head/x11-fonts/fontpreview/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-fonts/fontpreview/distinfo =================================================================== --- head/x11-fonts/fontpreview/distinfo (nonexistent) +++ head/x11-fonts/fontpreview/distinfo (revision 532142) @@ -0,0 +1,3 @@ +TIMESTAMP = 1587297479 +SHA256 (sdushantha-fontpreview-1.0.6-24f4f5e7dba3351844950e681c08bd74f3df2d42_GH0.tar.gz) = acb7d69d6264127c4d4a80f1b160e761ba50dcc0206fc31469a7b4c593522eb1 +SIZE (sdushantha-fontpreview-1.0.6-24f4f5e7dba3351844950e681c08bd74f3df2d42_GH0.tar.gz) = 6285279 Property changes on: head/x11-fonts/fontpreview/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-fonts/fontpreview/files/patch-fontpreview =================================================================== --- head/x11-fonts/fontpreview/files/patch-fontpreview (nonexistent) +++ head/x11-fonts/fontpreview/files/patch-fontpreview (revision 532142) @@ -0,0 +1,11 @@ +--- fontpreview.orig 2020-04-19 12:00:29 UTC ++++ fontpreview +@@ -164,7 +164,7 @@ font=$1 + + + # Parse the arguments +-options=$(getopt -o hi:o: --long position:,size:,version,search-prompt:,font-size:,bg-color:,fg-color:,preview-text:,input:,output:,help -- "$@") ++options=$(%%GETOPT%% -o hi:o: --long position:,size:,version,search-prompt:,font-size:,bg-color:,fg-color:,preview-text:,input:,output:,help -- "$@") + eval set -- "$options" + + while true; do Property changes on: head/x11-fonts/fontpreview/files/patch-fontpreview ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-fonts/fontpreview/pkg-descr =================================================================== --- head/x11-fonts/fontpreview/pkg-descr (nonexistent) +++ head/x11-fonts/fontpreview/pkg-descr (revision 532142) @@ -0,0 +1,8 @@ +fontpreview is a command-line tool that let's the user to quickly search for +fonts that are installed on their machine and preview them. The fuzzy search +feature is provided by fzf and the preview is generated with ImageMagick and +then displayed using sxiv. This tool is highly customizable, almost all of the +variables in this tool can be changed using the command-line flags or the +environment variables. + +WWW: https://github.com/sdushantha/fontpreview Property changes on: head/x11-fonts/fontpreview/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property