1 | # $Id: |
---|
2 | PortSystem 1.0 |
---|
3 | |
---|
4 | name iulib |
---|
5 | categories graphics |
---|
6 | maintainers nomaintainer |
---|
7 | platforms darwin |
---|
8 | description C++ library of image understanding-related algorithms |
---|
9 | long_description \ |
---|
10 | A library of image understanding-related algorithms. \ |
---|
11 | Provides basic image processing, mathematical morphology, \ |
---|
12 | and machine learning algorithms |
---|
13 | |
---|
14 | fetch.type hg |
---|
15 | hg.url https://iulib.googlecode.com/hg/ |
---|
16 | hg.tag d9b9406fac75 |
---|
17 | |
---|
18 | version 0.4-${hg.tag} |
---|
19 | |
---|
20 | homepage http://code.google.com/p/iulib/ |
---|
21 | master_sites ${hg.url} |
---|
22 | |
---|
23 | depends_build port:scons |
---|
24 | |
---|
25 | depends_lib port:libpng \ |
---|
26 | port:jpeg \ |
---|
27 | port:tiff \ |
---|
28 | port:zlib \ |
---|
29 | port:libsdl \ |
---|
30 | port:libsdl_image \ |
---|
31 | port:libsdl_gfx |
---|
32 | |
---|
33 | patchfiles patch-SConstruct.diff patch-components.cc.diff |
---|
34 | |
---|
35 | post-patch { |
---|
36 | reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/SConstruct |
---|
37 | } |
---|
38 | |
---|
39 | use_configure no |
---|
40 | |
---|
41 | build.cmd scons |
---|
42 | build.target |
---|
43 | # you can remove the build.args test=yes, but it nice to know they work |
---|
44 | build.args test=yes |
---|
45 | |
---|
46 | destroot.cmd scons |
---|
47 | destroot.destdir prefix=${destroot}${prefix} |
---|
48 | |
---|