[54949] trunk/dports/science

Ryan Schmidt ryandesign at macports.org
Tue Aug 4 16:33:50 PDT 2009


On Aug 4, 2009, at 18:18, mnick at macports.org wrote:

> Revision: 54949
>           http://trac.macports.org/changeset/54949
> Author:   mnick at macports.org
> Date:     2009-08-04 16:18:49 -0700 (Tue, 04 Aug 2009)
> Log Message:
> -----------
> new port: libANN, version 1.1.1
>
> Added Paths:
> -----------
>     trunk/dports/science/libANN/
>     trunk/dports/science/libANN/Portfile

[snip]

> +destroot {
> +	file copy ${worksrcpath}/include/ANN ${destroot}/${prefix}/include
> +	file copy ${worksrcpath}/lib/libANN.a ${destroot}/${prefix}/lib
> +	eval file copy [glob ${worksrcpath}/bin/*] ${destroot}/${prefix}/bin
> +	file mkdir ${destroot}/${prefix}/share/doc
> +	file copy ${worksrcpath}/doc ${destroot}/${prefix}/share/doc/libANN
> +}

You should remove the slash between ${destroot} and ${prefix}; $ 
{prefix} always begins with a slash already.




More information about the macports-dev mailing list