1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

As previously announced, remove x11-fonts/mkfontalias. Its mastersite

has disappeared, and it is claimed that it is no longer useful.
This commit is contained in:
Mark Linimon 2004-11-28 21:08:48 +00:00
parent a24cd989d5
commit c9f80c1911
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=122695
5 changed files with 0 additions and 95 deletions

View File

@ -33,7 +33,6 @@
SUBDIR += linux-fontconfig
SUBDIR += linux-urw-fonts
SUBDIR += mkbold
SUBDIR += mkfontalias
SUBDIR += mkitalic
SUBDIR += mozilla-fonts
SUBDIR += nexfontsel

View File

@ -1,47 +0,0 @@
# New ports collection makefile for: mkfontalias
# Date created: 26 September 2001
# Whom: Stijn Hoop <stijn@win.tue.nl>
#
# $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 <bsd.port.mk>

View File

@ -1,2 +0,0 @@
MD5 (mkfontalias.py) = 1cfa6dfb2a71e1dbd5bfe3703eeb118c
SIZE (mkfontalias.py) = 3571

View File

@ -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)

View File

@ -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