source: trunk/dports/textproc/libwpd-0.10/Portfile

Last change on this file was 144109, checked in by khindenburg@…, 21 months ago

libwpd-0.10: remove legacy variant

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 144109 2016-01-01 22:15:49Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            libwpd-0.10
7set gname       libwpd
8version         0.10.1
9maintainers     devans openmaintainer
10categories      textproc
11platforms       darwin
12license         LGPL-2+
13
14description     A general purpose library for reading WordPerfect files.
15long_description ${description}
16
17homepage        http://libwpd.sourceforge.net/
18master_sites    sourceforge:project/libwpd/libwpd/libwpd-${version}
19
20use_xz          yes
21
22distname        ${gname}-${version}
23
24checksums       rmd160  d5727dfbed4cc83d81586bd7e154299c2b6983d5 \
25                sha256  09d3410bc770f9d9eedc8544b5c211771ea3322de3fee19b58ad7d40fb2984f6
26
27depends_build   port:pkgconfig
28
29depends_lib     path:lib/pkgconfig/glib-2.0.pc:glib2 \
30                port:librevenge
31
32use_autoreconf  yes
33autoreconf.args -fvi
34
35patch {
36    reinplace "s|need_relink=yes|need_relink=no|g" ${worksrcpath}/ltmain.sh
37}
38
39configure.args  --without-docs --disable-werror
40
41variant docs description {Build API documentation} {
42    depends_build-append    port:doxygen
43    configure.args-delete   --without-docs
44}
45
46# delete binaries that conflict with libwpd
47
48post-destroot {
49    file delete -force ${destroot}${prefix}/bin
50}
51
52livecheck.regex /${gname}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.