Ticket #10302: Portfile.diff

File Portfile.diff, 709 bytes (added by mas@…, 18 years ago)

Portfile.diff

  • Portfile

    old new  
    33PortSystem 1.0
    44name            slib-guile
    55version         1.0
     6revision        1
    67categories      devel
    78maintainers     darwinports@opendarwin.org
    89platforms       darwin
     
    1516build {}
    1617destroot {
    1718        system "mkdir -p ${workpath}/destroot/${prefix}/share/guile"
     19        system "mkdir -p ${workpath}/destroot/${prefix}/share/guile/`guile-config info guileversion | cut -d . -f 1-2`"
     20        system "ln -s ${prefix}/lib/slib ${workpath}/destroot/${prefix}/share/guile/`guile-config info guileversion | cut -d . -f 1-2`/slib"
    1821        file link -s ${workpath}/destroot/${prefix}/share/guile/slib ${prefix}/lib/slib
    1922}
    2023post-activate {