Changeset 117065


Ignore:
Timestamp:
Feb 14, 2014, 3:50:11 PM (6 years ago)
Author:
hum@…
Message:

normalizeNumexp: use waf port group (#42303); fix expressions.

File:
1 edited

Legend:

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

    r101036 r117065  
    44PortSystem          1.0
    55PortGroup           github 1.0
     6PortGroup           waf 1.0
    67
    78github.setup        nullnull normalizeNumexp f3202c292cf05d6084c7aaa131bc150516a5e7fa
     
    2122                    sha256  7ee8270bcd0802b4de0c459332e50e95351a016da308268506934b89aed2f723
    2223
    23 depends_build       port:pkgconfig
     24depends_build-append  port:pkgconfig
    2425
    2526depends_lib         port:ux-trie port:pficommon
    2627
    27 configure.cmd       ./waf configure
    28 configure.universal_args
    29 
    30 build.cmd           ./waf build
    31 build.target
    32 
    33 destroot.cmd        ./waf install
    34 destroot.args       --destdir=${destroot}
    35 destroot.destdir
    36 
    3728post-destroot {
    3829    # install additional documents.
    39     set docdir   ${destroot}${prefix}/share/doc/${name}
    40     xinstall -d ${docdir}
     30    set docdir   ${prefix}/share/doc/${name}
     31    xinstall -d ${destroot}${docdir}
    4132    xinstall -m 644 -W ${worksrcpath} \
    4233        LICENSE README.rst history.txt \
    43         ${docdir}
     34        ${destroot}${docdir}
    4435    # fix install_name.
    4536    set libpath  ${prefix}/lib/libnormalize_numexp.dylib
    4637    set builddir ${worksrcpath}/build/src
    47     set bin      ${destroot}${prefix}/bin/normalizeNumexp
    48     regexp {(\S+\/libnormalize_numexp\S+dylib)} [exec otool -L ${bin}] path
     38    set exepath  ${prefix}/bin/normalizeNumexp
     39    regexp {(\S+\/libnormalize_numexp\S+dylib)} [exec otool -L ${destroot}${exepath}] path
    4940    system "install_name_tool -id     ${libpath} ${destroot}${libpath}"
    50     system "install_name_tool -change ${path}    ${libpath} ${bin}"
     41    system "install_name_tool -change ${path}    ${libpath} ${destroot}${exepath}"
    5142}
    5243
Note: See TracChangeset for help on using the changeset viewer.