Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
56 lines (41 sloc) 1.71 KB
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup cmake 1.0
PortGroup github 1.0
categories gis
maintainers {vince @Veence}
description SFCGAL links CGAL to PostGIS
long_description SFCGAL (Simple Features for CGAL)\
is a library that provides a SF-SQL API\
to some CGAL routines, thereby enabling spatial\
databases such as PostGIS to rely on CGAL to\
perform 2D and 3D geometry operations (union,\
intersections, buffering, etc.).
platforms darwin
license LGPL-2
homepage http://www.sfcgal.org/
github.setup Oslandia SFCGAL 1.3.6 v
revision 0
name sfcgal
checksums rmd160 63cac05ff9c903b7698ce9ad0d14a8bd10a014a4 \
sha256 31b4b33572a37171137f1f9f2d879e5211fa416fe475c75e11c3b299d014b635 \
size 2473842
depends_lib-append port:cgal \
port:mpfr \
port:gmp
# Variants
variant viewer description {builds a Qt4-based viewer} {
PortGroup qt4 1.0
depends_lib-append port:openscenegraph
configure.args-append -DSFCGAL_BUILD_VIEWER=ON
}
variant examples description {builds examples} {
configure.args-append -DSFCGAL_BUILD_EXAMPLES=ON
}
post-configure {
if {[variant_isset viewer]} {
reinplace -E "s|(.*)|\\1 -F ${frameworks_dir} -lQtCore -lQtOpenGL -lQtGui|" \
${worksrcpath}/viewer/CMakeFiles/viewer-SFCGAL.dir/link.txt
}
}
use_parallel_build yes
You can’t perform that action at this time.