summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-09-15 09:55:17 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-09-15 09:55:17 +0000
commitfcc49964baa2184bb7cc7a6b9345f555d0e78e68 (patch)
treed7e37428eacb747fd4ad13d6f9e37d08fc56bf52 /www
parentComment out koi8-u stuff until it will be implemented properly, i.e. (diff)
Add ruby-mnogosearch, a Ruby binding to mnoGoSearch.
Notes
Notes: svn path=/head/; revision=66350
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/ruby-mnogosearch/Makefile37
-rw-r--r--www/ruby-mnogosearch/distinfo1
-rw-r--r--www/ruby-mnogosearch/files/patch-mnogo.c10
-rw-r--r--www/ruby-mnogosearch/pkg-comment1
-rw-r--r--www/ruby-mnogosearch/pkg-descr4
-rw-r--r--www/ruby-mnogosearch/pkg-plist11
7 files changed, 65 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 132e708d5831..59d1d677828b 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -355,6 +355,7 @@
SUBDIR += ruboard
SUBDIR += ruby-google
SUBDIR += ruby-http-access
+ SUBDIR += ruby-mnogosearch
SUBDIR += ruby-tmpl
SUBDIR += ruby-webrick
SUBDIR += ruby-webunit
diff --git a/www/ruby-mnogosearch/Makefile b/www/ruby-mnogosearch/Makefile
new file mode 100644
index 000000000000..affb945aaf3e
--- /dev/null
+++ b/www/ruby-mnogosearch/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: Ruby/mnoGoSearch
+# Date created: 15 September 2002
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mnogosearch
+PORTVERSION= 1.0.1
+CATEGORIES= www databases ruby
+MASTER_SITES= http://lrn.ru/~mouse/ruby/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME}-ruby-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+LIB_DEPENDS= udmsearch.1:${PORTSDIR}/www/mnogosearch
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+
+INSTALL_TARGET= site-install
+
+DOCS= README README.ru
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/test/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/www/ruby-mnogosearch/distinfo b/www/ruby-mnogosearch/distinfo
new file mode 100644
index 000000000000..5fb3d63617f3
--- /dev/null
+++ b/www/ruby-mnogosearch/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/mnogosearch-ruby-1.0.1.tar.gz) = e680b74ccd13b230f09303fac811dd89
diff --git a/www/ruby-mnogosearch/files/patch-mnogo.c b/www/ruby-mnogosearch/files/patch-mnogo.c
new file mode 100644
index 000000000000..8cd74a9ebdca
--- /dev/null
+++ b/www/ruby-mnogosearch/files/patch-mnogo.c
@@ -0,0 +1,10 @@
+--- mnogo.c.orig Sat Sep 14 03:00:19 2002
++++ mnogo.c Sun Sep 15 18:14:53 2002
+@@ -92,6 +92,7 @@
+ #define UDM_ISPELL_TYPE_DB 3
+ #define UDM_ISPELL_TYPE_SERVER 4
+
++#include <sys/types.h>
+ #include <udm_config.h>
+ #include <udmsearch.h>
+
diff --git a/www/ruby-mnogosearch/pkg-comment b/www/ruby-mnogosearch/pkg-comment
new file mode 100644
index 000000000000..ae3e045102e4
--- /dev/null
+++ b/www/ruby-mnogosearch/pkg-comment
@@ -0,0 +1 @@
+A Ruby binding to mnoGoSearch
diff --git a/www/ruby-mnogosearch/pkg-descr b/www/ruby-mnogosearch/pkg-descr
new file mode 100644
index 000000000000..1b1d419623be
--- /dev/null
+++ b/www/ruby-mnogosearch/pkg-descr
@@ -0,0 +1,4 @@
+Ruby/mnoGoSearch is a binding to mnoGoSearch.
+
+Author: Kachalov Anton <mouse@altlinux.ru>
+WWW: http://lrn.ru/~mouse/ruby/
diff --git a/www/ruby-mnogosearch/pkg-plist b/www/ruby-mnogosearch/pkg-plist
new file mode 100644
index 000000000000..da063cced339
--- /dev/null
+++ b/www/ruby-mnogosearch/pkg-plist
@@ -0,0 +1,11 @@
+%%RUBY_SITEARCHLIBDIR%%/mnogo.so
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/mnogosearch/example.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/mnogosearch/old.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/mnogosearch/test.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/mnogosearch/test.rhtml
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/mnogosearch/test.xsl
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/mnogosearch/testx.rb
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/mnogosearch
+%%PORTDOCS%%%%RUBY_DOCDIR%%/mnogosearch/README
+%%PORTDOCS%%%%RUBY_DOCDIR%%/mnogosearch/README.ru
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/mnogosearch