Ticket #29489: Portfile

File Portfile, 1.3 KB (added by jason@…, 14 years ago)

Portfile

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