[112006] trunk/dports/gis

Ryan Schmidt ryandesign at macports.org
Wed Oct 9 11:17:59 PDT 2013


On Oct 9, 2013, at 06:23, vince at macports.org wrote:

> Revision: 112006
>          https://trac.macports.org/changeset/112006
> Author:   vince at macports.org
> Date:     2013-10-09 04:23:00 -0700 (Wed, 09 Oct 2013)
> Log Message:
> -----------
> Initial commit
> 
> Added Paths:
> -----------
>    trunk/dports/gis/sfcgal/
>    trunk/dports/gis/sfcgal/Portfile


> +license             GPL

Which version(s) of GPL?


> +use_parallel_build  no

> +use_parallel_build          yes

Which is it? :)


> +master_sites        https://github.com/Oslandia/SFCGAL/archive
> +distname            v${version}

Consider using the github portgroup.


> +destroot.target             install

That's the default.


> +post-destroot {
> +    system -W ${destroot}/${prefix}/include "rm -rf CGAL"

${prefix} begins with a slash; you shouldn't put another slash before it. Also, no need to use "system" to delete; just use the MacPorts "delete" procedure:

post-destroot {
    delete ${destroot}${prefix}/include/CGAL
}





More information about the macports-dev mailing list