1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/irc/ruby-irc/Makefile

51 lines
1.4 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: Ruby/IRC
# Date created: 19 Jan 2001
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= irc
PORTVERSION= 0.14
CATEGORIES= irc ruby
MASTER_SITES= http://ibiblio.lsu.edu/main/pub/languages/ruby/contrib/ \
ftp://ftp.tms.ru/pub/ruby/libraries/irc/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= ports@FreeBSD.org
2003-02-18 05:20:09 +00:00
COMMENT= IRC client framework for Ruby
USE_RUBY= yes
NO_BUILD= yes
DOCS_EN= BUGS ChangeLog MANIFEST \
NEWS README TODO
DOCS_JA= MEMO.ja README.ja doc.ja/*
do-install:
${INSTALL_DATA} ${WRKSRC}/localize.rb ${RUBY_SITELIBDIR}
${MKDIR} ${RUBY_SITELIBDIR}/irc
${INSTALL_DATA} ${WRKSRC}/irc/*.rb ${RUBY_SITELIBDIR}/irc/
.if !defined(NOPORTDOCS)
2002-10-06 21:38:34 +00:00
${MKDIR} ${RUBY_MODDOCDIR}/ja
.for f in ${DOCS_EN}
2002-10-06 21:38:34 +00:00
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.for f in ${DOCS_JA}
2002-10-06 21:38:34 +00:00
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
.endfor
2002-10-06 21:38:34 +00:00
${MKDIR} ${RUBY_MODEXAMPLESDIR}/cpi
${MKDIR} ${RUBY_MODEXAMPLESDIR}/ja/cpi
${INSTALL_DATA} ${WRKSRC}/cpi/*.cpi ${RUBY_MODEXAMPLESDIR}/cpi/
${INSTALL_DATA} ${WRKSRC}/cpi.ja/*.cpi ${RUBY_MODEXAMPLESDIR}/ja/cpi/
${INSTALL_DATA} ${WRKSRC}/bot.rb ${RUBY_MODEXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/bot.ja.rb ${RUBY_MODEXAMPLESDIR}/ja/bot.rb
${MKDIR} ${RUBY_MODEXAMPLESDIR}/log
${MKDIR} ${RUBY_MODEXAMPLESDIR}/ja/log
.endif
.include <bsd.port.mk>