blob: d4798f870ddb10f86d733b5e313efd7b95c600bb (
plain) (
blame)
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
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>
|