source: trunk/dports/science/geda-gaf/Portfile

Last change on this file was 132486, checked in by and.damore@…, 3 years ago

port geda-gaf: update to version 1.8.2, openmaintainer, fix #41660

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 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 132486 2015-02-02 08:56:25Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6name                geda-gaf
7epoch               1
8version             1.8.2
9set branch          [join [lrange [split ${version} .] 0 1] .]
10platforms           darwin
11categories          science electronics
12maintainers         emer.net:emer openmaintainer
13license             GPL-2+
14
15description         gEDA/gaf - gschem and friends
16long_description    The gEDA project has produced and continues working on a \
17                    full GPL'd suite and toolkit of Electronic Design Automation \
18                    tools. These tools are used for electrical circuit design, \
19                    schematic capture, simulation, prototyping, and production. \
20                    This package is the smallest subset of the gEDA Suite that is \
21                    directly maintained by gEDA Project founders.
22
23homepage            http://www.geda-project.org/
24master_sites        http://ftp.geda-project.org/geda-gaf/stable/v${branch}/${version} \
25                    http://geda.seul.org/release/v${branch}/${version}
26
27checksums           rmd160  20100684c2987e563886d15bb608b7f464e30a69 \
28                    sha256  bbf4773aef1b5a51a8d6f4c3fa288c047340cc62dd6e14d7928fcc6e4051b721
29
30depends_build       port:pkgconfig
31depends_lib         port:gtk2 \
32                    port:guile \
33                    port:libffi
34
35configure.args-append   --disable-update-xdg-database
36
37destroot.destdir    DESTDIR=${destroot}/
38
39variant enable_xdg description {enable XDG database update} {
40    depends_lib-append      port:desktop-file-utils
41    configure.args-delete   --disable-update-xdg-database
42   
43    post-destroot {
44        file delete ${destroot}${prefix}/share/applications/mimeinfo.cache
45        file delete ${destroot}${prefix}/share/mime/XMLnamespaces
46    }
47    post-activate {
48        system ${prefix}/bin/update-desktop-database
49    }
50}
51
52livecheck.type      regex
53livecheck.url       http://wiki.geda-project.org/geda:download
54livecheck.regex     ${name}-(\[0-9\]+\\.\[0-9\]*\[02468\](\\.\[0-9\]+)*)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.