1 | # $Id: Portfile 62211 2009-12-31 21:36:31Z ryandesign@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name cutecom-qt4-mac |
---|
6 | version 0.20.0 |
---|
7 | categories comms |
---|
8 | maintainers jwbacon@tds.net |
---|
9 | distname cutecom-${version} |
---|
10 | description Graphical serial terminal |
---|
11 | long_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 | |
---|
15 | master_sites http://cutecom.sourceforge.net/ |
---|
16 | |
---|
17 | homepage http://cutecom.sourceforge.net |
---|
18 | |
---|
19 | platforms darwin |
---|
20 | depends_build port:cmake |
---|
21 | depends_lib path:bin/qmake-mac:qt4-mac |
---|
22 | |
---|
23 | patchfiles patch-qcppdialogimpl.cpp \ |
---|
24 | patch-qcppdialogimpl.h \ |
---|
25 | patch-cutecommdlg.ui |
---|
26 | |
---|
27 | checksums md5 a42394c3a29a2dc30edab721469f5eee \ |
---|
28 | sha1 36d430ab25e7f53128c27f39f67a0fe9a2dd18af \ |
---|
29 | rmd160 e8e3caf133ac19b320f66a898069f4c0698ad0a0 |
---|
30 | |
---|
31 | build.env QTDIR=${prefix}/libexec/qt4-mac |
---|
32 | configure.env QTDIR=${prefix}/libexec/qt4-mac |
---|
33 | |
---|
34 | configure { |
---|
35 | system "cd ${worksrcpath} && cmake -DQT_QMAKE_EXECUTABLE=${prefix}/libexec/qt4-mac/bin/qmake ." |
---|
36 | } |
---|
37 | |
---|
38 | destroot { |
---|
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 | |
---|