New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82175


Ignore:
Timestamp:
08/09/11 15:33:26 (4 years ago)
Author:
ciserlohn@…
Message:

nodejs, nodejs-devel: make python a runtime dependency (needed by node-waf), install doc files (see #30673), removed old comment, bump revision

Location:
trunk/dports/devel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/nodejs-devel/Portfile

    r82093 r82175  
    66name                    nodejs-devel 
    77version                 0.5.3 
     8revision                1 
    89categories              devel net 
    910platforms               darwin 
     
    2728distname                node-v${version} 
    2829 
    29 depends_build           port:python27 
     30depends_lib             port:python27 
    3031 
    3132patchfiles              patch-Makefile-python.diff 
     
    7879test.run                yes 
    7980 
    80 # TODO: Fix the doc installation 
    81 #variant doc description {Build and install manpages} { 
    82 #    use_configure   no 
    83 #    build {} 
    84 #    destroot.target doc install 
    85 # 
    86 #    depends_lib-append      port:asciidoc \ 
    87 #                            port:libxslt 
    88 #} 
    89  
    9081build.args-append   CC=${configure.cc} \ 
    9182                    CXX=${configure.cxx} \ 
     
    9485                    PYTHON=${py27_bin} 
    9586 
     87post-destroot { 
     88    set docdir ${destroot}${prefix}/share/doc/${name} 
     89    xinstall -d ${docdir} 
     90    xinstall -m 644 -W ${worksrcpath} \ 
     91        AUTHORS \ 
     92        ChangeLog \ 
     93        LICENSE \ 
     94        README.md \ 
     95        TODO \ 
     96        ${docdir} 
     97} 
     98 
    9699livecheck.type      regex 
    97100livecheck.regex     node-v(\\d+\\.\[13579\]+\\.\\d+) 
  • trunk/dports/devel/nodejs/Portfile

    r82093 r82175  
    66name                    nodejs 
    77version                 0.4.10 
     8revision                1 
    89categories              devel net 
    910platforms               darwin 
     
    2728distname                node-v${version} 
    2829 
    29 depends_build           port:python27 
     30depends_lib             port:python27 
    3031 
    3132patchfiles              patch-Makefile-python.diff \ 
     
    7980test.run                yes 
    8081 
    81 # TODO: Fix the doc installation 
    82 #variant doc description {Build and install manpages} { 
    83 #    use_configure   no 
    84 #    build {} 
    85 #    destroot.target doc install 
    86 # 
    87 #    depends_lib-append      port:asciidoc \ 
    88 #                            port:libxslt 
    89 #} 
    90  
    9182build.args-append   CC=${configure.cc} \ 
    9283                    CXX=${configure.cxx} \ 
     
    9586                    PYTHON=${py27_bin} 
    9687 
     88post-destroot { 
     89    set docdir ${destroot}${prefix}/share/doc/${name} 
     90    xinstall -d ${docdir} 
     91    xinstall -m 644 -W ${worksrcpath} \ 
     92        AUTHORS \ 
     93        ChangeLog \ 
     94        LICENSE \ 
     95        README.md \ 
     96        TODO \ 
     97        ${docdir} 
     98} 
     99 
    97100livecheck.type      regex 
    98101livecheck.regex     node-v(\\d+\\.\[02468\]+\\.\\d+) 
Note: See TracChangeset for help on using the changeset viewer.