pkgsrc/graphics/rabbit/Makefile
obache 7f9c59b344 Update rabbit to 0.6.5.
== Changes 0.6.4 from 0.6.5: 2010-07-31

  * Added Rabbiter that collects comments from Twitter.
    [OBATA Akio]
  * Supported
    ((<aafigure|URL:https://launchpad.net/aafigure>)).
    [Suggested by kdmsnr]

=== Improvements

  * Removed needless newlines from default PDF filename.
  * Worked with \r\n newline. [Reported by zunda]
  * Rabbitter: Added. It collects comments from Twitter.
    [OBATA Akio]
  * Supported aafigure. [suggested by kdmsnr]

==== Theme

  * clear-blue: Removed needless newlines from footer text.
  * per-slide-background-iamge:
    Supported "background-image-align: right" slide property.
    [Suggested by kdmsnr]

      = slide

      ...

      == properties

       : background-image
          lavie.png

       : background-image-relative-width
          30

       : background-image-align
          right

       : background-image-relative-margin-right
          3

  * Supported width parameter 'relative_width' as well as
    'relative-width'.

  * body-background-image: Added. It enables "align = right"
    image property:

      = title

        # image
        # src = lavie.png
        # relative-width = 30
        # align = right
        # relative-margin-right = -5

  * Enabled body-background-image and
    per-slide-background-image by default.

  * background-image-tookit: Added. It is a toolkit for
    shareing common processes in body-background-image and
    per-slide-background-image themes.

  * title-background-image:
    Supported customize by
    @title_background_image_properties. The same options for
    image element can be used.
    [Suggested by kdmsnr]

      @title_background_image_properties = {
        :align => :right,
        :as_large_as_possible => false,
        :relative_height => 75,
      }

    This shows image with the following layout:
        +-----------+
        |      +---+|
        |  title <- background image
        |      +---+|
        +-----------+

    A background image is showed in center and it is
    resized to as large as possible by default.

=== Fixes

  * Fixed comment view doesn't work.

=== Thanks

  * kdmsnr
  * zunda
  * OBATA Akio
2010-08-01 12:37:18 +00:00

35 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.22 2010/08/01 12:37:18 obache Exp $
#
DISTNAME= rabbit-0.6.5
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
LICENSE= ruby-license
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"