diff options
author | edwin <edwin@FreeBSD.org> | 2006-11-04 08:03:53 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2006-11-04 08:03:53 +0800 |
commit | 7364f89bcc73b91211e8c44cd31fb6683009b0ab (patch) | |
tree | 3e92304156139c39c349254ac70b113a76fa74d9 | |
parent | 4fa25ff79ee78932feef458dcada37a787bbc511 (diff) | |
download | freebsd-ports-gnome-7364f89bcc73b91211e8c44cd31fb6683009b0ab.tar.gz freebsd-ports-gnome-7364f89bcc73b91211e8c44cd31fb6683009b0ab.tar.zst freebsd-ports-gnome-7364f89bcc73b91211e8c44cd31fb6683009b0ab.zip |
Welcome devel/py-lucence
PyLucene is a GCJ-compiled version of Java Lucene integrated
with Python. Its goal is to allow you to use Lucene's text
indexing and searching capabilities from Python. It is
designed to be API compatible with the latest version of
Java Lucene.
WWW: http://pylucene.osafoundation.org/
Kuddos to drnez@#bsdports for making this for me!
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/py-lucene/Makefile | 53 | ||||
-rw-r--r-- | devel/py-lucene/distinfo | 3 | ||||
-rw-r--r-- | devel/py-lucene/pkg-descr | 6 | ||||
-rw-r--r-- | devel/py-lucene/pkg-plist | 7 | ||||
-rw-r--r-- | textproc/py-lucene/Makefile | 53 | ||||
-rw-r--r-- | textproc/py-lucene/distinfo | 3 | ||||
-rw-r--r-- | textproc/py-lucene/pkg-descr | 6 | ||||
-rw-r--r-- | textproc/py-lucene/pkg-plist | 7 |
9 files changed, 139 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index aa613f29e090..79fc3b67836f 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1708,6 +1708,7 @@ SUBDIR += py-log4py SUBDIR += py-logging SUBDIR += py-logilab-common + SUBDIR += py-lucene SUBDIR += py-mx-experimental SUBDIR += py-ncurses SUBDIR += py-ocempgui diff --git a/devel/py-lucene/Makefile b/devel/py-lucene/Makefile new file mode 100644 index 000000000000..be5a0f789b32 --- /dev/null +++ b/devel/py-lucene/Makefile @@ -0,0 +1,53 @@ +# +# Ports collection makefile for: py-lucene +# Date created: Nov 2, 2006 +# Whom: Frank J. Laszlo <laszlof@vonostingroup.com> +# +# $FreeBSD$ +# + +PORTNAME= PyLucene +PORTVERSION= 2.0.0 +PATCHSET= -3 +CATEGORIES= devel python java +MASTER_SITES= http://downloads.osafoundation.org/PyLucene/src/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME}-src-${PORTVERSION}${PATCHSET} + +MAINTAINER= laszlof@vonostingroup.com +COMMENT= A GCJ-compiled version of Java Lucene integrated with Python + +BUILD_DEPENDS+= ${LOCALBASE}/libdata/ldconfig/gcc41-withgcjawt:${PORTSDIR}/lang/gcc41-withgcjawt +BUILD_DEPENDS+= ant:${PORTSDIR}/devel/apache-ant +RUN_DEPENDS+= ${LOCALBASE}/libdata/ldconfig/gcc41-withgcjawt:${PORTSDIR}/lang/gcc41-withgcjawt + +USE_PYTHON= yes +USE_JAVA= yes +USE_GMAKE= yes +USE_LDCONFIG= yes + +OPTIONSFILE?= ${PORT_DBDIR}/${PORTNAME}/options + +OPTIONS= BDB "Compile with support for Berkley DB" Off + +.include <bsd.port.pre.mk> + +_GCC_LIBDIR!= (cd ${PORTSDIR}/lang/gcc41;make -V TARGLIB) +GCC_LIBDIR= ${_GCC_LIBDIR:S/${PREFIX}/${LOCALBASE}/} + +MAKE_ARGS+= PREFIX=${PREFIX} PREFIX_PYTHON=${LOCALBASE} GCJ_HOME=${LOCALBASE} \ + GCJ_LIBDIR=${GCC_LIBDIR} CC=${LOCALBASE}/bin/gcc41 CXX=${LOCALBASE}/bin/g++41 \ + JCC=${LOCALBASE}/bin/gcj41 JCCH=${LOCALBASE}/bin/gcjh41 PYTHON=${PYTHON_CMD} ANT=${ANT} \ + LDFLAGS+=-L${LOCALBASE}/lib + +.if defined(WITH_BDB) +BROKEN= Will not compile with BDB support +REAL_BDB_VER= ${BDB_VER:C/([0-9])([0-9])/\1.\2/g} +_BDB_WRKSRC!= (cd ../../databases/db44;make -V WRKSRC) +BDB_WRKSRC= ${_BDB_WRKSRC:S/\/build_unix//} +MAKE_ARGS+= DB=${BDB_WRKSRC} PREFIX_DB=${LOCALBASE} DB_VER=${REAL_BDB_VER} DB_LIB_VER=${REAL_BDB_VER} +USE_BDB= 44 +BUILD_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/databases/db44:extract +.endif + +.include <bsd.port.post.mk> diff --git a/devel/py-lucene/distinfo b/devel/py-lucene/distinfo new file mode 100644 index 000000000000..cc4b7b46553c --- /dev/null +++ b/devel/py-lucene/distinfo @@ -0,0 +1,3 @@ +MD5 (PyLucene-src-2.0.0-3.tar.gz) = f322c2101d876f252710b8e4607a1741 +SHA256 (PyLucene-src-2.0.0-3.tar.gz) = 22c889751d1859e3f016b32ed050b2b7da401381589e754b5d59e014eab56996 +SIZE (PyLucene-src-2.0.0-3.tar.gz) = 4167624 diff --git a/devel/py-lucene/pkg-descr b/devel/py-lucene/pkg-descr new file mode 100644 index 000000000000..5792b3ca2d0b --- /dev/null +++ b/devel/py-lucene/pkg-descr @@ -0,0 +1,6 @@ +PyLucene is a GCJ-compiled version of Java Lucene integrated with Python. +Its goal is to allow you to use Lucene's text indexing and searching +capabilities from Python. It is designed to be API compatible with the +latest version of Java Lucene. + +WWW: http://pylucene.osafoundation.org/ diff --git a/devel/py-lucene/pkg-plist b/devel/py-lucene/pkg-plist new file mode 100644 index 000000000000..534e7191055c --- /dev/null +++ b/devel/py-lucene/pkg-plist @@ -0,0 +1,7 @@ +lib/python2.4/site-packages/README +lib/python2.4/site-packages/PyLucene.py +lib/python2.4/site-packages/_PyLucene.so +lib/python2.4/site-packages/security/classpath.security +lib/python2.4/site-packages/security/libgcj.security +@dirrm lib/python2.4/site-packages/security +@dirrm lib/python2.4/site-packages diff --git a/textproc/py-lucene/Makefile b/textproc/py-lucene/Makefile new file mode 100644 index 000000000000..be5a0f789b32 --- /dev/null +++ b/textproc/py-lucene/Makefile @@ -0,0 +1,53 @@ +# +# Ports collection makefile for: py-lucene +# Date created: Nov 2, 2006 +# Whom: Frank J. Laszlo <laszlof@vonostingroup.com> +# +# $FreeBSD$ +# + +PORTNAME= PyLucene +PORTVERSION= 2.0.0 +PATCHSET= -3 +CATEGORIES= devel python java +MASTER_SITES= http://downloads.osafoundation.org/PyLucene/src/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME}-src-${PORTVERSION}${PATCHSET} + +MAINTAINER= laszlof@vonostingroup.com +COMMENT= A GCJ-compiled version of Java Lucene integrated with Python + +BUILD_DEPENDS+= ${LOCALBASE}/libdata/ldconfig/gcc41-withgcjawt:${PORTSDIR}/lang/gcc41-withgcjawt +BUILD_DEPENDS+= ant:${PORTSDIR}/devel/apache-ant +RUN_DEPENDS+= ${LOCALBASE}/libdata/ldconfig/gcc41-withgcjawt:${PORTSDIR}/lang/gcc41-withgcjawt + +USE_PYTHON= yes +USE_JAVA= yes +USE_GMAKE= yes +USE_LDCONFIG= yes + +OPTIONSFILE?= ${PORT_DBDIR}/${PORTNAME}/options + +OPTIONS= BDB "Compile with support for Berkley DB" Off + +.include <bsd.port.pre.mk> + +_GCC_LIBDIR!= (cd ${PORTSDIR}/lang/gcc41;make -V TARGLIB) +GCC_LIBDIR= ${_GCC_LIBDIR:S/${PREFIX}/${LOCALBASE}/} + +MAKE_ARGS+= PREFIX=${PREFIX} PREFIX_PYTHON=${LOCALBASE} GCJ_HOME=${LOCALBASE} \ + GCJ_LIBDIR=${GCC_LIBDIR} CC=${LOCALBASE}/bin/gcc41 CXX=${LOCALBASE}/bin/g++41 \ + JCC=${LOCALBASE}/bin/gcj41 JCCH=${LOCALBASE}/bin/gcjh41 PYTHON=${PYTHON_CMD} ANT=${ANT} \ + LDFLAGS+=-L${LOCALBASE}/lib + +.if defined(WITH_BDB) +BROKEN= Will not compile with BDB support +REAL_BDB_VER= ${BDB_VER:C/([0-9])([0-9])/\1.\2/g} +_BDB_WRKSRC!= (cd ../../databases/db44;make -V WRKSRC) +BDB_WRKSRC= ${_BDB_WRKSRC:S/\/build_unix//} +MAKE_ARGS+= DB=${BDB_WRKSRC} PREFIX_DB=${LOCALBASE} DB_VER=${REAL_BDB_VER} DB_LIB_VER=${REAL_BDB_VER} +USE_BDB= 44 +BUILD_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/databases/db44:extract +.endif + +.include <bsd.port.post.mk> diff --git a/textproc/py-lucene/distinfo b/textproc/py-lucene/distinfo new file mode 100644 index 000000000000..cc4b7b46553c --- /dev/null +++ b/textproc/py-lucene/distinfo @@ -0,0 +1,3 @@ +MD5 (PyLucene-src-2.0.0-3.tar.gz) = f322c2101d876f252710b8e4607a1741 +SHA256 (PyLucene-src-2.0.0-3.tar.gz) = 22c889751d1859e3f016b32ed050b2b7da401381589e754b5d59e014eab56996 +SIZE (PyLucene-src-2.0.0-3.tar.gz) = 4167624 diff --git a/textproc/py-lucene/pkg-descr b/textproc/py-lucene/pkg-descr new file mode 100644 index 000000000000..5792b3ca2d0b --- /dev/null +++ b/textproc/py-lucene/pkg-descr @@ -0,0 +1,6 @@ +PyLucene is a GCJ-compiled version of Java Lucene integrated with Python. +Its goal is to allow you to use Lucene's text indexing and searching +capabilities from Python. It is designed to be API compatible with the +latest version of Java Lucene. + +WWW: http://pylucene.osafoundation.org/ diff --git a/textproc/py-lucene/pkg-plist b/textproc/py-lucene/pkg-plist new file mode 100644 index 000000000000..534e7191055c --- /dev/null +++ b/textproc/py-lucene/pkg-plist @@ -0,0 +1,7 @@ +lib/python2.4/site-packages/README +lib/python2.4/site-packages/PyLucene.py +lib/python2.4/site-packages/_PyLucene.so +lib/python2.4/site-packages/security/classpath.security +lib/python2.4/site-packages/security/libgcj.security +@dirrm lib/python2.4/site-packages/security +@dirrm lib/python2.4/site-packages |