[52448] trunk/dports/gnome
devans at macports.org
devans at macports.org
Tue Jun 16 16:45:38 PDT 2009
Revision: 52448
http://trac.macports.org/changeset/52448
Author: devans at macports.org
Date: 2009-06-16 16:45:37 -0700 (Tue, 16 Jun 2009)
Log Message:
-----------
new port alacarte: a freedesktop.org compliant menu editor for GNOME.
Added Paths:
-----------
trunk/dports/gnome/alacarte/
trunk/dports/gnome/alacarte/Portfile
trunk/dports/gnome/alacarte/files/
trunk/dports/gnome/alacarte/files/patch-Makefile.in.diff
trunk/dports/gnome/alacarte/files/patch-alacarte.in.diff
Added: trunk/dports/gnome/alacarte/Portfile
===================================================================
--- trunk/dports/gnome/alacarte/Portfile (rev 0)
+++ trunk/dports/gnome/alacarte/Portfile 2009-06-16 23:45:37 UTC (rev 52448)
@@ -0,0 +1,38 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name alacarte
+version 0.12.1
+set branch [join [lrange [split ${version} .] 0 1] .]
+description A simple freedesktop.org compliant menu editor for use with GNOME
+
+long_description \
+ ${description}
+
+maintainers devans openmaintainer
+categories gnome
+platforms darwin
+homepage http://www.gnome.org/
+master_sites gnome:sources/${name}/${branch}/
+
+use_bzip2 yes
+
+checksums md5 c6d77f7e5ee6129532e4bb1a35a07194 \
+ sha1 7407dcb4cd000e0991b12c53113615771fc385a7 \
+ rmd160 4fe59d1c6df2cdc8f22d901d9a3ce125bc9dc27d
+
+patchfiles patch-Makefile.in.diff \
+ patch-alacarte.in.diff
+
+depends_lib port:py26-gtk \
+ port:gnome-menus
+
+post-destroot {
+ file rename ${destroot}${prefix}/bin/alacarte.py ${destroot}${prefix}/bin/alacarte
+}
+
+livecheck.check regex
+livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
+livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
Property changes on: trunk/dports/gnome/alacarte/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/gnome/alacarte/files/patch-Makefile.in.diff
===================================================================
--- trunk/dports/gnome/alacarte/files/patch-Makefile.in.diff (rev 0)
+++ trunk/dports/gnome/alacarte/files/patch-Makefile.in.diff 2009-06-16 23:45:37 UTC (rev 52448)
@@ -0,0 +1,28 @@
+--- Makefile.in.orig 2009-05-04 07:29:58.000000000 -0700
++++ Makefile.in 2009-06-16 14:36:11.000000000 -0700
+@@ -216,8 +216,8 @@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ SUBDIRS = data po Alacarte
+-CLEANFILES = alacarte
+-bin_SCRIPTS = alacarte
++CLEANFILES = alacarte.py
++bin_SCRIPTS = alacarte.py
+ DISTCLEANFILES = ChangeLog
+ EXTRA_DIST = \
+ alacarte.in \
+@@ -669,11 +669,12 @@
+ uninstall-binSCRIPTS
+
+
+-alacarte: alacarte.in
++alacarte.py: alacarte.in
+ sed -e s!\@PYTHON\@!@PYTHON@! \
+ -e s!\@PYOPTIONS\@!-OOt! \
++ -e s!\@PYEXECDIR\@!@pyexecdir@! \
+ < $< > $@
+-alacarte: Makefile
++alacarte.py: Makefile
+
+ ChangeLog:
+ @echo Creating $@
Added: trunk/dports/gnome/alacarte/files/patch-alacarte.in.diff
===================================================================
--- trunk/dports/gnome/alacarte/files/patch-alacarte.in.diff (rev 0)
+++ trunk/dports/gnome/alacarte/files/patch-alacarte.in.diff 2009-06-16 23:45:37 UTC (rev 52448)
@@ -0,0 +1,13 @@
+--- alacarte.in.orig 2009-04-17 06:03:43.000000000 -0700
++++ alacarte.in 2009-06-16 14:32:05.000000000 -0700
+@@ -19,6 +19,10 @@
+ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+ import sys
++
++if not "@PYEXECDIR@" in sys.path:
++ sys.path.insert (0, "@PYEXECDIR@")
++
+ from Alacarte.MainWindow import MainWindow
+
+ def main():
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090616/0d772cf3/attachment.html>
More information about the macports-changes
mailing list