# -*- 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 # $Id$ PortSystem 1.0 name gvemod-crayola version 0.2 revision 2 categories science graphics x11 maintainers raphael openmaintainer description An interactive tool for colouring faces \ of geometric objects within Geomview long_description This is the Crayola emodule, an interactive \ tool for colouring faces of geometric objects \ within Geomview. emodules are kind of plugins \ which extend the functionality of Geomview (an \ interactive 3d viewing program). homepage http://www.geomview.org/ license LGPL-2+ platforms darwin master_sites sourceforge master_sites.mirror_subdir geomview livecheck.name geomview livecheck.distname ${name} checksums rmd160 70b6dfe6820603d712925660a004b4a04e7ebecf \ sha256 d5db45414887e09144299d16e39ca01d141effceae4373ab77d5e8103cdd1c5a depends_lib port:geomview \ port:tk # Work around case-inensitivity "Crayola" script <-> "crayola" final binary post-extract { move ${worksrcpath}/src/Crayola ${worksrcpath}/src/Crayola.tc reinplace "s|module_tcl_DATA = Crayola|module_tcl_DATA = Crayola.tc|" \ ${worksrcpath}/src/Makefile.in } configure.cppflags-append -DUSE_INTERP_RESULT post-destroot { move ${destroot}${prefix}/libexec/geomview/tcl/Crayola.tc \ ${destroot}${prefix}/libexec/geomview/tcl/Crayola set docdir ${destroot}${prefix}/share/doc/${name} xinstall -d ${docdir} xinstall -m 644 -W ${worksrcpath} \ AUTHORS \ COPYING \ ChangeLog \ NEWS \ README \ ${docdir} } platform darwin 9 { configure.ldflags-append \ -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:\ /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib }