RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/sysutils/pilot-link/Portfile,v
retrieving revision 1.6
diff -u -r1.6 Portfile
|
|
|
2 | 2 | |
3 | 3 | PortSystem 1.0 |
4 | 4 | name pilot-link |
5 | | version 0.11.7 |
6 | | revision 1 |
7 | | categories sysutils |
8 | | maintainers darwinports@opendarwin.org |
| 5 | version 0.12.0-pre4 |
| 6 | categories sysutils palm |
| 7 | maintainers cssdev@mac.com |
9 | 8 | description palm-pilot libraries and tools |
10 | 9 | |
11 | 10 | platforms darwin |
12 | | homepage http://pilot-link.org/ |
13 | | master_sites http://pilot-link.org/source/ |
14 | | patchfiles patch-${name}.darwin |
15 | | depends_lib lib:libiconv:libiconv lib:libreadline:readline |
16 | | |
17 | | checksums md5 f51ad0900548a6600de7513cc8f606e6 |
18 | | |
19 | | patch { |
20 | | foreach patch $patchfiles { |
21 | | system "cd '${workpath}/${distname}' && \ |
22 | | sed -e 's#@PREFIX@#${prefix}#g' '${portpath}/${filesdir}/${patch}' | patch -p1" |
23 | | } |
| 11 | homepage http://www.pilot-link.org/ |
| 12 | master_sites http://www.pilot-link.org/files/ |
| 13 | depends_lib lib:libiconv:libiconv \ |
| 14 | lib:libreadline:readline \ |
| 15 | lib:popt:popt \ |
| 16 | lib:libpng:libpng |
| 17 | |
| 18 | use_bzip2 yes |
| 19 | checksums md5 67044fe4e998aea803d3e061a67f04b5 |
| 20 | |
| 21 | configure.env CPPFLAGS='-I${prefix}/include' LDFLAGS='-L${prefix}/lib' |
| 22 | configure.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 | |
| 27 | post-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} |
24 | 31 | } |
25 | 32 | |
26 | | configure.env CPPFLAGS='-I${prefix}/include -no-cpp-precomp -fno-common' \ |
27 | | LIBS='-L${prefix}/lib' DYLD_LIBRARY_PATH='${prefix}/lib' \ |
28 | | JAVA_HOME=/Library/Java/Home |
29 | | configure.args --prefix='${prefix}' --with-pic --enable-shared \ |
30 | | --enable-static --without-python --libexecdir='${prefix}/lib' |
31 | | |
32 | | build.env ${configure.env} |
33 | | |
34 | 33 | platform darwin 8 { |
35 | 34 | configure.env-append CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 |
36 | 35 | } |