Index: head/www/ttf2eot/Makefile =================================================================== --- head/www/ttf2eot/Makefile (revision 434249) +++ head/www/ttf2eot/Makefile (revision 434250) @@ -1,30 +1,36 @@ # Created by: Stefan Bethke # $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 PLIST_FILES= bin/ttf2eot PORTDOCS= README OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|g++|${CXX}|' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ttf2eot ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include Index: head/www/ttf2eot/distinfo =================================================================== --- head/www/ttf2eot/distinfo (revision 434249) +++ head/www/ttf2eot/distinfo (revision 434250) @@ -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 Index: head/www/ttf2eot/files/patch-OpenTypeUtilities.cpp =================================================================== --- head/www/ttf2eot/files/patch-OpenTypeUtilities.cpp (revision 434249) +++ head/www/ttf2eot/files/patch-OpenTypeUtilities.cpp (revision 434250) @@ -1,10 +1,19 @@ ---- 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 #include +#include #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; Index: head/www/ttf2eot/pkg-descr =================================================================== --- head/www/ttf2eot/pkg-descr (revision 434249) +++ head/www/ttf2eot/pkg-descr (revision 434250) @@ -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