unbreak www/ttf2eot and update to 0.0.3

- switch from GOOGLE_CODE to GITHUB
 - add LICENSE
 - update to 0.0.3
 - pass maintainership to submitter

PR:		216992
Submitted by:	Chris Hutchinson <portmaster@bsdforge.com>
Approved by:	stb@lassitu.de (maintainer)
This commit is contained in:
Nikolai Lifanov 2017-02-16 20:07:11 +00:00
parent 466d265cfd
commit e7033bc862
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=434250
4 changed files with 29 additions and 11 deletions

View file

@ -2,14 +2,20 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= ttf2eot PORTNAME= ttf2eot
DISTVERSION= 0.0.2-2 PORTVERSION= 0.0.3
DISTVERSIONPREFIX= v
CATEGORIES= www converters 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 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 USES= gmake
ALL_TARGET= ttf2eot ALL_TARGET= ttf2eot

View file

@ -1,2 +1,3 @@
SHA256 (ttf2eot-0.0.2-2.tar.gz) = 023cf04d7c717657e92afe566518bf2a696ab22a2a8eba764340000bebff8db8 TIMESTAMP = 1487275609
SIZE (ttf2eot-0.0.2-2.tar.gz) = 4951 SHA256 (wget-ttf2eot-v0.0.3-b732f41_GH0.tar.gz) = 51676549aae47611f8a490c9213967ab837f85fd1b06b5521d9c241aaa60dd40
SIZE (wget-ttf2eot-v0.0.3-b732f41_GH0.tar.gz) = 158382

View file

@ -1,5 +1,5 @@
--- OpenTypeUtilities.cpp.orig 2009-04-30 09:18:46.000000000 +0000 --- OpenTypeUtilities.cpp.orig 2017-02-10 20:28:02.186321000 -0800
+++ OpenTypeUtilities.cpp +++ OpenTypeUtilities.cpp 2017-02-10 20:34:22.986633000 -0800
@@ -27,6 +27,7 @@ @@ -27,6 +27,7 @@
#include <string.h> #include <string.h>
@ -8,3 +8,12 @@
#ifndef _MSC_VER #ifndef _MSC_VER
# include <stdint.h> # include <stdint.h>
@@ -178,7 +179,7 @@
dst[i] = 0;
}
-bool getEOTHeader(unsigned char* fontData, size_t fontSize, vector<uint8_t>& eotHeader, size_t& overlayDst, size_t& overlaySrc, size_t& overlayLength)
+bool getEOTHeader(unsigned char* fontData, size_t fontSize, vector<uint8_t>&eotHeader, size_t&overlayDst, size_t&overlaySrc, size_t&overlayLength)
{
overlayDst = 0;
overlaySrc = 0;

View file

@ -1,4 +1,6 @@
Very small utility to convert TTF files to EOT. Very small utility that converts TTF fonts to EOT fonts
EOT is used by Internet Explorer to support css @font-face declarations. 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