Ticket #12413: Portfile.2.diff

File Portfile.2.diff, 649 bytes (added by peter@…, 17 years ago)
  • Portfile

    old new  
    1515master_sites            sourceforge:itk
    1616checksums               md5     210bc50d96f2a6414ec460fc926d851d
    1717
    18 depends_build           bin:cmake:cmake
     18depends_build           port:cmake
    1919distfiles               ${name}-${version}${extract.suffix}
    2020
    21 configure               { system "cd ${worksrcpath} && cmake ${configure.args} ${worksrcpath}" }
    22 configure.args          -D BUILD_SHARED_LIBS:BOOL=ON \
    23                         -D CMAKE_INSTALL_PREFIX:PATH=${prefix}
     21configure.cmd           cmake
     22configure.pre_args
    2423
     24configure.args          -DBUILD_SHARED_LIBS:BOOL=ON \
     25                        -DCMAKE_INSTALL_PREFIX:PATH=${prefix}