aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/sphinxsearch-devel
diff options
context:
space:
mode:
authordanger <danger@FreeBSD.org>2008-06-01 19:53:37 +0800
committerdanger <danger@FreeBSD.org>2008-06-01 19:53:37 +0800
commit2a836cdf912cb1d80958383a6dbd3d3bd162fb0b (patch)
tree98b53c4f8f7b9840c9a00f4b15b2da8c88a2c390 /textproc/sphinxsearch-devel
parent52bffe37b0c239f87583711cb528cc211b0f180b (diff)
downloadfreebsd-ports-gnome-2a836cdf912cb1d80958383a6dbd3d3bd162fb0b.tar.gz
freebsd-ports-gnome-2a836cdf912cb1d80958383a6dbd3d3bd162fb0b.tar.zst
freebsd-ports-gnome-2a836cdf912cb1d80958383a6dbd3d3bd162fb0b.zip
- update to the latest version: 0.9.8-rc2
Approved by: miwi PR: ports/121414 (with updated patch)
Diffstat (limited to 'textproc/sphinxsearch-devel')
-rw-r--r--textproc/sphinxsearch-devel/Makefile12
-rw-r--r--textproc/sphinxsearch-devel/distinfo6
-rw-r--r--textproc/sphinxsearch-devel/files/patch-src-searchd.cpp11
-rw-r--r--textproc/sphinxsearch-devel/pkg-plist2
4 files changed, 13 insertions, 18 deletions
diff --git a/textproc/sphinxsearch-devel/Makefile b/textproc/sphinxsearch-devel/Makefile
index 5a76beb7ee13..ab534919ccc5 100644
--- a/textproc/sphinxsearch-devel/Makefile
+++ b/textproc/sphinxsearch-devel/Makefile
@@ -8,11 +8,14 @@
# this port. You need a patched version of mysql server for that.
PORTNAME= sphinxsearch
-PORTVERSION= 0.9.8.r1065
+DISTVERSION= 0.9.8-rc2
+PORTEPOCH= 1
CATEGORIES= textproc databases
MASTER_SITES= http://www.sphinxsearch.com/downloads/
PKGNAMESUFFIX?= -devel
-DISTNAME= sphinx-0.9.8-svn-r1065
+DISTNAME= sphinx-0.9.8-rc2
+
+PATCH_DIST_STRIP=-p1
MAINTAINER= danger@FreeBSD.org
COMMENT= Sphinx Full-Text Search Engine
@@ -53,10 +56,13 @@ SUB_LIST+= PORTNAME=${PORTNAME} \
SUB_FILES+= pkg-install pkg-deinstall
.if !defined(NOPORTDOCS)
-EXAMPLES= example.sql api/sphinxapi.php api/test.php api/test2.php
DOCS= doc/sphinx.css doc/sphinx.html doc/sphinx.txt doc/sphinx.xml
.endif
+.if !defined(NOPORTEXAMPLES)
+EXAMPLES= example.sql api/sphinxapi.php api/test.php api/test2.php
+.endif
+
.include <bsd.port.pre.mk>
# The port will successfully compile with both PGSQL and MYSQL support
diff --git a/textproc/sphinxsearch-devel/distinfo b/textproc/sphinxsearch-devel/distinfo
index 4f73ea6397dd..ccdc4f1704f1 100644
--- a/textproc/sphinxsearch-devel/distinfo
+++ b/textproc/sphinxsearch-devel/distinfo
@@ -1,3 +1,3 @@
-MD5 (sphinx-0.9.8-svn-r1065.tar.gz) = 98fbb0d6018b8aa62467105483336f7f
-SHA256 (sphinx-0.9.8-svn-r1065.tar.gz) = f8d4e9084570400be377c276c0987609d9e329ffc046806f8c99ec9adfc3fd59
-SIZE (sphinx-0.9.8-svn-r1065.tar.gz) = 491770
+MD5 (sphinx-0.9.8-rc2.tar.gz) = 35836f7926f2303ac2f0213e615e3723
+SHA256 (sphinx-0.9.8-rc2.tar.gz) = 73a29304c5860e007892793a3fa230eb8c7b1f7bbd7adcae2c12201e6a84693b
+SIZE (sphinx-0.9.8-rc2.tar.gz) = 640559
diff --git a/textproc/sphinxsearch-devel/files/patch-src-searchd.cpp b/textproc/sphinxsearch-devel/files/patch-src-searchd.cpp
deleted file mode 100644
index b69e0395a1d4..000000000000
--- a/textproc/sphinxsearch-devel/files/patch-src-searchd.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -ruN sphinx-0.9.8-svn-r1065.orig/src/searchd.cpp sphinx-0.9.8-svn-r1065/src/searchd.cpp
---- src/searchd.cpp 2008-01-14 01:49:00.000000000 +0100
-+++ src/searchd.cpp 2008-01-18 23:44:55.000000000 +0100
-@@ -20,6 +20,7 @@
- #include <signal.h>
- #include <stdio.h>
- #include <string.h>
-+#include <sys/resource.h>
- #include <sys/stat.h>
- #include <sys/types.h>
- #include <time.h>
diff --git a/textproc/sphinxsearch-devel/pkg-plist b/textproc/sphinxsearch-devel/pkg-plist
index 72eeabf7f437..f4f9bb104b3b 100644
--- a/textproc/sphinxsearch-devel/pkg-plist
+++ b/textproc/sphinxsearch-devel/pkg-plist
@@ -13,4 +13,4 @@ etc/sphinx.conf.sample
%%PORTDOCS%%%%EXAMPLESDIR%%/test.php
%%PORTDOCS%%%%EXAMPLESDIR%%/test2.php
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%