mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
34da9bdf57
been inactive more than 6 months. We hope to see him back sometime.
46 lines
1.0 KiB
Makefile
46 lines
1.0 KiB
Makefile
# 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
|
|
PORTREVISION= 3
|
|
CATEGORIES= databases ruby
|
|
MASTER_SITES= ftp://ftp.tietew.jp/pub/ruby/
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Ruby library which wraps libnmz of Namazu
|
|
|
|
LIB_DEPENDS= nmz.7:${PORTSDIR}/japanese/namazu2
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
INSTALL_TARGET= site-install
|
|
|
|
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}
|
|
|
|
post-install: doc-install
|
|
|
|
doc-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${RUBY_MODDOCDIR}/ja
|
|
.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
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|