Ticket #480: Portfile

File Portfile, 1.6 KB (added by mtn88 (Max), 22 years ago)

Portfile for scmxx-0.6.3.7

Line 
1PortSystem 1.0
2name                    scmxx
3version                 0.6.3.7
4platforms               darwin freebsd
5categories              comms
6maintainers             max@kruschwitz.biz
7description             Data exchange utility for Siemens mobile phones
8long_description \
9                SCMxx is a data exchange utility for certain Siemens mobile \
10                phone models. Data types handled include logo bitmaps, \
11                MIDI files, vCalendars, address books, phonebook entries \
12                and SMS. Support for phones includes the S25, C35i, S35i, \
13                M35i, C45, S45, ME45 and SL45 models.
14
15homepage        http://ma2geo.mathematik.uni-karlsruhe.de/~hendrik/scmxx/
16master_sites    http://ma2geo.mathematik.uni-karlsruhe.de/~hendrik/scmxx/download/ \
17                http://ma2geo.mathematik.uni-karlsruhe.de/~hendrik/scmxx/download/old/
18
19checksums               md5 5828e17964d65bede3e01d37982d21b4
20use_bzip2               yes
21depends_lib             lib:libgnugetopt-1.2.0:libgnugetopt lib:libiconv.2:libiconv
22configure.type          gnu
23build.type              gnu
24configure.args          --with-baudrate=57600 \
25                        --with-device=/dev/tty.IrDA-IrCOMM0114
26
27configure.env           CPPFLAGS="-I${prefix}/include" \
28                        CFLAGS="-I${prefix}/include" \
29                        LDFLAGS="-L${prefix}/lib"
30
31install.destroot        prefix=${destroot}/${prefix}
32
33post-install {
34        system "install -d ${destroot}${prefix}/share/doc/${name}"
35        system "install -d ${destroot}${prefix}/share/doc/${name}/examples"
36        system "install ${worksrcpath}/README \
37                ${destroot}${prefix}/share/doc/${name}"
38        system "cp -Rf ${worksrcpath}/docs/*.txt \
39                ${destroot}${prefix}/share/doc/${name}"
40        system "cp -Rf ${worksrcpath}/examples/* \
41                ${destroot}${prefix}/share/doc/${name}/examples"
42}
43
44variant freebsd {
45        configure.args  --with-device=/dev/cuaa0
46}