2001-10-13 12:04:40 +02:00
|
|
|
# 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
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 5
|
2001-10-13 12:04:40 +02:00
|
|
|
CATEGORIES= databases ruby
|
|
|
|
MASTER_SITES= ftp://ftp.tietew.jp/pub/ruby/
|
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
2009-06-16 17:53:25 +02:00
|
|
|
MAINTAINER= ruby@FreeBSD.org
|
2003-02-18 05:37:40 +01:00
|
|
|
COMMENT= Ruby library which wraps libnmz of Namazu
|
2001-10-13 12:04:40 +02:00
|
|
|
|
2011-07-04 03:30:57 +02:00
|
|
|
DEPRECATED= Doesn't work with Ruby 1.9
|
|
|
|
EXPIRATION_DATE= 2011-08-03
|
|
|
|
|
2008-03-26 09:30:14 +01:00
|
|
|
LIB_DEPENDS= nmz.8:${PORTSDIR}/japanese/namazu2
|
2001-10-13 12:04:40 +02:00
|
|
|
|
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
|
|
|
|
INSTALL_TARGET= site-install
|
|
|
|
|
2002-12-06 18:17:38 +01:00
|
|
|
RUBY_RD_FILES= search-namazu.en.rd search-namazu.ja.rd
|
|
|
|
DOCS_EN= ${RUBY_RD_FILES:M*.en.rd} \
|
|
|
|
${RUBY_RD_HTML_FILES:M*.en.html}
|
|
|
|
DOCS_JA= ${RUBY_RD_FILES:M*.ja.rd} \
|
|
|
|
${RUBY_RD_HTML_FILES:M*.ja.html}
|
2001-10-13 12:04:40 +02:00
|
|
|
|
2003-12-08 06:46:02 +01:00
|
|
|
post-install: doc-install
|
2002-12-06 18:17:38 +01:00
|
|
|
|
|
|
|
doc-install:
|
2001-10-13 12:04:40 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-10-06 23:08:30 +02:00
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}/ja
|
2002-12-06 18:17:38 +01:00
|
|
|
.for f in ${DOCS_EN}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
|
|
|
.endfor
|
|
|
|
.for f in ${DOCS_JA}
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
|
|
|
|
.endfor
|
2001-10-13 12:04:40 +02:00
|
|
|
.endif
|
2003-12-08 06:46:02 +01:00
|
|
|
|
2011-04-10 20:18:09 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${RUBY_VER} == 1.9
|
|
|
|
BROKEN= does not build with ruby 1.9
|
|
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|