source: trunk/dports/textproc/libwpd/Portfile @ 38077

Last change on this file since 38077 was 38077, checked in by ryandesign@…, 11 years ago

In all openmaintainer and nomaintainer ports and my ports, depend on glib2 via a path in ${prefix} so that either glib2 or glib2-devel can satisfy the dependency

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 815 bytes
Line 
1# $Id: Portfile 38077 2008-07-05 21:37:56Z ryandesign@macports.org $
2PortSystem 1.0
3name            libwpd
4version         0.8.9
5revision        1
6description     A general purpose library for reading WordPerfect files.
7long_description        ${description}
8maintainers     nomaintainer
9categories      textproc
10platforms       darwin
11homepage        http://libwpd.sourceforge.net/
12master_sites    sourceforge
13checksums       md5 c48c74e90637e5e59140d0bec73a0145
14depends_lib     path:${prefix}/lib/pkgconfig/glib-2.0.pc:glib2 \
15                port:libgsf \
16                port:libxml2 \
17                port:pkgconfig
18
19patch           {
20                reinplace "s|need_relink=yes|need_relink=no|g" ${worksrcpath}/ltmain.sh
21}
22configure.args  --mandir=${prefix}/share/man --without-docs
23configure.cppflags-append       "-L${prefix}/lib"
24configure.cflags-append "-no-cpp-precomp -flat_namespace -undefined suppress"
25
26variant with_doxygen {
27        depends_build-append    port:doxygen
28        configure.args-delete   --without-docs
29}
Note: See TracBrowser for help on using the repository browser.