source: trunk/dports/textproc/pylize/Portfile

Last change on this file was 127253, checked in by larryv@…, 3 years ago

pylize: Switch from Python 2.6 to 2.7

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 127253 2014-10-24 05:02:34Z ryandesign@macports.org $
2
3PortSystem 1.0
4PortGroup python 1.0
5
6name                    pylize
7version                 1.3b
8revision                2
9categories              textproc python
10license                 GPL-2+
11platforms               darwin
12supported_archs noarch
13maintainers             nomaintainer
14description             pylize is a presentation generation tool
15long_description        pylize is a Python script that makes the creation of \
16                                on-screen presentations a matter of a few minutes. It \
17                                generates a template master document, which you can edit with \
18                                your favourite text or HTML editor. The master document is \
19                                then processed by pylize to generate HTML files for every \
20                                slide plus a file for the table of contents. You can view the \
21                                presentation with any CSS-capable webbrowser.
22
23homepage                http://www.chrisarndt.de/en/software/pylize/
24master_sites    ${homepage}/download/
25distname                pylize-${version}
26checksums               md5 ab88ef521602c826390fe919b6bc572e
27use_bzip2               yes
28
29python.default_version 27
30
31depends_run             port:py${python.version}-htmlgen port:py${python.version}-empy
32
33use_configure   yes
34configure.cmd   ${python.bin}
35configure.pre_args      configure.py
36configure.args  ${prefix}
37
38post-destroot   {
39        xinstall -m 644 -W ${worksrcpath} COPYING Changelog README TODO \
40                doc/all.html ${destroot}${prefix}/share/doc/${name}
41        foreach binfile [glob -tails -directory ${destroot}${python.prefix}/bin *] {
42                ln -s ${python.prefix}/bin/${binfile} \
43                        ${destroot}${prefix}/bin/${binfile}
44        }
45}
Note: See TracBrowser for help on using the repository browser.