[83338] trunk/dports/textproc/liblrdf
pixilla at macports.org
pixilla at macports.org
Mon Aug 29 19:19:13 PDT 2011
Revision: 83338
http://trac.macports.org/changeset/83338
Author: pixilla at macports.org
Date: 2011-08-29 19:19:10 -0700 (Mon, 29 Aug 2011)
Log Message:
-----------
textproc/liblrdf:
- Patch to handle raptor(1) presence.
- Use clang over llvm-gcc-4.2.
Modified Paths:
--------------
trunk/dports/textproc/liblrdf/Portfile
Added Paths:
-----------
trunk/dports/textproc/liblrdf/files/
trunk/dports/textproc/liblrdf/files/patch-lrdf.h.diff
trunk/dports/textproc/liblrdf/files/patch-src-lrdf.c.diff
Modified: trunk/dports/textproc/liblrdf/Portfile
===================================================================
--- trunk/dports/textproc/liblrdf/Portfile 2011-08-30 01:44:45 UTC (rev 83337)
+++ trunk/dports/textproc/liblrdf/Portfile 2011-08-30 02:19:10 UTC (rev 83338)
@@ -14,17 +14,23 @@
description A lightweight RDF library with special support for LADSPA plugins.
long_description librdf is a library to make it easy to manipulate RDF files describing LADSPA \
plugins. It can also be used for general RDF manipulation. It can read RDF/XLM \
- and N3 files and export N3 files. It also has a light taxonomic inference capablility.
+ and N3 files and export N3 files. It also has a light taxonomic inference capability.
homepage https://github.com/swh/LRDF
fetch.type git
git.url git://github.com/swh/LRDF.git
git.branch 4e416a5209c7a5854fac
-configure.cmd ./autogen.sh
-
depends_build port:pkgconfig
depends_lib port:raptor2
+patchfiles patch-lrdf.h.diff \
+ patch-src-lrdf.c.diff
+
+configure.cmd ./autogen.sh
+
+if {${configure.compiler} == "llvm-gcc-4.2"} {
+ configure.compiler clang
+}
livecheck.url http://sourceforge.net/projects/lrdf/files/
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)"
Added: trunk/dports/textproc/liblrdf/files/patch-lrdf.h.diff
===================================================================
--- trunk/dports/textproc/liblrdf/files/patch-lrdf.h.diff (rev 0)
+++ trunk/dports/textproc/liblrdf/files/patch-lrdf.h.diff 2011-08-30 02:19:10 UTC (rev 83338)
@@ -0,0 +1,11 @@
+--- lrdf.h.orig 2011-08-29 18:11:39.000000000 -0700
++++ lrdf.h 2011-08-29 18:12:36.000000000 -0700
+@@ -5,7 +5,7 @@
+ extern "C" {
+ #endif
+
+-#include <raptor.h>
++#include <raptor2/raptor.h>
+ #include <string.h>
+ #include <sys/types.h>
+
Added: trunk/dports/textproc/liblrdf/files/patch-src-lrdf.c.diff
===================================================================
--- trunk/dports/textproc/liblrdf/files/patch-src-lrdf.c.diff (rev 0)
+++ trunk/dports/textproc/liblrdf/files/patch-src-lrdf.c.diff 2011-08-30 02:19:10 UTC (rev 83338)
@@ -0,0 +1,11 @@
+--- src/lrdf.c.orig 2011-08-29 18:12:06.000000000 -0700
++++ src/lrdf.c 2011-08-29 18:13:01.000000000 -0700
+@@ -1,7 +1,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#include <raptor.h>
++#include <raptor2/raptor.h>
+ #include <ladspa.h>
+ #include <time.h>
+ #include <sys/types.h>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110829/9774e015/attachment.html>
More information about the macports-changes
mailing list