aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2009-03-27 14:13:19 +0800
committerclsung <clsung@FreeBSD.org>2009-03-27 14:13:19 +0800
commit44b5ee8a39c3f1fc7f5b8805b92fc6738c940784 (patch)
tree2d0238e7003f86fbf8984ecaeae818b3fc5af328 /textproc
parent87e17120d862e832170bc28627cda2232faa13e7 (diff)
downloadfreebsd-ports-gnome-44b5ee8a39c3f1fc7f5b8805b92fc6738c940784.tar.gz
freebsd-ports-gnome-44b5ee8a39c3f1fc7f5b8805b92fc6738c940784.tar.zst
freebsd-ports-gnome-44b5ee8a39c3f1fc7f5b8805b92fc6738c940784.zip
- quickfix for it
- bump PORTREVISION
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-lucene/Makefile9
-rw-r--r--textproc/py-lucene/files/patch-Makefile11
-rw-r--r--textproc/py-lucene/pkg-plist14
3 files changed, 23 insertions, 11 deletions
diff --git a/textproc/py-lucene/Makefile b/textproc/py-lucene/Makefile
index a8a31199ba8b..31825ba9c972 100644
--- a/textproc/py-lucene/Makefile
+++ b/textproc/py-lucene/Makefile
@@ -8,7 +8,8 @@
PORTNAME= PyLucene
PORTVERSION= 2.4.0
-CATEGORIES= textproc devel python
+PORTREVISION= 1
+CATEGORIES= textproc devel python java
MASTER_SITES= http://downloads.osafoundation.org/PyLucene/jcc/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}-${PORTVERSION}${PATCHSET}-src-jcc
@@ -26,7 +27,9 @@ USE_JAVA= yes
JAVA_VERSION= 1.4+
USE_GMAKE= yes
PATCHSET= -1
-EGG_INFO= lucene-${PYDISTUTILS_PKGVERSION:C/[^A-Za-z0-9.]+/_/g}-${PYTHON_VERSION:S/thon//}.egg-info
+LUCENE_VER= 2.4.1
+#EGG_INFO= lucene-${PYDISTUTILS_PKGVERSION:C/[^A-Za-z0-9.]+/_/g}-${PYTHON_VERSION:S/thon//}.egg-info
+EGG_INFO= lucene-${LUCENE_VER}-${PYTHON_VERSION:S/thon//}.egg-info
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}${PATCHSET}
PLIST_SUB= EGG_INFO=${EGG_INFO}
@@ -37,7 +40,7 @@ MAKE_ARGS+= PREFIX=${PREFIX} PREFIX_PYTHON=${LOCALBASE} PYTHON=${PYTHON_CMD} \
PYTHON_SITE=${PYTHON_SITELIBDIR}
pre-build:
- ${CP} -R ${WRKDIR}/../../lucene/work/lucene-${PORTVERSION} ${WRKSRC}/lucene-java-${PORTVERSION}
+ ${CP} -R ${WRKDIR}/../../lucene/work/lucene-${LUCENE_VER} ${WRKSRC}/lucene-java-${LUCENE_VER}
#regression-test:
# cd ${WRKSRC}; env ${MAKE_ENV} ${GMAKE} test
diff --git a/textproc/py-lucene/files/patch-Makefile b/textproc/py-lucene/files/patch-Makefile
index dde6fab62647..44f3911f1f68 100644
--- a/textproc/py-lucene/files/patch-Makefile
+++ b/textproc/py-lucene/files/patch-Makefile
@@ -1,5 +1,14 @@
--- Makefile.orig 2008-10-20 09:29:22.000000000 +0800
-+++ Makefile 2008-10-21 08:00:27.000000000 +0800
++++ Makefile 2009-03-27 08:53:23.000000000 +0800
+@@ -16,7 +16,7 @@
+
+ VERSION=2.4.0-1
+ LUCENE_SVN_VER=HEAD
+-LUCENE_VER=2.4.0
++LUCENE_VER=2.4.1
+ LUCENE_SVN=http://svn.apache.org/repos/asf/lucene/java/tags/lucene_2_4_0
+ PYLUCENE:=$(shell pwd)
+ LUCENE=lucene-java-$(LUCENE_VER)
@@ -82,11 +82,13 @@
#NUM_FILES=2
diff --git a/textproc/py-lucene/pkg-plist b/textproc/py-lucene/pkg-plist
index 2ba5487051e1..782682ca06d1 100644
--- a/textproc/py-lucene/pkg-plist
+++ b/textproc/py-lucene/pkg-plist
@@ -2,11 +2,11 @@
%%PYTHON_SITELIBDIR%%/lucene/_lucene.so
%%PYTHON_SITELIBDIR%%/lucene/__init__.py
%%PYTHON_SITELIBDIR%%/lucene/__init__.pyc
-%%PYTHON_SITELIBDIR%%/lucene/lucene-analyzers-2.4.0.jar
-%%PYTHON_SITELIBDIR%%/lucene/lucene-core-2.4.0.jar
-%%PYTHON_SITELIBDIR%%/lucene/lucene-instantiated-2.4.0.jar
-%%PYTHON_SITELIBDIR%%/lucene/lucene-highlighter-2.4.0.jar
-%%PYTHON_SITELIBDIR%%/lucene/lucene-queries-2.4.0.jar
-%%PYTHON_SITELIBDIR%%/lucene/lucene-regex-2.4.0.jar
-%%PYTHON_SITELIBDIR%%/lucene/lucene-snowball-2.4.0.jar
+%%PYTHON_SITELIBDIR%%/lucene/lucene-analyzers-2.4.1.jar
+%%PYTHON_SITELIBDIR%%/lucene/lucene-core-2.4.1.jar
+%%PYTHON_SITELIBDIR%%/lucene/lucene-instantiated-2.4.1.jar
+%%PYTHON_SITELIBDIR%%/lucene/lucene-highlighter-2.4.1.jar
+%%PYTHON_SITELIBDIR%%/lucene/lucene-queries-2.4.1.jar
+%%PYTHON_SITELIBDIR%%/lucene/lucene-regex-2.4.1.jar
+%%PYTHON_SITELIBDIR%%/lucene/lucene-snowball-2.4.1.jar
@dirrm %%PYTHON_SITELIBDIR%%/lucene