source: trunk/dports/gnome/oregano/Portfile

Last change on this file was 144007, checked in by devans@…, 19 months ago

oregano: switch github repo and update to version 0.83.2.1 based on Portfile included in distro including maintainer, now uses waf port group (#49412).

  • 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 144007 2015-12-29 22:45:41Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6PortGroup           active_variants 1.1
7PortGroup           waf 1.0
8
9github.setup        drahnr oregano 0.83.2.1 v
10categories          gnome science
11maintainers         ahoi.io:bernhard openmaintainer
12license             GPL-2+
13
14description         A graphical software application for schematic capture and simulation of electrical circuits.
15long_description    ${description} It uses Gtk+ 3.x for the frontend and ngspice or gnucap as backend for crunching numbers. \
16                    File bugs for this port at https://github.com/drahnr/oregano
17
18platforms           darwin
19
20checksums           rmd160  7a5c06c6d7f260143ea0bbd9f92759beacde920d \
21                    sha256  d22ab0dc9f3717759983966ea3f7a8cd266e343fab47236ec4d841660bd72fa1
22
23# be careful not to overwrite build dependencies
24# declared by the waf port group
25depends_build-append \
26                    port:intltool \
27                    port:libtool \
28                    port:pkgconfig
29
30depends_lib         port:desktop-file-utils \
31                    port:rarian \
32                    port:shared-mime-info \
33                    port:gtk3 \
34                    port:gtksourceview3 \
35                    port:goocanvas2
36
37depends_run         port:gnome-themes-standard \
38                    port:ngspice
39
40# shipped waf does not recognize --nocache
41configure.args-delete \
42                    --nocache
43
44# shipped waf requires target debug or release not build
45build.target        debug
46
47# allow port to build with either gtk3 +x11 or +quartz backend
48variant quartz {}
49
50if {[variant_isset quartz]} {
51    require_active_variants gtk3 quartz
52} else {
53    require_active_variants gtk3 x11
54    depends_run-append      port:yelp \
55                            port:docbook-xml
56}
57
58post-activate {
59    system "${prefix}/bin/scrollkeeper-update"
60    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
61    system "${prefix}/bin/update-mime-database ${prefix}/share/mime"
62    system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
63}
Note: See TracBrowser for help on using the repository browser.