Ticket #22401: Portfile

File Portfile, 2.1 KB (added by m.thon@…, 14 years ago)
Line 
1# $Id$
2
3PortSystem 1.0
4
5name                    ipe
6version                 7.0.8
7categories              graphics
8maintainers             nomaintainer
9description             The Ipe extensible drawing editor
10long_description        \
11                        Ipe is a drawing editor for creating figures in PDF or \
12                        (encapsulated) Postscript format. It supports making small \
13                        figures for inclusion into LaTeX-documents as well as making \
14                        multi-page PDF presentations that can be shown on-line with \
15                        Acrobat Reader. Ipe's main features are: \
16                          - Entry of text as LaTeX source code. This makes it easy to \
17                            enter mathematical expressions, and to reuse the \
18                            LaTeX-macros of the main document. In the display text is \
19                            displayed as it will appear in the figure. \
20                          - Produces pure Postscript/PDF, including the text. Ipe \
21                            converts the LaTeX-source to PDF or Postscript when the \
22                            file is saved.\
23                          - It is easy to align objects with respect to each other \
24                            (for instance, to place a point on the intersection of two \
25                            lines, or to draw a circle through three given points) \
26                            using various snapping modes. \
27                          - Users can provide ipelets (Ipe plug-ins) to add functionality \
28                            to Ipe. This way, Ipe can be extended for each task at hand. \
29                          - Ipe is written in standard C++ and Lua 5.1.
30homepage                http://tclab.kaist.ac.kr/ipe/
31platforms               darwin
32master_sites            sourceforge:ipe7
33distname                ${name}-${version}
34distfiles               ${distname}-src${extract.suffix}
35checksums               md5 746e3c2ef08c16546c819aae6cca942a \
36                        sha1 a7e87bb11c243839447a38c95dd3b731f024fea5 \
37                        rmd160 ec836de89aa5b442ff1c3bbfe99af7014bdc923e
38depends_lib             port:freetype \
39                        port:cairo \
40                        port:lua \
41                        port:zlib
42patchfiles              patch-common.mak.diff \
43                        patch-config.mak.diff \
44                        patch-ipe-lua-prefs.lua.diff
45use_configure           no
46build.args              IPEPREFIX=${prefix}
47destroot.args           INSTALL_ROOT=${destroot} IPEPREFIX=${prefix}
48worksrcdir              ${distname}/src
49use_parallel_build      no
50default_variants        +use_qt4_mac
51
52variant use_qt4_mac description {Use the port qt4-mac (instead of some other qt4 library)} {
53    depends_lib-append port:qt4-mac
54    build.args-append MOC=moc-mac PKG_CONFIG_PATH=${prefix}/libexec/qt4-mac/lib/pkgconfig
55}