diff --git a/www/ttf2eot/Makefile b/www/ttf2eot/Makefile index b6c8c82bbcf7..9ec5fe9f0de3 100644 --- a/www/ttf2eot/Makefile +++ b/www/ttf2eot/Makefile @@ -2,14 +2,20 @@ # $FreeBSD$ PORTNAME= ttf2eot -DISTVERSION= 0.0.2-2 +PORTVERSION= 0.0.3 +DISTVERSIONPREFIX= v CATEGORIES= www converters -MASTER_SITES= GOOGLE_CODE -MAINTAINER= stb@lassitu.de +MAINTAINER= portmaster@bsdforge.com COMMENT= Convert TTF font file to EOT web embeddable file -BROKEN= Unfetchable (google code has gone away) +LICENSE= BSD2CLAUSE LGPL20 +LICENSE_COMB= multi + +USE_GITHUB= yes +GH_ACCOUNT= wget +GH_PROJECT= ttf2eot +GH_TAGNAME= b732f41 USES= gmake ALL_TARGET= ttf2eot diff --git a/www/ttf2eot/distinfo b/www/ttf2eot/distinfo index 64ab31778207..02183be9cf6d 100644 --- a/www/ttf2eot/distinfo +++ b/www/ttf2eot/distinfo @@ -1,2 +1,3 @@ -SHA256 (ttf2eot-0.0.2-2.tar.gz) = 023cf04d7c717657e92afe566518bf2a696ab22a2a8eba764340000bebff8db8 -SIZE (ttf2eot-0.0.2-2.tar.gz) = 4951 +TIMESTAMP = 1487275609 +SHA256 (wget-ttf2eot-v0.0.3-b732f41_GH0.tar.gz) = 51676549aae47611f8a490c9213967ab837f85fd1b06b5521d9c241aaa60dd40 +SIZE (wget-ttf2eot-v0.0.3-b732f41_GH0.tar.gz) = 158382 diff --git a/www/ttf2eot/files/patch-OpenTypeUtilities.cpp b/www/ttf2eot/files/patch-OpenTypeUtilities.cpp index 70265ef4cf4d..70663f3192ca 100644 --- a/www/ttf2eot/files/patch-OpenTypeUtilities.cpp +++ b/www/ttf2eot/files/patch-OpenTypeUtilities.cpp @@ -1,5 +1,5 @@ ---- OpenTypeUtilities.cpp.orig 2009-04-30 09:18:46.000000000 +0000 -+++ OpenTypeUtilities.cpp +--- OpenTypeUtilities.cpp.orig 2017-02-10 20:28:02.186321000 -0800 ++++ OpenTypeUtilities.cpp 2017-02-10 20:34:22.986633000 -0800 @@ -27,6 +27,7 @@ #include @@ -8,3 +8,12 @@ #ifndef _MSC_VER # include +@@ -178,7 +179,7 @@ + dst[i] = 0; + } + +-bool getEOTHeader(unsigned char* fontData, size_t fontSize, vector& eotHeader, size_t& overlayDst, size_t& overlaySrc, size_t& overlayLength) ++bool getEOTHeader(unsigned char* fontData, size_t fontSize, vector&eotHeader, size_t&overlayDst, size_t&overlaySrc, size_t&overlayLength) + { + overlayDst = 0; + overlaySrc = 0; diff --git a/www/ttf2eot/pkg-descr b/www/ttf2eot/pkg-descr index bd611d03327b..86f786c8a860 100644 --- a/www/ttf2eot/pkg-descr +++ b/www/ttf2eot/pkg-descr @@ -1,4 +1,6 @@ -Very small utility to convert TTF files to EOT. -EOT is used by Internet Explorer to support css @font-face declarations. +Very small utility that converts TTF fonts to EOT fonts +especially suited for Internet Explorer. +EOT fonts are used by Internet Explorer to support the +css @font-face declarations. -WWW: http://code.google.com/p/ttf2eot/ +WWW: https://github.com/wget/ttf2eot