Ticket #23547: Portfile

File Portfile, 1.4 KB (added by jwbacon@…, 14 years ago)

New Portfile

Line 
1# $Id: Portfile 62211 2009-12-31 21:36:31Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                cutecom-qt4-mac
6version             0.20.0
7categories          comms
8maintainers         jwbacon@tds.net
9distname            cutecom-${version}
10description         Graphical serial terminal
11long_description    CuteCom is a graphical serial terminal, like minicom. \
12                    It is aimed mainly at hardware developers or other \
13                    people who need a terminal to talk to their devices.
14
15master_sites        http://cutecom.sourceforge.net/
16
17homepage            http://cutecom.sourceforge.net
18
19platforms           darwin
20depends_build       port:cmake
21depends_lib         path:bin/qmake-mac:qt4-mac
22
23patchfiles          patch-qcppdialogimpl.cpp \
24                    patch-qcppdialogimpl.h \
25                    patch-cutecommdlg.ui
26
27checksums           md5     a42394c3a29a2dc30edab721469f5eee \
28                    sha1    36d430ab25e7f53128c27f39f67a0fe9a2dd18af \
29                    rmd160  e8e3caf133ac19b320f66a898069f4c0698ad0a0
30
31build.env   QTDIR=${prefix}/libexec/qt4-mac
32configure.env   QTDIR=${prefix}/libexec/qt4-mac
33
34configure {
35        system "cd ${worksrcpath} && cmake -DQT_QMAKE_EXECUTABLE=${prefix}/libexec/qt4-mac/bin/qmake ."
36}
37
38destroot    {
39        xinstall ${worksrcpath}/cutecom ${destroot}${prefix}/bin
40        xinstall -d ${destroot}${prefix}/share/applnk/Utilities
41        xinstall ${worksrcpath}/cutecom.desktop ${destroot}${prefix}/share/applnk/Utilities
42}
43