New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 79839


Ignore:
Timestamp:
06/27/11 15:44:06 (4 years ago)
Author:
and.damore@…
Message:

port gplcver, edited post-destroot phase, moved examples to ${prefix}/share/examples

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/science/gplcver/Portfile

    r79830 r79839  
    4646    # create directory for everything else 
    4747     
    48     set docdir "${destroot}${prefix}/share/doc/${name}" 
     48    set docdir "${destroot}${prefix}/share/doc/" 
    4949    xinstall -m 755 -d ${docdir} 
    50  
    51     # copy doc files 
    52  
    53     file copy ${worksrcpath}/COPYING ${docdir} 
    54     file copy ${worksrcpath}/Changelog ${docdir} 
    55     file copy ${worksrcpath}/INSTALL ${docdir} 
    56     file copy ${worksrcpath}/LICENSE ${docdir} 
    57     file copy ${worksrcpath}/NEW.CVER.2001.RELEASE.NOTES ${docdir} 
    58     file copy ${worksrcpath}/OUR_PHILOSOPHY ${docdir} 
    59     file copy ${worksrcpath}/README ${docdir} 
    6050    file copy ${worksrcpath}/doc ${docdir} 
     51    file rename ${docdir}/doc ${docdir}${name} 
     52    set docdir "${docdir}${name}" 
     53    xinstall -m 644 -W ${worksrcpath} \ 
     54        COPYING Changelog LICENSE NEW.CVER.2001.RELEASE.NOTES OUR_PHILOSOPHY README \ 
     55        ${docdir} 
     56    file copy ${worksrcpath}/doc/README ${docdir}/README_doc 
    6157 
    6258    # install the systasks man page 
     
    6763    # create directory for everything else 
    6864     
    69     set instdir "${destroot}${prefix}/share/${name}" 
    70     xinstall -m 755 -d ${instdir} 
     65    set exampledir "${destroot}${prefix}/share/examples/${name}" 
     66    xinstall -m 755 -d ${exampledir} 
    7167 
    7268    # copy files 
    7369 
    74     file copy ${worksrcpath}/pli_incs ${instdir} 
    75     file copy ${worksrcpath}/pli_src ${instdir} 
    76     file copy ${worksrcpath}/tests_and_examples ${instdir} 
    77     file copy ${worksrcpath}/ver_src ${instdir} 
     70    file copy ${worksrcpath}/pli_incs ${exampledir} 
     71    file copy ${worksrcpath}/pli_src ${exampledir} 
     72    file copy ${worksrcpath}/tests_and_examples ${exampledir} 
     73    file copy ${worksrcpath}/ver_src ${exampledir} 
    7874     
    7975} 
Note: See TracChangeset for help on using the changeset viewer.