Files
2020-10-01 15:38:51 -07:00

71 lines
2.3 KiB
Tcl

# -*- 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.1
revision 0
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 15cd3ec85a8e64b622ded68ecc9ebd31feab6824 \
sha256 74a331f41e39a363b362dcadf861e3a300351d5ad5cfe033b5d47215c886f1e4 \
size 210928
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+)+)/"