diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-10-13 10:04:40 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-10-13 10:04:40 +0000 |
commit | db8f9f77f0126e12fb803a983495dcd2a5033050 (patch) | |
tree | c3216be6552c5ceb8c7e885351cab47cc7f89fb5 /databases | |
parent | Properly record the libintl dependency in libnmz. (diff) |
Add ruby-search-namazu, a Ruby library which wraps libnmz of Namazu.
Notes
Notes:
svn path=/head/; revision=48731
Diffstat (limited to 'databases')
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/ruby-search-namazu/Makefile | 40 | ||||
-rw-r--r-- | databases/ruby-search-namazu/distinfo | 1 | ||||
-rw-r--r-- | databases/ruby-search-namazu/pkg-comment | 1 | ||||
-rw-r--r-- | databases/ruby-search-namazu/pkg-descr | 5 | ||||
-rw-r--r-- | databases/ruby-search-namazu/pkg-plist | 8 |
6 files changed, 56 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 234227a8bb6c..8353cfbd49f0 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -102,6 +102,7 @@ SUBDIR += ruby-odbc SUBDIR += ruby-postgres SUBDIR += ruby-rdbc1 + SUBDIR += ruby-search-namazu SUBDIR += ruby-sqlrelay SUBDIR += sixpack SUBDIR += sqlite diff --git a/databases/ruby-search-namazu/Makefile b/databases/ruby-search-namazu/Makefile new file mode 100644 index 000000000000..850775862bd3 --- /dev/null +++ b/databases/ruby-search-namazu/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: Ruby-Search-Namazu +# Date created: 13 October 2001 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= search-namazu +PORTVERSION= 0.1 +CATEGORIES= databases ruby +MASTER_SITES= ftp://ftp.tietew.jp/pub/ruby/ +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +LIB_DEPENDS= nmz.5:${PORTSDIR}/japanese/namazu2 + +USE_RUBY= yes +USE_RUBY_EXTCONF= yes +.if !defined(NOPORTDOCS) +USE_RUBY_RD= yes +.endif + +INSTALL_TARGET= site-install + +post-build: +.if !defined(NOPORTDOCS) + cd ${WRKSRC} && ${RUBY_RD} search-namazu.en.rd > search-namazu.en.html + cd ${WRKSRC} && ${RUBY_RD} search-namazu.ja.rd > search-namazu.ja.html +.endif + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja + ${INSTALL_DATA} ${WRKSRC}/search-namazu.en.* ${RUBY_DOCDIR}/${PORTNAME}/ + ${INSTALL_DATA} ${WRKSRC}/search-namazu.ja.* ${RUBY_DOCDIR}/${PORTNAME}/ja/ +.endif + +.include <bsd.port.mk> diff --git a/databases/ruby-search-namazu/distinfo b/databases/ruby-search-namazu/distinfo new file mode 100644 index 000000000000..e7a83dd76d13 --- /dev/null +++ b/databases/ruby-search-namazu/distinfo @@ -0,0 +1 @@ +MD5 (ruby/search-namazu-0.1.tar.gz) = e2e5fa72f1ba7ade96c6e7557d03e088 diff --git a/databases/ruby-search-namazu/pkg-comment b/databases/ruby-search-namazu/pkg-comment new file mode 100644 index 000000000000..f2059cce176e --- /dev/null +++ b/databases/ruby-search-namazu/pkg-comment @@ -0,0 +1 @@ +Ruby library which wraps libnmz of Namazu diff --git a/databases/ruby-search-namazu/pkg-descr b/databases/ruby-search-namazu/pkg-descr new file mode 100644 index 000000000000..fe10299d62f6 --- /dev/null +++ b/databases/ruby-search-namazu/pkg-descr @@ -0,0 +1,5 @@ +This is an extension library for Ruby to use libnmz which is C library +of Namazu. + +Author: Tietew <tietew@tietew.net> +WWW: http://www.tietew.jp/ruby/search-namazu.en diff --git a/databases/ruby-search-namazu/pkg-plist b/databases/ruby-search-namazu/pkg-plist new file mode 100644 index 000000000000..a179bd4952db --- /dev/null +++ b/databases/ruby-search-namazu/pkg-plist @@ -0,0 +1,8 @@ +%%RUBY_SITEARCHLIBDIR%%/search/namazu.so +@dirrm %%RUBY_SITEARCHLIBDIR%%/search +%%PORTDOCS%%%%RUBY_DOCDIR%%/search-namazu/ja/search-namazu.ja.html +%%PORTDOCS%%%%RUBY_DOCDIR%%/search-namazu/ja/search-namazu.ja.rd +%%PORTDOCS%%%%RUBY_DOCDIR%%/search-namazu/search-namazu.en.html +%%PORTDOCS%%%%RUBY_DOCDIR%%/search-namazu/search-namazu.en.rd +%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/search-namazu/ja +%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/search-namazu |