Skip to content
Permalink
Browse files

Bug: https://trac.macports.org/ticket/1636

Submitted by:   jbenninghoff@mac.com (John Benninghoff)
Reviewed by:    olegb@
Approved by:    olegb@
Obtained from:

initial check in, added a ui_msg about the configuration.

Thanks john!

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@5840 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Ole Guldberg Jensen
Ole Guldberg Jensen committed Mar 17, 2004
1 parent d7fd78e commit 428898f0a9c290be34fedd242ec69ffd98936a18
Showing with 61 additions and 0 deletions.
  1. +50 −0 graphics/bitstream-vera/Portfile
  2. +11 −0 graphics/bitstream-vera/files/patch-local.conf
@@ -0,0 +1,50 @@
# $Id: Portfile,v 1.1 2004/03/17 17:21:44 olegb Exp $

PortSystem 1.0
name bitstream-vera
version 1.10
categories graphics
maintainers jbenninghoff@mac.com
description Bitstream Vera Fonts for use with Freetype/Fontconfig

long_description \
Bittream Vera Fonts consist of four monospace and sans faces (normal, \
oblique, bold, bold oblique) and two serif faces (normal and bold). \
They are designed to be an attractive default font for GNOME-based \
X11 apps. (GTK2/Xft2/Freetype/Fontconfig)

homepage http://www.gnome.org/fonts/

master_sites http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/1.10/
distname ttf-${name}-${version}

platforms darwin
checksums md5 52559ed969e74f5fca83e527163156df

patchfiles patch-local.conf

configure {}
build {
reinplace "s|%FONTSDIR%|${prefix}/share/fonts|" \
${worksrcpath}/local.conf
}
destroot {
xinstall -d ${destroot}${prefix}/share/fonts
system "install -m 444 ${worksrcpath}/*.ttf \
${destroot}${prefix}/share/fonts"

xinstall -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} COPYRIGHT.TXT README.TXT \
RELEASENOTES.TXT local.conf \
${destroot}${prefix}/share/doc/${name}
}

post-install {
ui_msg "------------------------------------------------------------------
--------"
ui_msg "Requires modifications to ${prefix}/etc/fonts/local.conf. "
ui_msg "Replacement file provided at ${prefix}/share/doc/bitstream-vera/local.conf."
ui_msg "------------------------------------------------------------------
--------"
}

@@ -0,0 +1,11 @@
--- local.conf.orig Wed Apr 16 12:00:13 2003
+++ local.conf Sat Mar 13 22:28:28 2004
@@ -11,6 +11,8 @@
</match>
-->

+ <dir>%FONTSDIR%</dir>
+
<alias>
<family>serif</family>
<prefer>

0 comments on commit 428898f

Please sign in to comment.
You can’t perform that action at this time.