diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-08-10 09:15:42 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-08-10 09:15:42 +0000 |
commit | c301a34f24386d71f55689751024c05cda3f4557 (patch) | |
tree | 2027c5e2a9610330d1ce1645d7465c120a0c1163 | |
parent | build fix for amd64. (diff) |
- Ferret is a high-performance, full-featured text search engine library written for Ruby.
Notes
Notes:
svn path=/head/; revision=170265
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/rubygem-ferret/Makefile | 31 | ||||
-rw-r--r-- | textproc/rubygem-ferret/distinfo | 3 | ||||
-rw-r--r-- | textproc/rubygem-ferret/pkg-descr | 7 | ||||
-rw-r--r-- | textproc/rubygem-ferret/pkg-plist | 2 |
5 files changed, 44 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 47998461f687..c6b841d40c17 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -793,6 +793,7 @@ SUBDIR += ruby-xmlscan-old SUBDIR += ruby-xslt SUBDIR += ruby-xtemplate + SUBDIR += rubygem-ferret SUBDIR += rubygem-syntax SUBDIR += rw-aspell SUBDIR += rxp diff --git a/textproc/rubygem-ferret/Makefile b/textproc/rubygem-ferret/Makefile new file mode 100644 index 000000000000..40670fbdf450 --- /dev/null +++ b/textproc/rubygem-ferret/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: ferret +# Date created: 2006-08-10 +# Whom: Cheng-Lung Sung <clsung@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= ferret +PORTVERSION= 0.9.5 +CATEGORIES= textproc rubygems +MASTER_SITES= ${MASTER_SITE_RUBYFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= clsung@FreeBSD.org +COMMENT= Ferret is a ruby port of Lucene + +USE_RUBY= yes + +post-install: + @${FIND} ${PREFIX}/${GEM_LIB_DIR} ! -type d | \ + ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST} + @${FIND} ${PREFIX}/${GEM_LIB_DIR} -type d | ${SORT} -r | \ + ${SED} "s,^${PREFIX}/,@dirrm ," >> ${TMPPLIST} + @${FIND} ${PREFIX}/${GEM_DOC_DIR} ! -type d | \ + ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST} + @${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d | ${SORT} -r | \ + ${SED} "s,^${PREFIX}/,@dirrm ," >> ${TMPPLIST} + +.include <bsd.port.pre.mk> +.include "${PORTSDIR}/devel/ruby-gems/Makefile.common" +.include <bsd.port.post.mk> diff --git a/textproc/rubygem-ferret/distinfo b/textproc/rubygem-ferret/distinfo new file mode 100644 index 000000000000..a958723943dc --- /dev/null +++ b/textproc/rubygem-ferret/distinfo @@ -0,0 +1,3 @@ +MD5 (rubygem/ferret-0.9.5.gem) = 43570e4a176e238f741d2cf165b2a177 +SHA256 (rubygem/ferret-0.9.5.gem) = 74ea2271d2e16bd6f11342ae7c0c8cae3e1be2f4db34811eb6c79ff7e0a66730 +SIZE (rubygem/ferret-0.9.5.gem) = 532992 diff --git a/textproc/rubygem-ferret/pkg-descr b/textproc/rubygem-ferret/pkg-descr new file mode 100644 index 000000000000..aeed239dd269 --- /dev/null +++ b/textproc/rubygem-ferret/pkg-descr @@ -0,0 +1,7 @@ +Ferret is a high-performance, full-featured text search engine +library written for Ruby. It is a full port of the +Apache Lucene Java project. + +There is a pure Ruby version included. + +WWW: http://ferret.davebalmain.com/ diff --git a/textproc/rubygem-ferret/pkg-plist b/textproc/rubygem-ferret/pkg-plist new file mode 100644 index 000000000000..cfbb7346180f --- /dev/null +++ b/textproc/rubygem-ferret/pkg-plist @@ -0,0 +1,2 @@ +%%GEM_CACHE%% +%%GEM_SPEC%% |