blob: 3089064d0675dc429743844f6f0abaacb0e3ad07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# 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= 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.6:${PORTSDIR}/japanese/namazu2
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
USE_RUBY_RDTOOL= yes
INSTALL_TARGET= site-install
post-build:
.if !defined(NOPORTDOCS)
cd ${WRKSRC}; ${RUBY_RD2} search-namazu.en.rd > search-namazu.en.html
cd ${WRKSRC}; ${RUBY_RD2} search-namazu.ja.rd > search-namazu.ja.html
.endif
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}/ja
${INSTALL_DATA} ${WRKSRC}/search-namazu.en.* ${RUBY_MODDOCDIR}/
${INSTALL_DATA} ${WRKSRC}/search-namazu.ja.* ${RUBY_MODDOCDIR}/ja/
.endif
.include <bsd.port.mk>
|