1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/japanese/ruby-romkan/Makefile
Mark Linimon 34da9bdf57 With portmgr hat on, reset maintainership of knu's ports since he has
been inactive more than 6 months.  We hope to see him back sometime.
2005-11-11 01:18:01 +00:00

57 lines
1.2 KiB
Makefile

# Ports collection makefile for: Ruby/Romkan
# Date created: 1 May 2001
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= romkan
PORTVERSION= 0.4
CATEGORIES= japanese converters ruby
MASTER_SITES= http://namazu.org/~satoru/ruby-romkan/
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= ports@FreeBSD.org
COMMENT= A Romaji <-> Kana conversion library for Ruby
USE_RUBY= yes
NO_BUILD= yes
EXAMPLES_JA= test.rb test.sh
RUBY_RD_FILES= romkan.en.rd romkan.ja.rd
DOCS_EN= ChangeLog \
${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}
.include <bsd.port.pre.mk>
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/romkan.rb ${RUBY_SITELIBDIR}/
post-install: doc-install
.include <bsd.port.post.mk>
doc-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}/ja
.for f in ${EXAMPLES_JA}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/ja/
.endfor
${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