From c9f80c191130904c1b427147cc13c8e777c99252 Mon Sep 17 00:00:00 2001 From: Mark Linimon Date: Sun, 28 Nov 2004 21:08:48 +0000 Subject: [PATCH] As previously announced, remove x11-fonts/mkfontalias. Its mastersite has disappeared, and it is claimed that it is no longer useful. --- x11-fonts/Makefile | 1 - x11-fonts/mkfontalias/Makefile | 47 ---------------------------- x11-fonts/mkfontalias/distinfo | 2 -- x11-fonts/mkfontalias/files/patch-aa | 41 ------------------------ x11-fonts/mkfontalias/pkg-descr | 4 --- 5 files changed, 95 deletions(-) delete mode 100644 x11-fonts/mkfontalias/Makefile delete mode 100644 x11-fonts/mkfontalias/distinfo delete mode 100644 x11-fonts/mkfontalias/files/patch-aa delete mode 100644 x11-fonts/mkfontalias/pkg-descr diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile index cb3349995d3f..00ecd49ba277 100644 --- a/x11-fonts/Makefile +++ b/x11-fonts/Makefile @@ -33,7 +33,6 @@ SUBDIR += linux-fontconfig SUBDIR += linux-urw-fonts SUBDIR += mkbold - SUBDIR += mkfontalias SUBDIR += mkitalic SUBDIR += mozilla-fonts SUBDIR += nexfontsel diff --git a/x11-fonts/mkfontalias/Makefile b/x11-fonts/mkfontalias/Makefile deleted file mode 100644 index 87927dcba5e4..000000000000 --- a/x11-fonts/mkfontalias/Makefile +++ /dev/null @@ -1,47 +0,0 @@ -# New ports collection makefile for: mkfontalias -# Date created: 26 September 2001 -# Whom: Stijn Hoop -# -# $FreeBSD$ -# - -PORTNAME= mkfontalias -PORTVERSION= 0.3 -CATEGORIES= x11-fonts -MASTER_SITES= http://home.c2i.net/dark/ -DISTNAME= mkfontalias.py -EXTRACT_SUFX= - -MAINTAINER= ports@FreeBSD.org -COMMENT= Python script to make fonts.alias files for X - -DEPRECATED= No longer useful, master-site disappeared -EXPIRATION_DATE=2004-10-01 - -PLIST_FILES= bin/mkfontalias -USE_PYTHON= yes -USE_X_PREFIX= yes - -EXTRACT_CMD= ${CP} -EXTRACT_BEFORE_ARGS= -EXTRACT_AFTER_ARGS= ${WRKSRC} - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -.ifndef WITH_DPI -DPI= 75 -.else -DPI= ${WITH_DPI} -.endif - -post-patch: - ${MV} ${WRKSRC}/mkfontalias.py ${WRKSRC}/mkfontalias.py.tmp - ${SED} -e "s,/usr/bin/python,${LOCALBASE}/bin/python," \ - -e "s#'75', '75'#'${DPI}', '${DPI}'#" \ - ${WRKSRC}/mkfontalias.py.tmp > ${WRKSRC}/mkfontalias.py - -do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/mkfontalias.py ${PREFIX}/bin/mkfontalias - -.include diff --git a/x11-fonts/mkfontalias/distinfo b/x11-fonts/mkfontalias/distinfo deleted file mode 100644 index b3692dcf89bd..000000000000 --- a/x11-fonts/mkfontalias/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (mkfontalias.py) = 1cfa6dfb2a71e1dbd5bfe3703eeb118c -SIZE (mkfontalias.py) = 3571 diff --git a/x11-fonts/mkfontalias/files/patch-aa b/x11-fonts/mkfontalias/files/patch-aa deleted file mode 100644 index 8e595501020f..000000000000 --- a/x11-fonts/mkfontalias/files/patch-aa +++ /dev/null @@ -1,41 +0,0 @@ ---- mkfontalias.py.orig Wed Sep 26 12:44:13 2001 -+++ mkfontalias.py Wed Sep 26 12:45:50 2001 -@@ -71,22 +71,25 @@ - - map = _font_map.get ( name, None ) - -- if map: -- # Create a bunch of aliases, for each size -- for size in _font_sizes: -- # Do the 'cheating' - fallback to size if not in the cheat map -- real_size = _cheat_map.get ( size, size ) -+ if not map: -+ sys.stderr.write( "Warning: unknown font with name '%s'\n" % name ) -+ map = name - -- name = string.join ( entries[:7] + [ str(real_size), -- str(real_size * 10) ] + -- entries[9:], '-' ) -+ # Create a bunch of aliases, for each size -+ for size in _font_sizes: -+ # Do the 'cheating' - fallback to size if not in the cheat map -+ real_size = _cheat_map.get ( size, size ) - -- alias = string.join ( entries[:2] + [map] + entries[3:7] + -- [ str(size), str(size * 10) ] + -- _res + entries[11:], '-' ) -+ name = string.join ( entries[:7] + [ str(real_size), -+ str(real_size * 10) ] + -+ entries[9:], '-' ) - -- # Add the entry to the aliases -- _aliases.append ( '"%s" "%s"' % (alias, name) ) -+ alias = string.join ( entries[:2] + [map] + entries[3:7] + -+ [ str(size), str(size * 10) ] + -+ _res + entries[11:], '-' ) -+ -+ # Add the entry to the aliases -+ _aliases.append ( '"%s" "%s"' % (alias, name) ) - - # Boast - print 'Created %s aliases' % len(_aliases) diff --git a/x11-fonts/mkfontalias/pkg-descr b/x11-fonts/mkfontalias/pkg-descr deleted file mode 100644 index 1852b60ca68b..000000000000 --- a/x11-fonts/mkfontalias/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -A Python script that generates a fonts.alias file for use with TrueType -fonts in X. - -WWW: http://home.c2i.net/dark/linux.html#fuzzy