pkgsrc/graphics/rabbit/Makefile
obache e02d90091c Update rabbit to 0.5.9.
== Changes 0.5.9 from 0.5.8: 2009-02-09

  * Improvements
    * HTML output: supported link to PDF.
    * added rabbit-command command line tool to control Rabbit.
    * supported reflected image effect (requested by kdmsnr)

      Example:
        http://www.clear-code.com/archives/SendaiRubyKaigi01/love-and-continue-it-104.html
        http://www.clear-code.com/archives/SendaiRubyKaigi01/love-and-continue-it-085.html

      How to write:
        # image
        # src = XXX.jpg
        # relative_height = 80
        # reflect_ratio = 0.5

  * Theme
    * New themes
      * pdf-tortoise-and-hare:
        uses tortoise and hare timer when PDF viewer
        mode. Allotted time is specified by
        RABBIT_ALLOTTED_TIME environment variable.

        Example:
          % RABBIT_ALLOTTED_TIME=4.5m rabbit --theme pdf-tortoise-and-hare XXX.pdf
      * lightning-clear-blue:
        uses large character slides in bluish clear-blue theme.
      * title-on-image-toolkit:
        superimposes title on image.

        Example:
          http://www.clear-code.com/archives/SendaiRubyKaigi01/love-and-continue-it-036.html

        How to use:
          In slide:
            = Users Group

              # image
              # src = shocker.jpg
              # relative_height = 90

          In theme:
            include_theme("title-on-image-toolkit")

            match(Slide) do |slides|
              slides.each do |slide|
                slide.title_on_image if slide.title_on_image?
              end
            end

  * Bug fixes
    * fixed wrong Wiki format detection.
2009-02-09 08:33:32 +00:00

34 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.12 2009/02/09 08:33:32 obache Exp $
#
DISTNAME= rabbit-0.5.9
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
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gtk>=0.16.0:../../x11/ruby-gnome2-gtk
DEPENDS+= ${RUBY_PKGPREFIX}-rdtool>=0.6.20:../../textproc/ruby-rdtool
DEPENDS+= ${RUBY_PKGPREFIX}-rttool>=1.0.2:../../textproc/ruby-rttool
DEPENDS+= ${RUBY_PKGPREFIX}-net-irc>=0.0.5:../../chat/ruby-net-irc
USE_RUBY_SETUP= yes
REPLACE_RUBY= bin/rabbit bin/rabbit-theme-manager bin/rabrick
CONFIGURE_ARGS+= --siteruby=${PREFIX}/${RUBY_VENDORLIB_BASE} \
--siterubyver=${PREFIX}/${RUBY_VENDORLIB} \
--siterubyverarch=${PREFIX}/${RUBY_VENDORARCHLIB}
post-install:
rm -f ${DESTDIR}${PREFIX}/bin/rabbit.bat
do-test:
cd ${WRKSRC} && ${RUBY} test/run-test.rb
.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"