Ignore:
Timestamp:
Sep 29, 2003, 6:32:44 PM (17 years ago)
Author:
gwright
Message:

Update to the stable version 1.0.2.
Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

Location:
trunk/dports/editors/TeXmacs
Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/editors/TeXmacs/Portfile

    r3173 r3567  
    1 # $Id: Portfile,v 1.2 2003/08/05 09:29:06 jkh Exp $
     1# $Id: Portfile,v 1.3 2003/09/29 18:32:39 gwright Exp $
    22
    33PortSystem 1.0
    44name            TeXmacs
    5 version         1.0.1.5
     5version         1.0.2
    66distname        ${distname}-src
    77categories      editors
     
    1010description     GNU TeXmacs: A Scientific Text Editor
    1111long_description        \
    12                 GNU TeXmacs is a free scientific text editor, \
    13                 which was both inspired by TeX and GNU Emacs. \
    14                 The editor allows you to write structured documents \
    15                 via a wysiwyg (what-you-see-is-what-you-get) and \
    16                 user friendly interface. New styles may be created by \
    17                 the user. The program implements high-quality \
    18                 typesetting algorithms and TeX fonts, which help you \
    19                 to produce professionally looking documents.  \
    20                                                                 \
    21                 The high typesetting quality still goes through for \
    22                 automatically generated formulas, which makes TeXmacs \
    23                 suitable as an interface for computer algebra systems. \
    24                 TeXmacs also supports the Guile/Scheme extension language, \
    25                 so that you may customize the interface and write your \
    26                 own extensions to the editor.
     12                GNU TeXmacs is a free scientific text editor,           \
     13                which was both inspired by TeX and GNU Emacs.           \
     14                The editor allows you to write structured documents     \
     15                via a wysiwyg (what-you-see-is-what-you-get) and        \
     16                user friendly interface. New styles may be created by   \
     17                the user. The program implements high-quality           \
     18                typesetting algorithms and TeX fonts, which help you    \
     19                to produce professionally looking documents.            \
     20                                                                        \
     21                The high typesetting quality still goes through for     \
     22                automatically generated formulas, which makes TeXmacs   \
     23                suitable as an interface for computer algebra systems.  \
     24                TeXmacs also supports the Guile/Scheme extension        \
     25                language, so that you may customize the interface and   \
     26                write your own extensions to the editor.
    2727
    2828#user_notes     If texmacs can't find guile's modules, you will have to \
    29 #               set GUILE_LOAD_PATH explicitly (usually /opt/local/share/guile/1.6). \
    30 #               Also, don't forget to set DISPLAY to localhost:0.0 if \
     29#               set GUILE_LOAD_PATH explicitly (usually                 \
     30#               /opt/local/share/guile/1.6).                            \
     31#                                                                       \
     32#               Also, don't forget to set DISPLAY to localhost:0.0 if   \
    3133#               launching TeXmacs from a non-X11 terminal.
     34
     35#bugs           Some of the computer algebra system sessions (e.g.,     \
     36#               maxima) will hang if you try to use the online help     \
     37#               function. A known issue that is being worked on.
    3238
    3339homepage        http://www.texmacs.org/
    3440master_sites    ftp://ftp.texmacs.org/pub/TeXmacs/targz/
    3541
    36 checksums       md5 1e1228fbadbfea4ca52f6702bab797a1
     42distfiles       ${name}-${version}-src${extract.sufx} \
     43                ${name}-600dpi-fonts${extract.sufx}
     44
     45checksums       TeXmacs-1.0.2-src.tar.gz    md5 9dee6986cfc94abd1c5e63fa11fe46a0 \
     46                TeXmacs-600dpi-fonts.tar.gz md5 945dfd3f76b20082aeea8131d87a260f
    3747
    3848depends_build   bin:guile-config:guile bin:latex:teTeX
    39 depends_lib     lib:libX11.6:XFree86
     49depends_lib     lib:libX11.6:XFree86 lib:libiconv.2:libiconv
     50
     51extract.only    ${name}-${version}-src${extract.sufx}
     52
     53patchfiles      patch-common.makefile.in patch-makefile
     54
     55configure.env   LDFLAGS="-L/opt/local/lib" CFLAGS="-no-cpp-precomp"
    4056
    4157# TeXmacs is ignorant of "make all", so we just "make" with no target:
    4258build.target
    4359
    44 post-destroot   { system "mv ${destroot}${prefix}/bin/texmacs \
    45                              ${destroot}${prefix}/bin/texmacs.bin"
    46                   set script [open "${destroot}${prefix}/bin/texmacs" w 755]
    47                   puts $script "#!/bin/sh"
    48                   puts $script \
    49                   "export GUILE_LOAD_PATH=\$GUILE_LOAD_PATH:${prefix}/share/guile/1.6"
    50                   puts $script "${prefix}/bin/texmacs.bin $@"
    51                   close $script
    52                   system "chmod +x ${destroot}${prefix}/bin/texmacs"
    53                 }
     60post-destroot   { file mkdir ${destroot}/${prefix}/share/${name}
     61                  cd ${destroot}/${prefix}/share/${name}
     62                  system "${extract.cmd} ${extract.pre_args} ${distpath}/${name}-600dpi-fonts${extract.sufx} ${extract.post_args}"
     63                  cd ${destroot}/${prefix}/share/
     64                  system "chown -R root.admin ${name}"
     65                }
    5466
Note: See TracChangeset for help on using the changeset viewer.