[108024] trunk/dports/gnome/monster-masher/Portfile

devans at macports.org devans at macports.org
Wed Jul 10 13:51:42 PDT 2013


Revision: 108024
          https://trac.macports.org/changeset/108024
Author:   devans at macports.org
Date:     2013-07-10 13:51:42 -0700 (Wed, 10 Jul 2013)
Log Message:
-----------
monster-masher: update desktop database, gconf schemas post activate, dependencies, license, mode line.

Modified Paths:
--------------
    trunk/dports/gnome/monster-masher/Portfile

Modified: trunk/dports/gnome/monster-masher/Portfile
===================================================================
--- trunk/dports/gnome/monster-masher/Portfile	2013-07-10 20:34:19 UTC (rev 108023)
+++ trunk/dports/gnome/monster-masher/Portfile	2013-07-10 20:51:42 UTC (rev 108024)
@@ -1,3 +1,4 @@
+# -*- 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
@@ -4,6 +5,7 @@
 
 name                    monster-masher
 version                 1.7
+license                 GPL-2
 description             Monster Masher is an action game for the Gnome desktop environment.
 long_description        Monster Masher is an action game for the Gnome desktop \
                         environment. The basic idea is that you, as levitation \
@@ -15,16 +17,29 @@
 platforms               darwin
 homepage                http://people.iola.dk/olau/monster-masher/
 master_sites            ${homepage}source
+
 use_bzip2               yes
+
 checksums               md5 2fd7df60c87041ff8fcf03944ae01ed0
-depends_build           port:intltool port:pkgconfig
-depends_lib             port:libgnomeuimm
 
+depends_build           port:intltool \
+                        port:pkgconfig
+
+depends_lib             port:desktop-file-utils \
+                        port:gconf \
+                        port:libgnomeuimm
+
 configure.cppflags-append \
     -L${prefix}/lib
 configure.ldflags-append \
     -lesd
 
+post-activate {
+    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
+    system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
+        gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
+}
+
 livecheck.type          regex
 livecheck.url           ${master_sites}
 livecheck.regex         "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130710/f694d117/attachment.html>


More information about the macports-changes mailing list