Changeset 56939


Ignore:
Timestamp:
Sep 3, 2009, 5:27:45 PM (10 years ago)
Author:
krischik@…
Message:

New Version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/editors/sigil/Portfile

    r55651 r56939  
    66
    77name                sigil
    8 version             0.1.2
     8version             0.1.3
    99#epoch              20090114
    1010revision            0
     
    2121
    2222distfiles           Sigil_code_${version}.zip
    23 worksrcdir          Sigil_code_${version}
     23worksrcdir          build
    2424
    25 checksums           md5     5a51565fd12234b381eecabe728b5376 \
    26                     sha1    f9fd494558e477c3ab966bf5756c202ec4a4cf9e \
    27                     rmd160  274a7897c1d698b7ff8bcc4cad7349a5f018ba73
     25checksums           md5     60ba640201420704ce3b500c7d96f6fd \
     26                    sha1    83349aec2f5dcfb066e85651e66e16b259c23d4f \
     27                    rmd160  616abfc8d6c770cc38d03a106a2de981cd1c6270
    2828
    2929use_zip             yes
     
    3434depends_lib         port:qt4-mac
    3535
    36 configure.env       PATH="$env(PATH):${prefix}/libexec/qt4-mac/bin"
    37 build.env           PATH="$env(PATH):${prefix}/libexec/qt4-mac/bin"
     36configure.env       PATH="${prefix}/libexec/qt4-mac/bin:$env(PATH)"
     37configure.cmd       "cmake"
     38configure.args      "-G \"Unix Makefiles\" ${workpath}/Sigil_code_${version}"
     39
     40build.env           PATH="${prefix}/libexec/qt4-mac/bin:$env(PATH)"
     41build.cmd           "gmake"
     42build.args          ""
     43build.target        "Sigil"
    3844
    3945platform x86_64 {
    4046    pre-configure {
    41         reinplace "s|ppc;i386|x86_64|g" ${worksrcpath}/CMakeLists.txt
     47        reinplace "s|ppc;i386|x86_64|g" ${workpath}/Sigil_code_${version}/CMakeLists.txt
    4248    }
    4349}
     
    4551platform powerpc {
    4652    pre-configure {
    47         reinplace "s|ppc;i386|ppc|g" ${worksrcpath}/CMakeLists.txt
     53        reinplace "s|ppc;i386|ppc|g" ${workpath}/Sigil_code_${version}/CMakeLists.txt
    4854    }
    4955}
     
    5157platform i386 {
    5258    pre-configure {
    53         reinplace "s|ppc;i386|i386|g" ${worksrcpath}/CMakeLists.txt
     59        reinplace "s|ppc;i386|i386|g" ${workpath}/Sigil_code_${version}/CMakeLists.txt
    5460    }
    5561}
    5662
    57 configure {
    58     system "
    59         PATH=$env(PATH):${prefix}/libexec/qt4-mac/bin
    60         mkdir -p ${workpath}/build;
    61         pushd ${workpath}/build;
    62             cmake -G \"Unix Makefiles\" ${workpath}/${worksrcdir};
    63         popd;
    64     "
    65 }
    66 
    67 build {
    68     system "
    69         PATH=$env(PATH):${prefix}/libexec/qt4-mac/bin
    70         pushd ${workpath}/build;
    71             gmake Sigil;
    72         popd;
    73     "
     63pre-configure {
     64    file mkdir ${worksrcpath}
    7465}
    7566
     
    7869
    7970    copy                                        \
    80         ${workpath}/build/bin/Sigil.app         \
     71        ${worksrcpath}/bin/Sigil.app            \
    8172        ${destroot}${applications_dir}
    8273}
Note: See TracChangeset for help on using the changeset viewer.