[28131] trunk/dports/gnome/liferea/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Tue Aug 21 16:44:51 PDT 2007
Revision: 28131
http://trac.macosforge.org/projects/macports/changeset/28131
Author: vinc17 at macports.org
Date: 2007-08-21 16:44:51 -0700 (Tue, 21 Aug 2007)
Log Message:
-----------
Added lua variant (lua now being explicitly disabled by default for
consistency between platforms with lua installed and those without
it), and added Simon Ruderich's patch (necessary to be able to build
Liferea with lua support).
Modified Paths:
--------------
trunk/dports/gnome/liferea/Portfile
Modified: trunk/dports/gnome/liferea/Portfile
===================================================================
--- trunk/dports/gnome/liferea/Portfile 2007-08-21 21:08:15 UTC (rev 28130)
+++ trunk/dports/gnome/liferea/Portfile 2007-08-21 23:44:51 UTC (rev 28131)
@@ -3,6 +3,7 @@
PortSystem 1.0
name liferea
version 1.2.22
+revision 1
description A feed aggregator for GTK+/GNOME.
long_description Liferea is an aggregator for online news feeds. \
It supports the RSS/RDF, CDF, Atom, OCS and OPML \
@@ -19,11 +20,23 @@
depends_lib port:gtk2 port:libgtkhtml port:gconf port:libxslt
configure.args --disable-xulrunner \
- --disable-gecko
+ --disable-gecko \
+ --disable-lua
+variant lua {
+ depends_lib-append port:lua
+ configure.args-delete --disable-lua
+ configure.args-append --enable-lua
+}
+
patchfiles patch-itemview.c
patch.pre_args -p1
+post-patch {
+ reinplace "s|#include <malloc.h>||g" \
+ "${worksrcpath}/src/scripting/liferea_wrap.h"
+}
+
pre-destroot {
file mkdir "${destroot}${prefix}/share/doc/${name}"
xinstall -m 644 -v -W ${worksrcpath} AUTHORS ChangeLog README \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070821/bf3d7eaf/attachment.html
More information about the macports-changes
mailing list