Ticket #11052: Portfile

File Portfile, 1.0 KB (added by tristan@…, 18 years ago)

updated pilot-link Portfile

Line 
1# $Id: Portfile 20470 2006-11-03 15:26:21Z blair@macports.org $
2
3PortSystem 1.0
4name            pilot-link
5version         0.12.1
6categories      sysutils palm
7maintainers     css@macports.org
8description     palm-pilot libraries and tools
9
10platforms       darwin
11homepage        http://www.pilot-link.org/
12master_sites    http://downloads.pilot-link.org/
13depends_lib     lib:libiconv:libiconv \
14                lib:libreadline:readline \
15                lib:popt:popt \
16                lib:libpng:libpng
17
18use_bzip2       yes
19checksums       md5 80579c6f68eb583f54294d5651c4632b
20
21configure.env   CPPFLAGS='-I${prefix}/include' LDFLAGS='-L${prefix}/lib'
22configure.args  --prefix='${prefix}' \
23                --libexecdir='${prefix}/lib' --mandir='${prefix}/share/man' \
24                --with-libpng='${prefix}' --with-libiconv='${prefix}' \
25                --with-pic --enable-shared --enable-static
26
27post-destroot {
28        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
29        xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING NEWS README \
30                ${destroot}${prefix}/share/doc/${name}
31}
32
33platform darwin 8 {
34        configure.env-append CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
35}
36