Ticket #19341: Portfile

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