Ticket #11452: Portfile

File Portfile, 1.5 KB (added by afb@…, 17 years ago)

dports/graphics/wxstedit/Portfile

Line 
1# $Id$
2
3PortSystem 1.0
4
5name                    wxstedit
6version                 1.2.4
7categories              graphics devel
8platforms               darwin freebsd
9maintainers             nomaintainer@macports.org
10description             styled text editor component for wxWidgets
11long_description        wxStEdit is a library and sample program for the wxWidgets's \
12                                wxStyledTextCtrl wrapper around the Scintilla text editor \
13                                widget. It provides a number of convenience functions and \
14                                added capabilities, including the necessary prefs/styles/language \
15                                management, menu creation and updating, a splitter, notebook, and \
16                                frame component. Additionally it provides a find/replace, editor \
17                                settings, and property dialogs.
18
19homepage                http://wxcode.sourceforge.net/components/wxstedit/
20master_sites            sourceforge:wxcode
21use_bzip2               no
22
23checksums               ${name}-${version}${extract.suffix} \
24                                        md5 674a6ec64fcd737710f6625ba9685ae5 \
25                                ${name}-${version}${extract.suffix} \
26                                        sha1 d0c7a0240f1c5d92a6678d46301e0717d14e7fa8 \
27                                ${name}-${version}${extract.suffix} \
28                                        rmd160 ec10eaadbafebf04b5375eb6c6d7c69a9bdfb6b6
29
30configure.args          --mandir=${prefix}/share/man \
31                                --with-wx-prefix=${prefix}
32
33post-configure          { copy -force "${worksrcpath}/include/wx/stedit/setup0.h" \
34                                      "${worksrcpath}/include/wx/stedit/setup.h" }
35
36default_variants        +aqua
37
38variant aqua description "Use the wxMac port of wxWidgets" {
39
40depends_lib-append      port:wxWidgets
41
42}
43
44variant x11 description "Use the wxGTK port of wxWidgets" {
45
46depends_lib-append      port:wxgtk
47
48}