source: trunk/dports/science/gvemod-crayola/Portfile

Last change on this file was 100906, checked in by raphael@…, 5 years ago

gvemod-crayola, gvemod-labeler, gvemod-ndview, orrery: bump revision for Tcl 8.6; fix compilation with Tcl 8.6

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1# -*- 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
2# $Id: Portfile 100906 2012-12-31 13:38:53Z ryandesign@macports.org $
3
4PortSystem                  1.0
5
6name                        gvemod-crayola
7version                     0.2
8revision                    2
9categories                  science graphics x11
10maintainers                 raphael openmaintainer
11description                 An interactive tool for colouring faces \
12                            of geometric objects within Geomview
13long_description            This is the Crayola emodule, an interactive \
14                            tool for colouring faces of geometric objects \
15                            within Geomview. emodules are kind of plugins \
16                            which extend the functionality of Geomview (an \
17                            interactive 3d viewing program).
18homepage                    http://www.geomview.org/
19license                     LGPL-2+
20platforms                   darwin
21master_sites                sourceforge
22master_sites.mirror_subdir  geomview
23livecheck.name              geomview
24livecheck.distname          ${name}
25
26checksums                   rmd160  70b6dfe6820603d712925660a004b4a04e7ebecf \
27                            sha256  d5db45414887e09144299d16e39ca01d141effceae4373ab77d5e8103cdd1c5a
28
29depends_lib                 port:geomview \
30                            port:tk
31
32# Work around case-inensitivity "Crayola" script <-> "crayola" final binary
33post-extract {
34    move ${worksrcpath}/src/Crayola ${worksrcpath}/src/Crayola.tc
35    reinplace "s|module_tcl_DATA = Crayola|module_tcl_DATA = Crayola.tc|" \
36        ${worksrcpath}/src/Makefile.in
37}
38
39configure.cppflags-append   -DUSE_INTERP_RESULT
40
41post-destroot {
42    move ${destroot}${prefix}/libexec/geomview/tcl/Crayola.tc \
43        ${destroot}${prefix}/libexec/geomview/tcl/Crayola
44
45    set docdir ${destroot}${prefix}/share/doc/${name}
46    xinstall -d ${docdir}
47    xinstall -m 644 -W ${worksrcpath} \
48        AUTHORS \
49        COPYING \
50        ChangeLog \
51        NEWS \
52        README \
53        ${docdir}
54}
55platform darwin 9 {
56    configure.ldflags-append \
57        -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:\
58        /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
59}
Note: See TracBrowser for help on using the repository browser.