Changeset 95782


Ignore:
Timestamp:
Jul 22, 2012, 9:41:27 AM (7 years ago)
Author:
ryandesign@…
Message:

tth:

  • update to 4.03
  • simplify how the cflags are assembled
  • install documentation files

See #35188 (maintainer timeout)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/tth/Portfile

    r74677 r95782  
    44
    55name            tth
    6 version         4.00
     6version         4.03
    77categories      textproc print
    88maintainers     toby
     
    2424dist_subdir     ${name}/${version}
    2525
    26 checksums       md5 0c5ca8ecba950075f12c98bd9ae42087 \
    27                 sha1 b0d290b8f15e10889a56b504892780a5caa9e126 \
    28                 rmd160 64ee3b3fc147de45bb316bb31d2d606bca3fd77e
     26checksums       rmd160  bb0a5a38c5f99dabff0c921a1c2c8cbe476f6b19 \
     27                sha256  ce532f5dcf907c29e1ec581d1bd9c235f0ad66fe75f0b3b703eb2a73664ab61d
    2928
    30 # sigh
    31 configure {}
    32 set mycflags ${configure.cflags}
    33 if {[variant_isset universal]} {
    34     set mycflags "$mycflags ${configure.universal_cflags}"
    35 } else {
    36     if {[info exists configure.cc_archflags]} { set mycflags "$mycflags ${configure.cc_archflags}" }
    37 }
     29use_configure   no
     30
     31variant universal {}
    3832
    3933build.cmd       ${configure.cc}
    4034build.pre_args
    41 build.args      $mycflags ${name}.c -o ${name}
     35build.args      ${configure.cflags} [get_canonical_archflags cc] ${name}.c -o ${name}
    4236
    4337destroot {
     
    4741    xinstall -m 755 ${worksrcpath}/ps2png ${destroot}${prefix}/bin
    4842    xinstall -m 644 ${worksrcpath}/tth.1 ${destroot}${prefix}/share/man/man1
     43
     44    set docdir ${prefix}/share/doc/${name}
     45    xinstall -d ${destroot}${docdir}
     46    xinstall -m 644 -W ${worksrcpath} \
     47        CHANGES \
     48        license.txt \
     49        tth_manual.html \
     50        ${destroot}${docdir}
    4951}
    5052
Note: See TracChangeset for help on using the changeset viewer.