source: trunk/dports/science/gvemod-labeler/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.2 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-labeler
7version                     0.2
8revision                    2
9categories                  science graphics x11
10maintainers                 raphael openmaintainer
11description                 An interactive tool for generating \
12                            short texts as vector objects inside Geomview
13long_description            This is the Labeler emodule, an interactive tool \
14                            for generating short texts as vector objects \
15                            inside 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  811171c355964cb81d206719208520e1857c39e8 \
27                            sha256  33ab90bac97ae3c036f985eebea5ff1324b87aa3b4802fb5866c8b2af7e99ec4
28
29depends_lib                 port:geomview \
30                            port:tk
31# Work around case-inensitivity "Labeler" Tcl script <-> "labeler" module
32post-extract {
33    move ${worksrcpath}/src/Labeler ${worksrcpath}/src/Labeler.tc
34    reinplace "s|module_tcl_DATA = Labeler|module_tcl_DATA = Labeler.tc|" \
35        ${worksrcpath}/src/Makefile.in
36}
37post-destroot {
38    move ${destroot}${prefix}/libexec/geomview/tcl/Labeler.tc \
39        ${destroot}${prefix}/libexec/geomview/tcl/Labeler
40
41    set docdir ${destroot}${prefix}/share/doc/${name}
42    xinstall -d ${docdir}
43    xinstall -m 644 -W ${worksrcpath} \
44        AUTHORS \
45        COPYING \
46        ChangeLog \
47        NEWS \
48        README \
49        ${docdir}
50}
51
52platform darwin 9 { configure.ldflags-append \
53    -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:\
54        /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
55}
Note: See TracBrowser for help on using the repository browser.