[144007] trunk/dports/gnome/oregano/Portfile
devans at macports.org
devans at macports.org
Tue Dec 29 14:45:41 PST 2015
Revision: 144007
https://trac.macports.org/changeset/144007
Author: devans at macports.org
Date: 2015-12-29 14:45:41 -0800 (Tue, 29 Dec 2015)
Log Message:
-----------
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).
Modified Paths:
--------------
trunk/dports/gnome/oregano/Portfile
Modified: trunk/dports/gnome/oregano/Portfile
===================================================================
--- trunk/dports/gnome/oregano/Portfile 2015-12-29 22:43:08 UTC (rev 144006)
+++ trunk/dports/gnome/oregano/Portfile 2015-12-29 22:45:41 UTC (rev 144007)
@@ -4,59 +4,47 @@
PortSystem 1.0
PortGroup github 1.0
PortGroup active_variants 1.1
+PortGroup waf 1.0
-github.setup marc-lorber oregano 0.82 v
-revision 2
+github.setup drahnr oregano 0.83.2.1 v
categories gnome science
-maintainers nomaintainer
+maintainers ahoi.io:bernhard openmaintainer
license GPL-2+
description A graphical software application for schematic capture and simulation of electrical circuits.
-long_description ${description}
+long_description ${description} It uses Gtk+ 3.x for the frontend and ngspice or gnucap as backend for crunching numbers. \
+ File bugs for this port at https://github.com/drahnr/oregano
platforms darwin
-checksums rmd160 4b68fe79161e0b5034cd401eddec52c1478653de \
- sha256 b68cdd0c80421b0571bf520d3f8b0d1793808fee1ac7ac28dcf8ebaff2cb1a2d
+checksums rmd160 7a5c06c6d7f260143ea0bbd9f92759beacde920d \
+ sha256 d22ab0dc9f3717759983966ea3f7a8cd266e343fab47236ec4d841660bd72fa1
-depends_build port:autoconf \
- port:automake \
+# be careful not to overwrite build dependencies
+# declared by the waf port group
+depends_build-append \
port:intltool \
port:libtool \
port:pkgconfig
-depends_lib port:gtk3 \
- port:gtksourceview3 \
- port:goocanvas2 \
+depends_lib port:desktop-file-utils \
port:rarian \
- port:desktop-file-utils \
- port:shared-mime-info
+ port:shared-mime-info \
+ port:gtk3 \
+ port:gtksourceview3 \
+ port:goocanvas2
-depends_run port:gnome-themes-standard
+depends_run port:gnome-themes-standard \
+ port:ngspice
-patchfiles patch-autogen.sh.diff \
- patch-configure.ac.diff \
- patch-allow-deprecated.diff \
- patch-src-netlist-editor.c.diff
+# shipped waf does not recognize --nocache
+configure.args-delete \
+ --nocache
-post-patch {
- reinplace "s|/usr/share/xml/docbook/schema/dtd|${prefix}/share/xml/docbook|" \
- ${worksrcpath}/help/C/oregano.xml \
- ${worksrcpath}/help/es/oregano.xml \
- ${worksrcpath}/help/fr/oregano.xml
-
- reinplace "s| id=\"legalnotice\"||" \
- ${worksrcpath}/help/C/legal.xml \
- ${worksrcpath}/help/es/legal.xml \
- ${worksrcpath}/help/fr/legal.xml
-}
+# shipped waf requires target debug or release not build
+build.target debug
-configure.cmd ./autogen.sh
-
-configure.args --disable-silent-rules \
- --disable-schemas-compile \
- --disable-update-mimedb
-
+# allow port to build with either gtk3 +x11 or +quartz backend
variant quartz {}
if {[variant_isset quartz]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151229/e25729a9/attachment.html>
More information about the macports-changes
mailing list