Ticket #20281: Portfile.patch

File Portfile.patch, 1.2 KB (added by mww@…, 15 years ago)

patch for devel/spin/Portfile

  • Portfile

    old new  
    33PortSystem      1.0
    44
    55name            spin
    6 version         5.1.7
     6version         5.2.0
    77set version_no_dot [join [split ${version} .] ""]
    88distname        ${name}${version_no_dot}
    99categories      devel
     
    1818
    1919homepage        http://spinroot.com
    2020master_sites    http://spinroot.com/spin/Src/
    21 checksums       rmd160  e7065ffe54f468b4717c4df7752a20bc9cae907a
     21checksums           md5     0e23a034cc3e5adbf9e90919a0888ab0 \
     22                    sha1    edac8e1d0aaa89bb17d5ce6a9ec6726708801bf1 \
     23                    rmd160  9109f146d15f5b44d6e4b333c50b65e770af1c1c
    2224depends_lib     port:tk port:tcl
    2325patchfiles      patch-makefile.diff \
    2426                patch-xspin.diff
    2527worksrcdir      Spin/Src${version}
    2628use_configure   no
    2729
    28 set xspin_dir   Xspin5.1
    29 set xspin_name  xspin510.tcl
     30set xspin_dir   Xspin5.2
     31set xspin_name  xspin520.tcl
    3032
    3133pre-patch   {
    3234    file rename ${worksrcpath}/../${xspin_dir}/${xspin_name} ${worksrcpath}/../${xspin_dir}/xspin
     
    3739}
    3840
    3941build.target    ""
     42build.args      CC="${configure.cc} -DNXT"
    4043
    4144destroot    {
    4245    xinstall -m 0444 ${worksrcpath}/../Man/${name}.1 \