[99045] trunk/dports/textproc/sphinx/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Oct 24 18:57:39 PDT 2012


Revision: 99045
          http://trac.macports.org//changeset/99045
Author:   ryandesign at macports.org
Date:     2012-10-24 18:57:39 -0700 (Wed, 24 Oct 2012)
Log Message:
-----------
sphinx: add libsphinxclient subport (#26736)

Modified Paths:
--------------
    trunk/dports/textproc/sphinx/Portfile

Modified: trunk/dports/textproc/sphinx/Portfile
===================================================================
--- trunk/dports/textproc/sphinx/Portfile	2012-10-25 01:26:49 UTC (rev 99044)
+++ trunk/dports/textproc/sphinx/Portfile	2012-10-25 01:57:39 UTC (rev 99045)
@@ -28,6 +28,7 @@
 checksums           rmd160  6fd53230457e62a6aabcb5321265abd8ea324cf6 \
                     sha256  de943c397efda706661b3a12e12e9f8cc8a03bf6c02c5a6ba967a06384feede2
 
+if {${name} == ${subport}} {
 depends_lib         port:expat \
                     port:libiconv
 
@@ -126,3 +127,21 @@
 livecheck.type      regex
 livecheck.url       ${homepage}downloads/release/
 livecheck.regex     ${name}-(\[0-9.\]+)-release${extract.suffix}
+} else {
+    livecheck.type      none
+}
+
+subport libsphinxclient {
+    license             LGPL-2
+    
+    description         C library to talk to the Sphinx full-text search engine
+    
+    long_description    ${description}
+    
+    worksrcdir          ${worksrcdir}/api/${subport}
+    
+    # build shared library too
+    use_autoreconf      yes
+    
+    use_parallel_build  no
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121024/f5f3ef6f/attachment.html>


More information about the macports-changes mailing list