Ticket #15427: Portfile

File Portfile, 2.0 KB (added by simon@…, 16 years ago)
Line 
1# $Id: Portfile 36 2008-05-24 12:57:58Z hisi $
2
3PortSystem          1.0
4
5name                KeyJnote
6version             0.10.2
7revision            2
8categories          graphics
9maintainers         hitzemann.org:simon
10description         KeyJnote is a program that displays presentation slides.
11long_description    \
12   KeyJnote is a program that displays presentation slides. But unlike \
13   OpenOffice.org Impress or other similar applications, it does so with \
14   style. Smooth alpha-blended slide transitions are provided for the \
15   sake of eye candy, but in addition to this, KeyJnote offers some unique \
16   tools that are really useful for presentations. Read below if you want \
17   to know more about these features.
18homepage            http://keyjnote.sourceforge.net
19platforms           darwin
20master_sites        sourceforge:keyjnote
21checksums           md5 b6bd8a552b6949ad2041deb9e126c6ad \
22                    sha1 fe49266e818655984c7d34d459098f3db9c244ae \
23                    rmd160 41f9afd5ed045edbcc39e7268c72b5b9c119e70f
24
25use_configure       no
26
27depends_lib         port:py25-opengl \
28                    port:py25-game \
29                    port:xpdf \
30                    port:ghostscript \
31                    port:pdftk
32
33variant no_xpdf \
34conflicts no_ghostscript \
35description "Removes dependencies on xpdf (Not recommended)" {
36                    depends_lib-delete port:xpdf
37}
38
39variant no_ghostscript \
40conflicts no_xpdf \
41description "Removes dependencies on ghostscript" {
42                    depends_lib-delete port:ghostscript
43}
44
45variant no_pdftk \
46description "Removes dependencies on pdftk (not recommended)" {
47                    depends_lib-delete port:pdftk
48}
49
50build {
51}
52
53post-build {
54                    reinplace "s|#!/usr/bin/env python|#!${prefix}/bin/python2.5|g" ${worksrcpath}/keyjnote.py
55           }
56
57destroot {
58                    xinstall -m 755 -d ${destroot}/bin
59                    xinstall -m 755 ${worksrcpath}/keyjnote.py ${destroot}${prefix}/bin/keyjnote
60}