diff options
author | mi <mi@FreeBSD.org> | 2012-12-08 01:43:42 +0800 |
---|---|---|
committer | mi <mi@FreeBSD.org> | 2012-12-08 01:43:42 +0800 |
commit | 37c9dfac38ab8e974d5044a420193b680e20e2c8 (patch) | |
tree | 4e42733a0ae2168408b4987a9bd8658126dec6e1 /x11-fonts/ttmkfdir | |
parent | c0cbf4333171113ceb21a20f8e5784657a2d64e7 (diff) | |
download | freebsd-ports-gnome-37c9dfac38ab8e974d5044a420193b680e20e2c8.tar.gz freebsd-ports-gnome-37c9dfac38ab8e974d5044a420193b680e20e2c8.tar.zst freebsd-ports-gnome-37c9dfac38ab8e974d5044a420193b680e20e2c8.zip |
Undeprecate by switching to Gentoo's mirrors. The software may be obsolete, and
that may be a reason to kill it, but the sources surely surely remain out there.
Enable parallelized building and silence the noisiest of the warnings while I'm
here.
Feature safe: yes
Diffstat (limited to 'x11-fonts/ttmkfdir')
-rw-r--r-- | x11-fonts/ttmkfdir/Makefile | 9 | ||||
-rw-r--r-- | x11-fonts/ttmkfdir/files/patch-ttf.cpp | 31 |
2 files changed, 33 insertions, 7 deletions
diff --git a/x11-fonts/ttmkfdir/Makefile b/x11-fonts/ttmkfdir/Makefile index 80c1d92a0a41..2d7112c8b797 100644 --- a/x11-fonts/ttmkfdir/Makefile +++ b/x11-fonts/ttmkfdir/Makefile @@ -10,20 +10,19 @@ PORTVERSION= 3.0.9 PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= x11-fonts x11 -MASTER_SITES= http://mbsd.msk.ru/dist/ +MASTER_SITES= ${MASTER_SITE_GENTOO} +MASTER_SITE_SUBDIR=distfiles MAINTAINER= ports@FreeBSD.org COMMENT= Create fonts.scale file for use with TrueType font server -DEPRECATED= No more public distfiles -EXPIRATION_DATE= 2012-10-20 - -LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 +LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2 PLIST_FILES= bin/ttmkfdir USE_BZIP2= yes USE_GMAKE= yes USE_XORG= x11 +MAKE_JOBS_SAFE= yes do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ttmkfdir ${PREFIX}/bin diff --git a/x11-fonts/ttmkfdir/files/patch-ttf.cpp b/x11-fonts/ttmkfdir/files/patch-ttf.cpp index 8b3fd50c64cc..7718aea50169 100644 --- a/x11-fonts/ttmkfdir/files/patch-ttf.cpp +++ b/x11-fonts/ttmkfdir/files/patch-ttf.cpp @@ -1,5 +1,5 @@ ---- ttf.cpp.orig Wed Jul 19 11:13:20 2006 -+++ ttf.cpp Wed Jul 19 11:22:41 2006 +--- ttf.cpp 2003-01-08 00:25:25.000000000 -0500 ++++ ttf.cpp 2012-12-07 12:34:54.000000000 -0500 @@ -51,20 +51,27 @@ bool Face::MappingPresent (int cmapidx, NumericMapping *m, int enc_size, int start_code, bool enc_comp) @@ -44,3 +44,30 @@ }; platform = NamePtr.platform_id; encoding = NamePtr.encoding_id; +@@ -483,7 +490,7 @@ + const char * + Face::PanoseWeight (void) const + { +- static char *panose_weight_latin[] = { ++ static const char *panose_weight_latin[] = { + "any", + "no fit", + "very light", +@@ -548,7 +555,7 @@ + const char * + Face::PanoseWidth (void) const + { +- static char *panose_spacing_latin_text [] = { ++ static const char *panose_spacing_latin_text [] = { + "any", + "no fit", + "old style", +@@ -561,7 +568,7 @@ + "monospaced", + }; + +- static char *panose_spacing_latin_decorative [] = { ++ static const char *panose_spacing_latin_decorative [] = { + "any", + "no fit", + "super condensed", |