diff --git a/x11-fonts/monoid/Makefile b/x11-fonts/monoid/Makefile index 684fa3576186..66496e4649f2 100644 --- a/x11-fonts/monoid/Makefile +++ b/x11-fonts/monoid/Makefile @@ -1,23 +1,25 @@ # $FreeBSD$ PORTNAME= monoid -DISTVERSIONPREFIX= v DISTVERSION= 0.61 +PORTREVISION= 1 CATEGORIES= x11-fonts -MASTER_SITES= https://github.com/larsenwork/monoid/raw/${RELEASE_HASH}/ -DISTFILES= ${FONTNAME}${EXTRACT_SUFX} \ - ${FONTNAME}-Tight${EXTRACT_SUFX} \ - ${FONTNAME}-HalfTight${EXTRACT_SUFX} \ - ${FONTNAME}-HalfLoose${EXTRACT_SUFX} \ - ${FONTNAME}-Loose${EXTRACT_SUFX} -DIST_SUBDIR= ${PORTNAME}-${DISTVERSIONFULL} +MASTER_SITES= https://github.com/larsenwork/monoid/raw/${RELEASE_HASH}/:monoid \ + https://github.com/larsenwork/monoid/raw/${DISTVERSION}/Monoisome/:monoisome +DISTFILES= ${FONTNAME}${EXTRACT_SUFX}:monoid \ + ${FONTNAME}-Tight${EXTRACT_SUFX}:monoid \ + ${FONTNAME}-HalfTight${EXTRACT_SUFX}:monoid \ + ${FONTNAME}-HalfLoose${EXTRACT_SUFX}:monoid \ + ${FONTNAME}-Loose${EXTRACT_SUFX}:monoid \ + Monoisome-Regular.ttf:monoisome +DIST_SUBDIR= ${PORTNAME}-${DISTVERSION} +EXTRACT_ONLY= ${DISTFILES:M*\:monoid:S/:monoid//} MAINTAINER= 0mp@FreeBSD.org COMMENT= Coding font with alternates, ligatures and contextual positioning # The license is in the README file, which is not downloaded. -LICENSE= MIT OFL11 -LICENSE_COMB= dual +LICENSE= OFL11 USES= fonts zip @@ -29,6 +31,10 @@ NO_WRKSUBDIR= yes RELEASE_HASH= 2db2d289f4e61010dd3f44e09918d9bb32fb96fd +post-extract: + @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/Monoisome-Regular.ttf \ + ${WRKSRC} + do-install: @${MKDIR} ${STAGEDIR}${FONTSDIR} ${INSTALL_DATA} ${WRKSRC}/*ttf ${STAGEDIR}${FONTSDIR} diff --git a/x11-fonts/monoid/distinfo b/x11-fonts/monoid/distinfo index 7a4f689e8683..ef375c624a0c 100644 --- a/x11-fonts/monoid/distinfo +++ b/x11-fonts/monoid/distinfo @@ -1,11 +1,13 @@ -TIMESTAMP = 1572102001 -SHA256 (monoid-v0.61/Monoid.zip) = c28acd76ae1f0244f7c869bf1ba3272da3eb900dd50fbbd368265468a1a34794 -SIZE (monoid-v0.61/Monoid.zip) = 145031 -SHA256 (monoid-v0.61/Monoid-Tight.zip) = c2abf6a212cf027b4fa07141641156c4eb231ffb38cb510de481bbe82115d548 -SIZE (monoid-v0.61/Monoid-Tight.zip) = 145480 -SHA256 (monoid-v0.61/Monoid-HalfTight.zip) = d32c6ba277b9a700f1c72fb5f10d150cebb113c0a35fd7cdae01bbddabc9a283 -SIZE (monoid-v0.61/Monoid-HalfTight.zip) = 145762 -SHA256 (monoid-v0.61/Monoid-HalfLoose.zip) = 3461c88097b8a07cfdf50765a827bd5edd8fcedbed3a48cd05c538d376ec58a9 -SIZE (monoid-v0.61/Monoid-HalfLoose.zip) = 145348 -SHA256 (monoid-v0.61/Monoid-Loose.zip) = 51238c5027182a8d993a0a58a2cb68a2e96209ee93105ee7653cabe87885c637 -SIZE (monoid-v0.61/Monoid-Loose.zip) = 145290 +TIMESTAMP = 1572105265 +SHA256 (monoid-0.61/Monoid.zip) = c28acd76ae1f0244f7c869bf1ba3272da3eb900dd50fbbd368265468a1a34794 +SIZE (monoid-0.61/Monoid.zip) = 145031 +SHA256 (monoid-0.61/Monoid-Tight.zip) = c2abf6a212cf027b4fa07141641156c4eb231ffb38cb510de481bbe82115d548 +SIZE (monoid-0.61/Monoid-Tight.zip) = 145480 +SHA256 (monoid-0.61/Monoid-HalfTight.zip) = d32c6ba277b9a700f1c72fb5f10d150cebb113c0a35fd7cdae01bbddabc9a283 +SIZE (monoid-0.61/Monoid-HalfTight.zip) = 145762 +SHA256 (monoid-0.61/Monoid-HalfLoose.zip) = 3461c88097b8a07cfdf50765a827bd5edd8fcedbed3a48cd05c538d376ec58a9 +SIZE (monoid-0.61/Monoid-HalfLoose.zip) = 145348 +SHA256 (monoid-0.61/Monoid-Loose.zip) = 51238c5027182a8d993a0a58a2cb68a2e96209ee93105ee7653cabe87885c637 +SIZE (monoid-0.61/Monoid-Loose.zip) = 145290 +SHA256 (monoid-0.61/Monoisome-Regular.ttf) = 0aedac5663ea33f5a7d5c802408ff0ee16cf62b680f9e05980ccd2ba40040930 +SIZE (monoid-0.61/Monoisome-Regular.ttf) = 254384 diff --git a/x11-fonts/monoid/pkg-descr b/x11-fonts/monoid/pkg-descr index 2bc7e2b78d3a..547e1d92e122 100644 --- a/x11-fonts/monoid/pkg-descr +++ b/x11-fonts/monoid/pkg-descr @@ -7,4 +7,6 @@ big apertures and supersized operators + punctuation. Monoid comes in regular, bold, oblique and retina versions with >750 latin, greek, cyrillic, ligature, alternate and Powerline glyphs. +The port includes the Monoisome font (Monoid + Font Awesome). + WWW: https://larsenwork.com/monoid diff --git a/x11-fonts/monoid/pkg-plist b/x11-fonts/monoid/pkg-plist index 908fcfad5961..bfd05a616586 100644 --- a/x11-fonts/monoid/pkg-plist +++ b/x11-fonts/monoid/pkg-plist @@ -18,3 +18,4 @@ %%FONTSDIR%%/Monoid-Retina-Loose.ttf %%FONTSDIR%%/Monoid-Retina-Tight.ttf %%FONTSDIR%%/Monoid-Retina.ttf +%%FONTSDIR%%/Monoisome-Regular.ttf