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

Last change on this file since 20293 was 20293, checked in by blair@…, 14 years ago

Set the svn:keywords property to 'Id' for all Portfile's. This
re-enables the Id keyword substitution that was present in the CVS
repository.

See this thread for more information:
http://lists.macosforge.org/pipermail/macports-dev/2006-October/000180.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
Line 
1# $Id: Portfile 20293 2006-11-01 17:47:33Z blair@macports.org $
2
3PortSystem 1.0
4name            TeXmacs
5version         1.0.6.2
6distname        ${distname}-src
7categories      editors
8maintainers     gwright@opendarwin.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 9f38c2a547b9508b7b263eaf12b2ed97 \
47                ${name}-600dpi-fonts.tar.gz   md5 945dfd3f76b20082aeea8131d87a260f
48
49depends_build   port:guile              \
50                port:teTeX
51depends_lib     lib:libX11.6:XFree86    \
52                port:libiconv
53depends_run     bin:gs:gplghostscript
54
55extract.only    ${name}-${version}-src${extract.suffix}
56
57platform darwin 6 {
58                    depends_lib-append  lib:libdl:dlcompat
59                }
60
61configure.env   LDFLAGS="-L${prefix}/lib"       \
62                CFLAGS="-no-cpp-precomp"
63
64# TeXmacs is ignorant of "make all", so we just "make" with no target:
65build.target    { }
66
67post-destroot   { file mkdir ${destroot}/${prefix}/share/${name}
68                  cd         ${destroot}/${prefix}/share/${name}
69
70                  system "${extract.cmd} ${extract.pre_args} ${distpath}/${name}-600dpi-fonts${extract.suffix} ${extract.post_args}"
71
72                  cd         ${destroot}/${prefix}/share/
73                  system "chown -R root:admin ${name}"
74                }
75
Note: See TracBrowser for help on using the repository browser.