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

Last change on this file since 21739 was 21739, checked in by gwright@…, 13 years ago

Version bump to 1.0.6.8. Also move cadabra plugin to cadabra.texmacs
directory, to avoid collision with the plugin from cadabra that installs
to the same place.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.7 KB
Line 
1# $Id: Portfile 21739 2007-02-04 22:10:56Z gwright@macports.org $
2
3PortSystem 1.0
4name            TeXmacs
5version         1.0.6.8
6distname        ${distname}-src
7categories      editors
8maintainers     gwright@macports.org
9platforms       darwin
10
11description     GNU TeXmacs: A Scientific Text Editor
12long_description        \
13                GNU TeXmacs is a free scientific text editor,           \
14                which was both inspired by TeX and GNU Emacs.           \
15                The editor allows you to write structured documents     \
16                via a wysiwyg (what-you-see-is-what-you-get) and        \
17                user friendly interface. New styles may be created by   \
18                the user. The program implements high-quality           \
19                typesetting algorithms and TeX fonts, which help you    \
20                to produce professionally looking documents.            \
21                                                                        \
22                The high typesetting quality still goes through for     \
23                automatically generated formulas, which makes TeXmacs   \
24                suitable as an interface for computer algebra systems.  \
25                TeXmacs also supports the Guile/Scheme extension        \
26                language, so that you may customize the interface and   \
27                write your own extensions to the editor.
28
29#user_notes     If texmacs can't find guile's modules, you will have to \
30#               set GUILE_LOAD_PATH explicitly (usually                 \
31#               /opt/local/share/guile/1.6).                            \
32#                                                                       \
33#               Also, don't forget to set DISPLAY to localhost:0.0 if   \
34#               launching TeXmacs from a non-X11 terminal.
35
36#bugs           Some of the computer algebra system sessions (e.g.,     \
37#               maxima) will hang if you try to use the online help     \
38#               function. A known issue that is being worked on.
39
40homepage        http://www.texmacs.org/
41master_sites    ftp://ftp.texmacs.org/pub/TeXmacs/targz/
42
43distfiles       ${name}-${version}-src${extract.suffix} \
44                ${name}-600dpi-fonts${extract.suffix}
45
46checksums       ${name}-${version}-src.tar.gz md5 eb279c5118ce13b0b2448dd589f4a79f \
47                ${name}-600dpi-fonts.tar.gz   md5 945dfd3f76b20082aeea8131d87a260f
48
49patchfiles      patch-configure
50
51depends_build   port:guile              \
52                port:teTeX
53depends_lib     lib:libX11.6:XFree86    \
54                port:libiconv
55depends_run     bin:gs:gplghostscript
56
57extract.only    ${name}-${version}-src${extract.suffix}
58
59platform darwin 6 {
60                    depends_lib-append  lib:libdl:dlcompat
61                }
62
63configure.env   LDFLAGS="-L${prefix}/lib"       \
64                CFLAGS="-no-cpp-precomp"
65
66# TeXmacs is ignorant of "make all", so we just "make" with no target:
67build.target    { }
68
69post-destroot   { file mkdir ${destroot}/${prefix}/share/${name}
70                  cd         ${destroot}/${prefix}/share/${name}
71
72                  system "${extract.cmd} ${extract.pre_args} ${distpath}/${name}-600dpi-fonts${extract.suffix} ${extract.post_args}"
73
74                  cd         ${destroot}/${prefix}/share/
75                  system "chown -R root:admin ${name}"
76
77                  file rename ${destroot}${prefix}/share/${name}/plugins/cadabra \
78                              ${destroot}${prefix}/share/${name}/plugins/cadabra.texmacs
79                }
80
Note: See TracBrowser for help on using the repository browser.