Files

56 lines
1.8 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 github 1.0
PortGroup python 1.0
PortGroup select 1.0
github.setup nyergler hieroglyph 2.1.0 hieroglyph-
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision 0
name py-hieroglyph
categories-append textproc devel
license BSD
maintainers nomaintainer
description Sphinx slide generator
long_description \
Generate HTML presentations from plain text sources with all the power of Sphinx.
supported_archs noarch
platforms {darwin any}
checksums rmd160 fa94e91b4d58b65dff535a73ae36c64faefd7f0e \
sha256 e62e07144d23571f4cc9e5e8be4d502555f7a14785686d1e5d4fd5a0a531b28d \
size 2113366
python.versions 310
if {$subport ne $name} {
depends_lib-append \
port:py${python.version}-setuptools \
port:py${python.version}-six \
port:py${python.version}-sphinx
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.rst NEWS.txt \
LICENSE ${destroot}${docdir}
}
depends_run-append \
port:hieroglyph_select
select.group hieroglyph
select.file ${filespath}/py${python.version}-hieroglyph
notes "
To make the Python ${python.branch} version of Hierogplyh the one that is run when\
you execute the commands without a version suffix, e.g. 'hierogplyh-build', run:
port select --set ${select.group} [file tail ${select.file}]
"
}