diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2009-03-27 06:13:19 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2009-03-27 06:13:19 +0000 |
commit | b673f412b6fbb74e70f7e36ade857b5df60700c2 (patch) | |
tree | edff7d72aec498374127d3a47337cfd8d5d7b00d /textproc/py-lucene | |
parent | 024e4c6b85cb82ed456e203252c39a1e9b3ee46d (diff) | |
download | ports-b673f412b6fbb74e70f7e36ade857b5df60700c2.tar.gz ports-b673f412b6fbb74e70f7e36ade857b5df60700c2.zip |
Notes
Diffstat (limited to 'textproc/py-lucene')
-rw-r--r-- | textproc/py-lucene/Makefile | 9 | ||||
-rw-r--r-- | textproc/py-lucene/files/patch-Makefile | 11 | ||||
-rw-r--r-- | textproc/py-lucene/pkg-plist | 14 |
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 |