[92945] trunk/dports/gnome/oregano

ryandesign at macports.org ryandesign at macports.org
Fri May 11 10:25:46 PDT 2012


Revision: 92945
          https://trac.macports.org/changeset/92945
Author:   ryandesign at macports.org
Date:     2012-05-11 10:25:45 -0700 (Fri, 11 May 2012)
Log Message:
-----------
oregano: update to 0.71, now on github; GPL-2+ license

Modified Paths:
--------------
    trunk/dports/gnome/oregano/Portfile

Added Paths:
-----------
    trunk/dports/gnome/oregano/files/patch-autogen.sh.diff
    trunk/dports/gnome/oregano/files/patch-glib-2.32.diff

Removed Paths:
-------------
    trunk/dports/gnome/oregano/files/patch-SConstruct.diff

Modified: trunk/dports/gnome/oregano/Portfile
===================================================================
--- trunk/dports/gnome/oregano/Portfile	2012-05-11 16:23:32 UTC (rev 92944)
+++ trunk/dports/gnome/oregano/Portfile	2012-05-11 17:25:45 UTC (rev 92945)
@@ -1,63 +1,42 @@
+# -*- 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
 # $Id$
 
 PortSystem          1.0
+PortGroup           github 1.0
 
-name                oregano
-version             0.69.0
-revision            1
+github.setup        marc-lorber oregano 0.71 v
 categories          gnome science
 maintainers         nomaintainer
+license             GPL-2+
+
 description         A graphical software application for schematic capture and simulation of electrical circuits.
 long_description    ${description}
 
 platforms           darwin
 
-#
-# official homepage and master_sites seem to be dead
-#
+checksums           rmd160  d75aada5eb17fdb3f263ed683941eb063e236660 \
+                    sha256  deb8b9901bc2747e7cb7f340cdb0aa7b28fe96f39b76437e76b48ba7e4b345cf
 
-#homepage            http://oregano.gforge.lug.fi.uba.ar/index.php
-#master_sites        http://gforge.lug.fi.uba.ar/frs/download.php/86/
+depends_build       port:autoconf \
+                    port:automake \
+                    port:intltool \
+                    port:libtool \
+                    port:pkgconfig
 
-homepage            http://en.wikipedia.org/wiki/Oregano_(software)
-master_sites        gentoo
-
-checksums           md5     f98abc5c79cc733b49cd07995afc9c1e \
-                    sha1    1fd3a7396a596a2f9016dbc682c7d37771148205 \
-                    rmd160  ea71522aca807b82f8ce50d598014e518fdd08e7
-
-depends_build       port:pkgconfig \
-                    port:scons
-
 depends_lib         port:libgnomeui \
                     port:libgnomecanvas \
                     port:gtksourceview
 
-patchfiles          patch-SConstruct.diff
+patchfiles          patch-autogen.sh.diff \
+                    patch-glib-2.32.diff
 
-post-patch {
-        reinplace "s|@MP_PREFIX@|${prefix}|" ${worksrcpath}/SConstruct
-}
+use_autoreconf      yes
+autoreconf.cmd      ./autogen.sh
 
-use_configure       no
-
-build.cmd           scons
-build.target        PREFIX=${prefix}
-
-destroot.cmd        scons
-# Make sure DESTDIR's value has a slash at the end...
-destroot.destdir    DESTDIR=${destroot}/
-destroot.target     install PREFIX=${prefix} RunUpdateMimeDatabase=no
-
 post-destroot {
-   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} \
-      ${destroot}${prefix}/share/help/${name}
-   xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING NEWS README TODO \
-      ${destroot}${prefix}/share/doc/${name}
-   eval copy [glob ${worksrcpath}/help/*] \
-      ${destroot}${prefix}/share/help/${name}
+    foreach f [glob ${destroot}${prefix}/share/mime/*] {
+        if {[file isfile ${f}]} {
+            delete ${f}
+        }
+    }
 }
-
-livecheck.type      regex
-livecheck.url       http://mirror.facebook.net/gentoo/distfiles/
-livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"

Deleted: trunk/dports/gnome/oregano/files/patch-SConstruct.diff
===================================================================
--- trunk/dports/gnome/oregano/files/patch-SConstruct.diff	2012-05-11 16:23:32 UTC (rev 92944)
+++ trunk/dports/gnome/oregano/files/patch-SConstruct.diff	2012-05-11 17:25:45 UTC (rev 92945)
@@ -1,20 +0,0 @@
---- SConstruct.orig	2010-09-22 13:33:51.000000000 -0700
-+++ SConstruct	2010-09-22 13:34:44.000000000 -0700
-@@ -27,7 +27,7 @@
- def CheckPkg (context, pkg, version):
- 	msg = 'Checking for pkg %s >= %s ... ' % (pkg, version)
- 	context.Message ('   %-60s ' % (msg));
--	result = os.system ('pkg-config --exists \'%s >= %s\'' % (pkg, version) );
-+	result = os.system ('@MP_PREFIX@/bin/pkg-config --exists \'%s >= %s\'' % (pkg, version) );
- 	if result == 0:
- 		result = 'yes';
- 	else:
-@@ -91,7 +91,7 @@
- 
- # Create compiler command line from dependencies #
- for dep in deps:
--	CEnv.ParseConfig ('pkg-config --cflags --libs '+dep['lib']);
-+	CEnv.ParseConfig ('@MP_PREFIX@/bin/pkg-config --cflags --libs '+dep['lib']);
- 
- # Configure environment #
- DataDir = CEnv['PREFIX']+'/share'

Added: trunk/dports/gnome/oregano/files/patch-autogen.sh.diff
===================================================================
--- trunk/dports/gnome/oregano/files/patch-autogen.sh.diff	                        (rev 0)
+++ trunk/dports/gnome/oregano/files/patch-autogen.sh.diff	2012-05-11 17:25:45 UTC (rev 92945)
@@ -0,0 +1,13 @@
+--- autogen.sh.orig	2012-01-08 03:24:22.000000000 -0600
++++ autogen.sh	2012-05-11 10:40:03.000000000 -0500
+@@ -15,8 +15,8 @@
+ 
+ # Refresh GNU autotools toolchain.
+ echo Cleaning autotools files...
+-find -type d -name autom4te.cache -print0 | xargs -0 rm -rf \;
+-find -type f \( -name missing -o -name install-sh -o -name mkinstalldirs \
++find . -type d -name autom4te.cache -print0 | xargs -0 rm -rf \;
++find . -type f \( -name missing -o -name install-sh -o -name mkinstalldirs \
+ 	-o -name depcomp -o -name ltmain.sh -o -name configure \
+ 	-o -name config.sub -o -name config.guess \
+ 	-o -name Makefile.in \) -print0 | xargs -0 rm -f

Added: trunk/dports/gnome/oregano/files/patch-glib-2.32.diff
===================================================================
--- trunk/dports/gnome/oregano/files/patch-glib-2.32.diff	                        (rev 0)
+++ trunk/dports/gnome/oregano/files/patch-glib-2.32.diff	2012-05-11 17:25:45 UTC (rev 92945)
@@ -0,0 +1,51 @@
+--- src/Makefile.am.orig	2012-01-08 03:24:22.000000000 -0600
++++ src/Makefile.am	2012-05-11 12:06:10.000000000 -0500
+@@ -6,7 +6,7 @@
+ 	stock		\
+ 	pixmaps
+ 
+-CFLAGS += -Wall -DG_DISABLE_DEPRECATED
++CFLAGS += -Wall
+ 
+ oreganodir = $(datadir)/oregano
+ 
+--- src/engines/Makefile.am.orig	2012-01-08 03:24:22.000000000 -0600
++++ src/engines/Makefile.am	2012-05-11 12:06:14.000000000 -0500
+@@ -1,6 +1,6 @@
+ oreganodir = $(datadir)/oregano
+ 
+-CFLAGS += -g -Wall -DG_DISABLE_DEPRECATED
++CFLAGS += -g -Wall
+ 
+ INCLUDES = \
+ 	$(OREGANO_CFLAGS) -I$(top_srcdir)/src \
+--- src/gplot/Makefile.am.orig	2012-01-08 03:24:22.000000000 -0600
++++ src/gplot/Makefile.am	2012-05-11 12:06:12.000000000 -0500
+@@ -1,6 +1,6 @@
+ oreganodir = $(datadir)/oregano
+ 
+-CFLAGS += -Wall -DG_DISABLE_DEPRECATED
++CFLAGS += -Wall
+ 
+ INCLUDES = \
+ 	$(OREGANO_CFLAGS)
+--- src/model/Makefile.am.orig	2012-01-08 03:24:22.000000000 -0600
++++ src/model/Makefile.am	2012-05-11 12:06:08.000000000 -0500
+@@ -1,6 +1,6 @@
+ oreganodir = $(datadir)/oregano
+ 
+-CFLAGS += -Wall -DG_DISABLE_DEPRECATED
++CFLAGS += -Wall
+ 
+ INCLUDES =  						\
+ 	-DGNOMELOCALEDIR=\""$(datadir)/locale"\" 	\
+--- src/sheet/Makefile.am.orig	2012-01-08 03:24:22.000000000 -0600
++++ src/sheet/Makefile.am	2012-05-11 12:06:06.000000000 -0500
+@@ -1,6 +1,6 @@
+ oreganodir = $(datadir)/oregano
+ 
+-CFLAGS += -Wall -DG_DISABLE_DEPRECATED
++CFLAGS += -Wall
+ 
+ INCLUDES = \
+ 	$(OREGANO_CFLAGS) -I$(top_srcdir)/src -I$(top_srcdir)/src/model \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120511/456689a2/attachment-0001.html>


More information about the macports-changes mailing list