Files
Joshua Root 096c8690f6 graphics/*: set github.tarball_from explicitly
In preparation for changing the default.
2025-01-21 01:01:29 +11:00

46 lines
1.7 KiB
Tcl
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# -*- 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
github.setup textext textext 1.10.2
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
name inkscape-textext
revision 0
categories graphics tex
maintainers {gmail.com:jjstickel @jjstickel} openmaintainer
license BSD
platforms any
distname TexText-Inkscape-${version}
supported_archs noarch
use_configure no
description LaTeX typesetting in Inkscape
long_description Textext provides re-editable LaTeX objects to Inkscapes \
repertoire.
checksums sha256 afc3b5a4423b299e4a60f7e0403c5fe3ded54ce47cb999defb66273c2cc8663e \
rmd160 ef68b988c4e1bfdd6a25bf4dadb58312763a112a \
size 3556146
set python_minor 12
depends_lib port:py3${python_minor}-gobject3 \
port:gtksourceview3
depends_run path:bin/inkscape:inkscape \
bin:pdflatex:texlive-latex
build {}
destroot {
system -W ${worksrcpath} "python3.${python_minor} setup.py \
--inkscape-executable=${prefix}/bin/inkscape \
--inkscape-extensions=${destroot}${prefix}/share/inkscape/extensions \
--lualatex-executable=${prefix}/bin/lualatex \
--pdflatex-executable=${prefix}/bin/pdflatex"
}