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/ruby-search-namazu/Makefile | |
parent | 2cf6d574a7b0d98938cb230ba07e8a23628346f8 (diff) | |
download | ports-db8f9f77f0126e12fb803a983495dcd2a5033050.tar.gz ports-db8f9f77f0126e12fb803a983495dcd2a5033050.zip |
Notes
Diffstat (limited to 'databases/ruby-search-namazu/Makefile')
-rw-r--r-- | databases/ruby-search-namazu/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
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> |