source: trunk/dports/graphics/inkscape-textext/Portfile

Last change on this file was 122111, checked in by devans@…, 3 years ago

inkscape-textext: allow either inkscape or inkscape-devel to satisfy dependency, maintainer update (#42980).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# -*- 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
2# $Id: Portfile 122111 2014-07-14 21:33:14Z ryandesign@macports.org $
3
4PortSystem              1.0
5
6name                    inkscape-textext
7version                 0.4.4
8revision                2
9categories              graphics tex
10maintainers             gmail.com:jjstickel
11license                 BSD
12platforms               darwin
13homepage                http://pav.iki.fi/software/textext/
14master_sites            ${homepage}
15distname                textext-${version}
16worksrcdir              ${name}
17supported_archs         noarch
18extract.mkdir           yes
19use_configure           no
20
21description             LaTeX typesetting in Inkscape
22
23long_description        Textext provides re-editable LaTeX objects to Inkscapes \
24                        repertoire.
25
26checksums               sha256  4d3d262efc8b199dff407b6d153c8822ac9b30d46357e0cdc191c2c0f5fea077 \
27                        rmd160  fcaf932207a5477562135b00be29445fc92e1caa
28                   
29depends_run             path:bin/inkscape:inkscape \
30                        port:pdf2svg \
31                        bin:pdflatex:texlive-latex
32
33variant python26 conflicts python27 description {Configure to use Python version 2.6} {}
34variant python27 conflicts python26 description {Configure to use Python version 2.7} {}
35
36if { ![variant_isset python26] } {
37        default_variants      +python27
38}
39if {[variant_isset python26]} {
40    set python.version 26
41} elseif {[variant_isset python27]} {
42    set python.version 27
43}
44
45variant tkinter description {use py-tkinter backend} {
46    depends_run-append  port:py${python.version}-tkinter
47}
48variant pygtk description {use py-gtk backend} {
49    depends_run-append  port:py${python.version}-pygtk
50}
51
52default_variants-append    +pygtk
53
54build {}
55
56destroot {
57    xinstall -d ${destroot}${prefix}/share/inkscape/extensions
58    xinstall -m 644 ${worksrcpath}/textext.inx ${destroot}${prefix}/share/inkscape/extensions/textext.inx
59    xinstall -m 755 ${worksrcpath}/textext.py ${destroot}${prefix}/share/inkscape/extensions/textext.py
60}
Note: See TracBrowser for help on using the repository browser.