source: trunk/dports/editors/TeXmacs/Portfile @ 124250

Last change on this file since 124250 was 124250, checked in by khindenburg@…, 5 years ago

TeXmacs: fix livecheck - patch from #43407

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.0 KB
Line 
1# $Id: Portfile 124250 2014-08-21 20:08:17Z khindenburg@macports.org $
2
3PortSystem 1.0
4
5name            TeXmacs
6conflicts       fig2ps
7version         1.0.7.10
8distname        ${distname}-src
9categories      editors
10maintainers     nomaintainer
11platforms       darwin
12
13description     GNU TeXmacs: A Scientific Text Editor
14long_description        \
15                GNU TeXmacs is a free scientific text editor,           \
16                which was both inspired by TeX and GNU Emacs.           \
17                The editor allows you to write structured documents     \
18                via a wysiwyg (what-you-see-is-what-you-get) and        \
19                user friendly interface. New styles may be created by   \
20                the user. The program implements high-quality           \
21                typesetting algorithms and TeX fonts, which help you    \
22                to produce professionally looking documents.            \
23                                                                        \
24                The high typesetting quality still goes through for     \
25                automatically generated formulas, which makes TeXmacs   \
26                suitable as an interface for computer algebra systems.  \
27                TeXmacs also supports the Guile/Scheme extension        \
28                language, so that you may customize the interface and   \
29                write your own extensions to the editor.
30
31#user_notes     If texmacs can't find guile's modules, you will have to \
32#               set GUILE_LOAD_PATH explicitly (usually                 \
33#               ${prefix}/share/guile/1.8).                             \
34#                                                                       \
35#               Also, you may need to set DISPLAY to localhost:0.0 if   \
36#               launching TeXmacs from a non-X11 terminal.
37
38#bugs           Some of the computer algebra system sessions (e.g.,     \
39#               maxima) will hang if you try to use the online help     \
40#               function.
41
42homepage        http://www.texmacs.org/
43master_sites    ftp://ftp.texmacs.org/pub/${name}/targz/:source \
44                ftp://ftp.texmacs.org/pub/${name}/fonts/:fonts
45
46distfiles       ${name}-${version}-src${extract.suffix}:source \
47                ${name}-extra-fonts-1.0-noarch${extract.suffix}:fonts
48
49checksums       ${name}-${version}-src.tar.gz \
50                md5     ad1ba010be2d7149f25be43178728bbf \
51                sha1    12491496e68b62aa07369748770771a8c2378129 \
52                rmd160  972d225bc2ce8836de02d7312b822ed6d248e91a \
53                ${name}-extra-fonts-1.0-noarch.tar.gz \
54                md5     4666d29252da18bbc3fa7e162bb00b17 \
55                sha1    c7a1af56b1af4c18c0792cec69330bd6daea002b \
56                rmd160  ae539c873f16463a3c19fcaf69fd338a1eadd7ce
57
58patchfiles      patch-Makefile.9.diff \
59            patch-configure.in.diff
60
61depends_lib     port:guile              \
62                port:libiconv           \
63                port:texlive            \
64                port:xorg-libXext       \
65                port:freetype
66depends_run     bin:gs:ghostscript
67
68extract.only    ${name}-${version}-src${extract.suffix}
69
70post-extract    { system "${extract.cmd} ${extract.pre_args} ${distpath}/${name}-extra-fonts-1.0-noarch${extract.suffix} ${extract.post_args} -C ${worksrcpath}/${name}"
71                }
72
73use_autoconf    yes
74configure.args  --mandir=${prefix}/share/man
75
76# TeXmacs is ignorant of "make all", so we just "make" with no target:
77build.target    { }
78
79post-destroot   { file mkdir ${destroot}${prefix}/share/${name}
80                  system "chown -R root:admin ${destroot}${prefix}/share/${name}"
81
82                  file rename ${destroot}${prefix}/share/${name}/plugins/cadabra \
83                              ${destroot}${prefix}/share/${name}/plugins/cadabra.texmacs
84                }
85
86livecheck.type  regex
87livecheck.url   ${homepage}tmweb/download/sources.en.html
88livecheck.regex /${name}-(\[0-9.\]+)-src${extract.suffix}">latest stable version
89
Note: See TracBrowser for help on using the repository browser.