[37095] trunk/dports/devel
simon at macports.org
simon at macports.org
Mon May 26 12:23:23 PDT 2008
Revision: 37095
http://trac.macosforge.org/projects/macports/changeset/37095
Author: simon at macports.org
Date: 2008-05-26 12:23:23 -0700 (Mon, 26 May 2008)
Log Message:
-----------
devel/strigi: New port, closes #15344. Thanks to clubjuggler at gmail.com.
Added Paths:
-----------
trunk/dports/devel/strigi/
trunk/dports/devel/strigi/Portfile
trunk/dports/devel/strigi/files/
trunk/dports/devel/strigi/files/strigi-fix-check-gcc-visibility-macro-ccache.patch
Added: trunk/dports/devel/strigi/Portfile
===================================================================
--- trunk/dports/devel/strigi/Portfile (rev 0)
+++ trunk/dports/devel/strigi/Portfile 2008-05-26 19:23:23 UTC (rev 37095)
@@ -0,0 +1,38 @@
+# $Id$
+
+PortSystem 1.0
+
+name strigi
+version 0.5.7
+categories devel
+maintainers clubjuggler at gmail.com openmaintainer
+description Fastest and smallest desktop searching program
+long_description Strigi is a daemon which uses a very fast and efficient crawler that can index data on your harddrive. Indexing operations are performed without hammering your system, this makes Strigi the fastest and smallest desktop searching program. Strigi can index different file formats, including the contents of the archive files.
+platforms darwin
+homepage http://strigi.sourceforge.net/
+master_sites sourceforge
+use_bzip2 yes
+distname strigi-${version}
+patchfiles strigi-fix-check-gcc-visibility-macro-ccache.patch
+patch.pre_args -p1
+
+depends_build port:cmake
+depends_lib port:clucene port:dbus
+
+checksums ${distname}.tar.bz2 md5 01015166eb49a523219d3b1d7e46b672
+
+# Best practice for CMake dictates that builds should be out of source.
+# However, it appears that strigi uses java to create source files and
+# they don't get put in the right place if you're doing an out of source
+# build, so for now this is an in-source build. That does, however, simplify
+# things because the build and destroot phases can be left at the default
+# values.
+# Let's try to use as much as possible and just override the
+# configure.cmd and configure.pre_args (setting the prefix)
+configure.pre_args -DCMAKE_INSTALL_PREFIX=${prefix}
+configure.cmd cmake
+
+post-destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 -W ${worksrcpath} COPYING README AUTHORS ChangeLog TODO ${destroot}${prefix}/share/doc/${name}
+}
Property changes on: trunk/dports/devel/strigi/Portfile
___________________________________________________________________
Name: svn:keyword
+ Id
Name: svn:eol-style
+ native
Added: trunk/dports/devel/strigi/files/strigi-fix-check-gcc-visibility-macro-ccache.patch
===================================================================
--- trunk/dports/devel/strigi/files/strigi-fix-check-gcc-visibility-macro-ccache.patch (rev 0)
+++ trunk/dports/devel/strigi/files/strigi-fix-check-gcc-visibility-macro-ccache.patch 2008-05-26 19:23:23 UTC (rev 37095)
@@ -0,0 +1,12 @@
+diff -uNr strigi-0.5.7.orig/cmake/MacroCheckGccVisibility.cmake strigi-0.5.7/cmake/MacroCheckGccVisibility.cmake
+--- strigi-0.5.7.orig/cmake/MacroCheckGccVisibility.cmake 2007-10-26 08:25:39.000000000 -0400
++++ strigi-0.5.7/cmake/MacroCheckGccVisibility.cmake 2008-05-19 01:28:13.000000000 -0400
+@@ -13,7 +13,7 @@
+ check_cxx_compiler_flag(-fvisibility=hidden ${GccVisibility})
+
+ # get the gcc version
+- exec_program(${CMAKE_C_COMPILER} ARGS --version OUTPUT_VARIABLE _gcc_version_info)
++ exec_program(${CMAKE_C_COMPILER} ARGS ${CMAKE_C_COMPILER_ARG1} --version OUTPUT_VARIABLE _gcc_version_info)
+
+ string (REGEX MATCH "[345]\\.[0-9]\\.[0-9]" _gcc_version "${_gcc_version_info}")
+ # gcc on mac just reports: "gcc (GCC) 3.3 20030304 ..." without the patch level, handle this here:
Property changes on: trunk/dports/devel/strigi/files/strigi-fix-check-gcc-visibility-macro-ccache.patch
___________________________________________________________________
Name: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080526/78ca22cc/attachment.htm
More information about the macports-changes
mailing list