mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
46 lines
1.7 KiB
Tcl
46 lines
1.7 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
|
||
|
||
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 Inkscape’s \
|
||
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"
|
||
}
|