Ignore:
Timestamp:
Feb 22, 2009, 3:12:10 AM (9 years ago)
Author:
blb@…
Message:

Multiple X11 font ports - switch to using x11font port group; bump revision
on all due to the fact that the new port group also deletes the fonts.cache-1
file (ticket #18579)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/x11/font-bitstream-speedo/Portfile

    r45782 r47101  
    22
    33PortSystem          1.0
    4 name                font-bitstream-speedo
    5 version             1.0.0
    6 categories          x11 x11-font graphics
     4PortGroup           x11font 1.0
     5x11font.setup       font-bitstream-speedo 1.0.0 Speedo
     6revision            1
    77maintainers         blb openmaintainer
    88description         X.org Bitstream Speedo fonts
     
    1111platforms           darwin
    1212
    13 homepage            http://www.x.org/
    14 master_sites        ${homepage}pub/individual/font/
    15 use_bzip2           yes
    16 
    1713checksums           md5     1399dc18aeb9571b0951d9570ea1059d \
    1814                    sha1    e7d654b7844d3343f15bfb4807253d385fcdda49 \
    1915                    rmd160  5b6a215a1e2f857fe48ea4e416260ddec92f3df7
    2016
    21 depends_build       port:pkgconfig bin:bdftopcf:bdftopcf port:xorg-font-util \
    22                     port:mkfontscale port:mkfontdir bin:gzip:gzip
    23 
    24 set myfontdir       ${prefix}/share/fonts/Speedo
    25 
    26 configure.args      --with-fontdir=${myfontdir}
    27 
    28 post-destroot {
    29    foreach fontsFile {fonts.alias fonts.dir fonts.list fonts.scale} {
    30       if {[file exists ${destroot}${myfontdir}/${fontsFile}]} {
    31          delete ${destroot}${myfontdir}/${fontsFile}
    32       }
    33    }
    34 }
    35 
    36 post-activate {
    37    system "mkfontscale ${myfontdir}"
    38    system "mkfontdir ${myfontdir}"
    39 }
    40 
    41 # This should be done when uninstalling, but deactivate doesn't currently work
    42 #post-deactivate {
    43 #   system "mkfontscale ${myfontdir}"
    44 #   system "mkfontdir ${myfontdir}"
    45 #}
    46 
    47 livecheck.check     regex
    48 livecheck.regex     ${name}-(\[\\d.\]+)${extract.suffix}
    49 livecheck.url       ${master_sites}
    50 
Note: See TracChangeset for help on using the changeset viewer.