[52513] trunk/dports/www/mnogosearch

blb at macports.org blb at macports.org
Wed Jun 17 19:16:52 PDT 2009


Revision: 52513
          http://trac.macports.org/changeset/52513
Author:   blb at macports.org
Date:     2009-06-17 19:16:48 -0700 (Wed, 17 Jun 2009)
Log Message:
-----------
www/mnogosearch - version update to 3.3.8, add postgresql83 variant; ticket #19965

Modified Paths:
--------------
    trunk/dports/www/mnogosearch/Portfile
    trunk/dports/www/mnogosearch/files/patch-locations_configure.in

Modified: trunk/dports/www/mnogosearch/Portfile
===================================================================
--- trunk/dports/www/mnogosearch/Portfile	2009-06-18 00:54:00 UTC (rev 52512)
+++ trunk/dports/www/mnogosearch/Portfile	2009-06-18 02:16:48 UTC (rev 52513)
@@ -2,9 +2,9 @@
 
 PortSystem			1.0
 name				mnogosearch
-version				3.3.3
+version				3.3.8
 categories			www
-maintainers			nomaintainer
+maintainers			gmail.com:dbraband openmaintainer
 description			Full-featured SQL-based web search engine
 long_description \
 	mnoGoSearch is a full-featured SQL-based web search engine. \
@@ -19,7 +19,9 @@
 homepage			http://www.mnogosearch.org/
 master_sites		${homepage}Download/
 
-checksums			md5 aaac63ef71fbee7890f09bcf5a41f3d4
+checksums			md5 4c561e3f7fb4c7328e2aa242474d7836 \
+					sha1 c0195aed87476296172884c2adbcfeb6f67d9bc4 \
+					rmd160 f28ede3c9eae4ae9a0351900a1cbf5a519b989a8
 
 depends_lib			port:openssl port:zlib
 
@@ -75,6 +77,13 @@
 	configure.args-append	--with-pgsql=${prefix}/lib/postgresql81
 }
 
+variant postgresql83 {
+	use_autoconf yes
+	patchfiles-append       patch-locations_configure.in
+	depends_lib-append      port:postgresql83
+	configure.args-append   --with-pgsql=${prefix}
+}
+
 # Other database variants would go here
 
 variant nosyslog {

Modified: trunk/dports/www/mnogosearch/files/patch-locations_configure.in
===================================================================
--- trunk/dports/www/mnogosearch/files/patch-locations_configure.in	2009-06-18 00:54:00 UTC (rev 52512)
+++ trunk/dports/www/mnogosearch/files/patch-locations_configure.in	2009-06-18 02:16:48 UTC (rev 52513)
@@ -1,15 +1,26 @@
---- configure.in.orig	2007-02-13 15:53:41.000000000 +0100
-+++ configure.in	2007-02-13 15:54:46.000000000 +0100
-@@ -810,7 +810,11 @@
+--- configure.in.orig	2008-11-21 21:53:33.000000000 +0100
++++ configure.in	2009-06-17 10:31:51.000000000 +0200
+@@ -953,7 +953,11 @@
  			AC_MSG_ERROR(Unknown MySQL directory - unable to find mysql.h)
  		fi
     	else
 -		if test -f $withval/include/mysql/mysql.h; then
-+		# reflect MacPorts specialties...
-+		if test -f $withval/include/mysql5/mysql/mysql.h; then
-+			MYSQL_INCDIR=$withval/include/mysql5/mysql
-+			MYSQL_LIBDIR=$withval/lib/mysql5/mysql
-+		elif test -f $withval/include/mysql/mysql.h; then
++        # reflect MacPorts specialties...
++        if test -f $withval/include/mysql5/mysql/mysql.h; then
++            MYSQL_INCDIR=$withval/include/mysql5/mysql
++            MYSQL_LIBDIR=$withval/lib/mysql5/mysql
++        elif test -f $withval/include/mysql/mysql.h; then
     			MYSQL_INCDIR=$withval/include/mysql
     			MYSQL_LIBDIR=$withval/lib/mysql
  		elif test -f $withval/include/mysql.h; then
+@@ -1009,8 +1013,10 @@
+    	else
+    		PGSQL_INCDIR=$withval/include
+    		test -d $withval/include/pgsql && PGSQL_INCDIR=$withval/include/pgsql
++   		test -d $withval/include/postgresql83 && PGSQL_INCDIR=$withval/include/postgresql83
+    		PGSQL_LIBDIR=$withval/lib
+    		test -d $withval/lib/pgsql && PGSQL_LIBDIR=$withval/lib/pgsql
++   		test -d $withval/lib/postgresql83 && PGSQL_LIBDIR=$withval/lib/postgresql83
+    	fi
+     PGSQL_INCLUDE="-I$PGSQL_INCDIR"
+     PGSQL_LFLAGS="-L$PGSQL_LIBDIR -lpq"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090617/337a1b8d/attachment.html>


More information about the macports-changes mailing list