[108027] trunk/dports/gnome/oregano/Portfile

devans at macports.org devans at macports.org
Wed Jul 10 16:21:17 PDT 2013


Revision: 108027
          https://trac.macports.org/changeset/108027
Author:   devans at macports.org
Date:     2013-07-10 16:21:17 -0700 (Wed, 10 Jul 2013)
Log Message:
-----------
oregano: use configure to disable shared mime db update during destroot and eliminate post-destroot fixup, update scrollkeeper, desktop db and shared mime db post activate, dependencies.

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

Modified: trunk/dports/gnome/oregano/Portfile
===================================================================
--- trunk/dports/gnome/oregano/Portfile	2013-07-10 22:52:52 UTC (rev 108026)
+++ trunk/dports/gnome/oregano/Portfile	2013-07-10 23:21:17 UTC (rev 108027)
@@ -5,6 +5,7 @@
 PortGroup           github 1.0
 
 github.setup        marc-lorber oregano 0.73 v
+revision            1
 categories          gnome science
 maintainers         nomaintainer
 license             GPL-2+
@@ -21,13 +22,14 @@
                     port:automake \
                     port:intltool \
                     port:libtool \
-                    port:pkgconfig \
-                    port:rarian
+                    port:pkgconfig
 
 depends_lib         port:gtksourceview2 \
-                    port:libffi \
                     port:libgnomecanvas \
-                    port:libgnomeui
+                    port:libgnomeui \
+                    port:rarian \
+                    port:desktop-file-utils \
+                    port:shared-mime-info
 
 post-extract {
     move ${worksrcpath}/configure.in ${worksrcpath}/configure.ac
@@ -41,12 +43,12 @@
 use_autoreconf      yes
 autoreconf.cmd      ./autogen.sh
 
-configure.args      --disable-silent-rules
+configure.args      --disable-silent-rules \
+                    --disable-update-mimedb \
+                    --disable-update-mime
 
-post-destroot {
-    foreach f [glob ${destroot}${prefix}/share/mime/*] {
-        if {[file isfile ${f}]} {
-            delete ${f}
-        }
-    }
-}
+post-activate {
+    system "${prefix}/bin/scrollkeeper-update"
+    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
+    system "${prefix}/bin/update-mime-database ${prefix}/share/mime"
+}    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130710/a8a1518a/attachment-0001.html>


More information about the macports-changes mailing list