mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
56 lines
2.2 KiB
Tcl
56 lines
2.2 KiB
Tcl
# -*- 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
|
|
|
|
name k3dsurf
|
|
version 0.6.2
|
|
revision 1
|
|
categories math graphics science
|
|
license GPL-2+
|
|
maintainers nomaintainer
|
|
description Multidimensional surface visualizer
|
|
long_description K3DSurf is a program to visualize and manipulate multidimensional \
|
|
surfaces by using mathematical equations. It's also a "modeler" for \
|
|
POV-Ray in the area of parametric surfaces.
|
|
|
|
platforms darwin
|
|
|
|
homepage http://k3dsurf.sourceforge.net/
|
|
master_sites sourceforge
|
|
|
|
checksums rmd160 115d00a6c3b61442d661547708032348866c10cd \
|
|
sha256 7d98781df74d3197b49a5a9ff748de088b8a8038ddaa6e53ee044c4c17440761
|
|
|
|
# It doesn't work with Qt 4 due to:
|
|
# File generated with too old version of Qt Designer (3.3)
|
|
#
|
|
# It works with qt3-mac, but only on <= 10.6 and with
|
|
# supported_archs i386 ppc
|
|
# We could add dependency on qt3-mac back on request via a variant
|
|
depends_lib port:qt3
|
|
|
|
configure.cmd ${prefix}/bin/qmake
|
|
configure.pre_args-delete \
|
|
--prefix=${prefix}
|
|
configure.pre_args-append \
|
|
PREFIX=${prefix} \
|
|
"QMAKE_CC=${configure.cc}" \
|
|
"QMAKE_CXX=${configure.cxx}" \
|
|
"QMAKE_OBJC=${configure.objc}" \
|
|
"QMAKE_CFLAGS=\"${configure.cflags} [get_canonical_archflags cc]\"" \
|
|
"QMAKE_CXXFLAGS=\"${configure.cxxflags} [get_canonical_archflags cxx]\""
|
|
configure.universal_args-delete \
|
|
--disable-dependency-tracking
|
|
build.env QTDIR=${prefix}
|
|
|
|
post-destroot {
|
|
file copy ${worksrcpath}/bin/k3dsurf ${destroot}${prefix}/bin/
|
|
# When using qt3-mac:
|
|
# xinstall -m 755 -d ${destroot}${applications_dir}
|
|
# file copy ${worksrcpath}/bin/k3dsurf.app ${destroot}${applications_dir}
|
|
}
|
|
|
|
# not sure if this is the right regex
|
|
# version 0.6.2.4 contains Makefiles
|
|
livecheck.regex "${name}-(\[0-9\.\]+)${extract.suffix}"
|