1 | # $Id: Portfile 23154 2007-03-26 19:30:30Z pipping@macports.org $ |
---|
2 | PortSystem 1.0 |
---|
3 | name glom |
---|
4 | version 1.4.2 |
---|
5 | revision 1 |
---|
6 | description Glom is an easy-to-use database designer and user interface. |
---|
7 | long_description ${description} |
---|
8 | maintainers landonf@macports.org |
---|
9 | categories gnome databases |
---|
10 | platforms darwin |
---|
11 | |
---|
12 | homepage http://www.glom.org/ |
---|
13 | master_sites gnome:sources/glom/1.4/ |
---|
14 | |
---|
15 | checksums md5 71c868a2e8e85e96bdbbf78608228bc8 |
---|
16 | use_bzip2 yes |
---|
17 | |
---|
18 | depends_lib port:bakery port:libgdamm port:libgnomecanvasmm \ |
---|
19 | port:gnome-session port:iso-codes \ |
---|
20 | port:postgresql81 port:gnome-python-extras |
---|
21 | |
---|
22 | post-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 | |
---|
28 | configure.env CFLAGS="-I${prefix}/include -L${prefix}/lib" \ |
---|
29 | PYTHON=${prefix}/bin/python2.5 |
---|
30 | PYTHON_EXEC_PREFIX="${prefix}" \ |
---|
31 | PYTHON_PREFIX="${prefix}" |
---|
32 | |
---|
33 | configure.args --with-postgres-utils=${prefix}/lib/postgresql81/bin \ |
---|
34 | --disable-scrollkeeper |
---|
35 | |
---|
36 | build.args MSGFMT="${prefix}/bin/msgfmt" \ |
---|
37 | GMSGFMT="${prefix}/bin/msgfmt" |
---|
38 | |
---|
39 | post-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 | } |
---|