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

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

Change gplghostscript dependency to ghostscript and get rid of
-rpath flag on linking.

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