Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 May 2007 12:20:57 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org
Subject:   ports/113033: [NEW PORT] databases/xapian-bindings: Bindings allowing Xapian to be used from various other programming languages
Message-ID:  <20070526165418.2A5DC103D@netnews.NCTU.edu.tw>
Resent-Message-ID: <200705261700.l4QH0AuQ055827@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         113033
>Category:       ports
>Synopsis:       [NEW PORT] databases/xapian-bindings: Bindings allowing Xapian to be used from various other programming languages
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 26 17:00:09 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.2-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Sat Apr 28 00:53:10 CST 2007
>Description:
SWIG and JNI bindings allowing Xapian to be used from various other
programming languages.

WWW:	http://www.xapian.org/

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- xapian-bindings-1.0.0.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	xapian-bindings
#	xapian-bindings/pkg-descr
#	xapian-bindings/Makefile
#	xapian-bindings/pkg-plist
#	xapian-bindings/distinfo
#
echo c - xapian-bindings
mkdir -p xapian-bindings > /dev/null 2>&1
echo x - xapian-bindings/pkg-descr
sed 's/^X//' >xapian-bindings/pkg-descr << 'END-of-xapian-bindings/pkg-descr'
XSWIG and JNI bindings allowing Xapian to be used from various other
Xprogramming languages.
X
XWWW:	http://www.xapian.org/
END-of-xapian-bindings/pkg-descr
echo x - xapian-bindings/Makefile
sed 's/^X//' >xapian-bindings/Makefile << 'END-of-xapian-bindings/Makefile'
X# New ports collection makefile for:	xapian-bindings
X# Date created:		2007-05-26
X# Whom:			Gea-Suan Lin <gslin@gslin.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	xapian-bindings
XPORTVERSION=	1.0.0
XCATEGORIES=	databases java
XMASTER_SITES=	http://www.oligarchy.co.uk/xapian/${PORTVERSION}/
X
XMAINTAINER=	gslin@gslin.org
XCOMMENT=	Bindings allowing Xapian to be used from various other programming languages
X
XRUN_DEPENDS=	xapian-core>=1.0.0:${PORTSDIR}/databases/xapian-core
XBUILD_DEPENDS=	${RUN_DEPENDS}
X
XCONFIGURE_ARGS=	--without-csharp --without-java --without-ruby --without-tcl
XGNU_CONFIGURE=	yes
X
XOPTIONS=	PHP "Enable PHP binding" on \
X		PYTHON "Enable Python binding" off
X
X.include <bsd.port.pre.mk>
X
X.ifdef(WITHOUT_PHP)
XCONFIGURE_ARGS+=	--without-php
XPLIST_SUB+=	BINDING_PHP="@comment "
X.else
XCONFIGURE_ARGS+=	--with-php
XPLIST_SUB+=	BINDING_PHP=""
XUSE_PHP=	yes
X.endif
X
X.ifdef(WITH_PYTHON)
XCONFIGURE_ARGS+=	--with-python
XPLIST_SUB+=	BINDING_PYTHON=""
XUSE_PYTHON=	yes
X.else
XCONFIGURE_ARGS+=	--without-python
XPLIST_SUB+=	BINDING_PYTHON="@comment "
X.endif
X
Xpost-install:
X.ifdef(NOPORTDOCS)
X	${RM} -fr ${DOCSDIR}
X.endif
X
X.include <bsd.port.post.mk>
END-of-xapian-bindings/Makefile
echo x - xapian-bindings/pkg-plist
sed 's/^X//' >xapian-bindings/pkg-plist << 'END-of-xapian-bindings/pkg-plist'
X@comment $FreeBSD$
X%%BINDING_PHP%%%%PORTDOCS%%%%DOCSDIR%%/php/bindings.html
X%%BINDING_PHP%%%%PORTDOCS%%%%DOCSDIR%%/php/examples/simpleexpand.php4
X%%BINDING_PHP%%%%PORTDOCS%%%%DOCSDIR%%/php/examples/simpleexpand.php5
X%%BINDING_PHP%%%%PORTDOCS%%%%DOCSDIR%%/php/examples/simpleindex.php4
X%%BINDING_PHP%%%%PORTDOCS%%%%DOCSDIR%%/php/examples/simpleindex.php5
X%%BINDING_PHP%%%%PORTDOCS%%%%DOCSDIR%%/php/examples/simplesearch.php4
X%%BINDING_PHP%%%%PORTDOCS%%%%DOCSDIR%%/php/examples/simplesearch.php5
X%%BINDING_PHP%%lib/php/%%PHP_EXT_DIR%%/xapian.so
X%%BINDING_PYTHON%%%%PORTDOCS%%%%DOCSDIR%%/python/bindings.html
X%%BINDING_PYTHON%%%%PORTDOCS%%%%DOCSDIR%%/python/examples/simpleexpand.py
X%%BINDING_PYTHON%%%%PORTDOCS%%%%DOCSDIR%%/python/examples/simpleindex.py
X%%BINDING_PYTHON%%%%PORTDOCS%%%%DOCSDIR%%/python/examples/simplematchdecider.py
X%%BINDING_PYTHON%%%%PORTDOCS%%%%DOCSDIR%%/python/examples/simplesearch.py
X%%BINDING_PYTHON%%%%PYTHON_SITELIBDIR%%/xapian.py
X%%BINDING_PYTHON%%%%PYTHON_SITELIBDIR%%/xapian.pyc
X%%BINDING_PYTHON%%%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/python/examples
X%%BINDING_PYTHON%%%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/python
X%%BINDING_PHP%%%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/php/examples
X%%BINDING_PHP%%%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/php
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-xapian-bindings/pkg-plist
echo x - xapian-bindings/distinfo
sed 's/^X//' >xapian-bindings/distinfo << 'END-of-xapian-bindings/distinfo'
XMD5 (xapian-bindings-1.0.0.tar.gz) = 422b65976fd33374d66b688c1bc657fa
XSHA256 (xapian-bindings-1.0.0.tar.gz) = 627df294f4e025ed3352fe0213f0eb0b07f779c7a624564c00a0105924e4cf83
XSIZE (xapian-bindings-1.0.0.tar.gz) = 926449
END-of-xapian-bindings/distinfo
exit
--- xapian-bindings-1.0.0.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070526165418.2A5DC103D>