Ticket #12329: Portfile.10

File Portfile.10, 1.4 KB (added by yves@…, 14 years ago)

glom -- not tested

Line 
1# $Id: Portfile 23154 2007-03-26 19:30:30Z pipping@macports.org $
2PortSystem 1.0
3name            glom
4version         1.4.2
5revision    1
6description     Glom is an easy-to-use database designer and user interface.
7long_description        ${description}
8maintainers     landonf@macports.org
9categories      gnome databases
10platforms       darwin
11
12homepage        http://www.glom.org/
13master_sites    gnome:sources/glom/1.4/
14
15checksums       md5 71c868a2e8e85e96bdbbf78608228bc8
16use_bzip2       yes
17
18depends_lib     port:bakery         port:libgdamm       port:libgnomecanvasmm \
19            port:gnome-session  port:iso-codes \
20            port:postgresql81   port:gnome-python-extras
21
22post-patch {
23        reinplace s/-lutil//g   ${worksrcpath}/glom/libglom/Makefile.in \
24                                ${worksrcpath}/glom/Makefile.in \
25                                ${worksrcpath}/glom/python_embed/python_module/Makefile.in
26}
27
28configure.env   CFLAGS="-I${prefix}/include -L${prefix}/lib" \
29                PYTHON=${prefix}/bin/python2.5
30                PYTHON_EXEC_PREFIX="${prefix}" \
31                PYTHON_PREFIX="${prefix}"
32
33configure.args  --with-postgres-utils=${prefix}/lib/postgresql81/bin \
34                --disable-scrollkeeper
35
36build.args      MSGFMT="${prefix}/bin/msgfmt" \
37                GMSGFMT="${prefix}/bin/msgfmt"
38
39post-destroot {
40        file delete "${destpath}/${prefix}/share/mime/globs"
41        file delete "${destpath}/${prefix}/share/mime/magic"
42        file delete "${destpath}/${prefix}/share/mime/XMLnamespaces"
43}