svn commit: r434250 - in head/www/ttf2eot: . files

Nikolai Lifanov lifanov at FreeBSD.org
Thu Feb 16 20:07:13 UTC 2017


Author: lifanov
Date: Thu Feb 16 20:07:11 2017
New Revision: 434250
URL: https://svnweb.freebsd.org/changeset/ports/434250

Log:
  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 at bsdforge.com>
  Approved by:	stb at lassitu.de (maintainer)

Modified:
  head/www/ttf2eot/Makefile
  head/www/ttf2eot/distinfo
  head/www/ttf2eot/files/patch-OpenTypeUtilities.cpp
  head/www/ttf2eot/pkg-descr

Modified: head/www/ttf2eot/Makefile
==============================================================================
--- head/www/ttf2eot/Makefile	Thu Feb 16 19:59:52 2017	(r434249)
+++ head/www/ttf2eot/Makefile	Thu Feb 16 20:07:11 2017	(r434250)
@@ -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 at lassitu.de
+MAINTAINER=	portmaster at 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

Modified: head/www/ttf2eot/distinfo
==============================================================================
--- head/www/ttf2eot/distinfo	Thu Feb 16 19:59:52 2017	(r434249)
+++ head/www/ttf2eot/distinfo	Thu Feb 16 20:07:11 2017	(r434250)
@@ -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

Modified: head/www/ttf2eot/files/patch-OpenTypeUtilities.cpp
==============================================================================
--- head/www/ttf2eot/files/patch-OpenTypeUtilities.cpp	Thu Feb 16 19:59:52 2017	(r434249)
+++ head/www/ttf2eot/files/patch-OpenTypeUtilities.cpp	Thu Feb 16 20:07:11 2017	(r434250)
@@ -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 <string.h>
@@ -8,3 +8,12 @@
  
  #ifndef _MSC_VER
  # 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;

Modified: head/www/ttf2eot/pkg-descr
==============================================================================
--- head/www/ttf2eot/pkg-descr	Thu Feb 16 19:59:52 2017	(r434249)
+++ head/www/ttf2eot/pkg-descr	Thu Feb 16 20:07:11 2017	(r434250)
@@ -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


More information about the svn-ports-head mailing list