# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup python 1.0
name impressive
version 0.12.0
revision 3
categories-append graphics
license GPL-2
maintainers nomaintainer
platforms darwin
supported_archs noarch
description Slide presentation tool
long_description Impressive is a program that displays presentation slides, but \
unlike OpenOffice.org Impress or other similar applications, \
it does so with style. Smooth alpha-blended slide transitions \
are provided for the sake of eye candy, but in addition to this, \
Impressive offers some unique tools that are really useful \
for presentations.
homepage http://impressive.sourceforge.net/
master_sites sourceforge:impressive
distname Impressive-${version}
checksums rmd160 4d9b016907b504b36836c7e4eb0754b15ba08828 \
sha256 7dc78de333e4a942036ba4bda53358799f493114f2f655b2ab2689b6fdc0587d \
size 209514
python.default_version 27
depends_lib-append port:py${python.version}-opengl \
port:py${python.version}-game \
path:${python.pkgd}/PIL:py${python.version}-Pillow
depends_run-append path:bin/ffmpeg:ffmpeg \
path:bin/pdftoppm:poppler \
port:ghostscript \
port:mupdf
post-patch {
reinplace "s|#!.*|#!${python.bin}|" \
${worksrcpath}/impressive.py
}
build {}
destroot {
xinstall -m 775 ${worksrcpath}/impressive.py \
${destroot}${prefix}/bin/impressive
xinstall -m 644 ${worksrcpath}/impressive.1 \
${destroot}${prefix}/share/man/man1
xinstall -m 664 -W ${worksrcpath} \
license.txt \
changelog.txt \
impressive.html \
${destroot}${prefix}/share/doc/impressive
xinstall -m 664 ${worksrcpath}/demo.pdf \
${destroot}${prefix}/share/doc/impressive/examples
}
notes "
For a demo run:
\$ impressive ${prefix}/share/doc/impressive/examples/demo.pdf
"
livecheck.regex "Impressive/(\\d+(\\.\\d+)+)/"