2008-10-23 14:23:34 +02:00
|
|
|
# $NetBSD: Makefile,v 1.11 2008/10/23 12:23:34 obache Exp $
|
2007-06-04 06:13:52 +02:00
|
|
|
#
|
|
|
|
|
2008-10-23 14:23:34 +02:00
|
|
|
DISTNAME= rabbit-0.5.8
|
2007-06-04 06:13:52 +02:00
|
|
|
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
|
|
|
|
CATEGORIES= graphics ruby
|
|
|
|
MASTER_SITES= http://www.cozmixng.org/~kou/download/
|
|
|
|
|
|
|
|
MAINTAINER= obache@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.cozmixng.org/~rwiki/?cmd=view;name=Rabbit
|
|
|
|
COMMENT= Application to do presentation with RD document
|
|
|
|
|
2008-03-01 13:08:44 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2007-06-04 06:13:52 +02:00
|
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gtk>=0.16.0:../../x11/ruby-gnome2-gtk
|
|
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-rdtool>=0.6.20:../../textproc/ruby-rdtool
|
2008-03-11 16:56:10 +01:00
|
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-rttool>=1.0.2:../../textproc/ruby-rttool
|
2008-10-23 14:23:34 +02:00
|
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-net-irc>=0.0.5:../../chat/ruby-net-irc
|
2007-06-04 06:13:52 +02:00
|
|
|
|
|
|
|
USE_RUBY_SETUP= yes
|
|
|
|
REPLACE_RUBY= bin/rabbit bin/rabbit-theme-manager bin/rabrick
|
2008-03-11 16:56:10 +01:00
|
|
|
|
2008-06-19 17:16:28 +02:00
|
|
|
CONFIGURE_ARGS+= --siteruby=${PREFIX}/${RUBY_VENDORLIB_BASE} \
|
|
|
|
--siterubyver=${PREFIX}/${RUBY_VENDORLIB} \
|
|
|
|
--siterubyverarch=${PREFIX}/${RUBY_VENDORARCHLIB}
|
2008-03-01 13:08:44 +01:00
|
|
|
|
|
|
|
post-install:
|
2008-06-19 17:16:28 +02:00
|
|
|
rm -f ${DESTDIR}${PREFIX}/bin/rabbit.bat
|
2007-06-04 06:13:52 +02:00
|
|
|
|
|
|
|
do-test:
|
2007-12-15 15:10:29 +01:00
|
|
|
cd ${WRKSRC} && ${RUBY} test/run-test.rb
|
2007-06-04 06:13:52 +02:00
|
|
|
|
|
|
|
.include "../../lang/ruby/modules.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|