source: trunk/dports/graphics/libwpg-0.3/Portfile @ 121277

Last change on this file since 121277 was 121263, checked in by devans@…, 6 years ago

devans/dports: libwpg, rename to libwpg-0.3, installs in parallel with existing libwpg.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 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 121263 2014-06-21 20:05:46Z devans@macports.org $
3
4PortSystem              1.0
5
6name                    libwpg-0.3
7set dname               libwpg
8version                 0.3.0
9license                 LGPL-2+
10categories              graphics
11
12description             Libwpg is a C++ library for reading and parsing graphics in WPG (Word Perfect Graphics) format.
13
14long_description        ${description} WPG is the format used among others in Corel software such as WordPerfect(tm) \
15                        and Presentations(tm).
16
17maintainers             devans openmaintainer
18platforms               darwin
19homepage                http://libwpg.sourceforge.net/
20master_sites            sourceforge:project/libwpg/libwpg/libwpg-${version}
21use_xz                  yes
22
23distname                ${dname}-${version}
24
25checksums               rmd160  757c85b9ddecc2351d4831593594fb0e9250adb6 \
26                        sha256  6f709199235f4c061c3ffe1a5112ce6430e8434e621bf7b3e3dca16114eaf224
27
28depends_build           port:pkgconfig
29
30depends_lib             port:librevenge \
31                        port:libwpd
32
33# Teach glibtool about -stdlib=libc++
34use_autoreconf          yes
35autoreconf.args         -fvi
36
37configure.args  --without-docs --disable-werror
38
39variant docs description {Build API documentation} {
40    depends_build-append    port:doxygen
41    configure.args-delete   --without-docs
42}
43
44# delete binaries that conflict with libwpd
45
46post-destroot {
47    file delete -force ${destroot}${prefix}/bin
48}
49
50livecheck.regex         /${dname}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.