aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorDaniel Gerzo <danger@FreeBSD.org>2008-06-01 11:53:37 +0000
committerDaniel Gerzo <danger@FreeBSD.org>2008-06-01 11:53:37 +0000
commitc7e27011292559f8569f2af344786c940c22130b (patch)
tree1abd518e7f71295088aa007a49b380cecc6c8c80 /textproc
parent421d05ab6e157d0c7f918e66ac1941f5d5fe7807 (diff)
downloadports-c7e27011292559f8569f2af344786c940c22130b.tar.gz
ports-c7e27011292559f8569f2af344786c940c22130b.zip
Notes
Diffstat (limited to 'textproc')
-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%%