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

Last change on this file was 143949, checked in by devans@…, 21 months ago

libwpg-0.3: update to version 0.3.1, disable silent rules, minor reformat.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 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 143949 2015-12-28 23:07:40Z ryandesign@macports.org $
3
4PortSystem              1.0
5
6name                    libwpg-0.3
7set dname               libwpg
8version                 0.3.1
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  5b7dd3623a4f8a091e25165f35e569b3c0d4ce59 \
26                        sha256  620d888c10d7e1127d5123ff0065f1b62b86b91bac27d8ae10dcfbdb6bf4278f
27
28depends_build           port:pkgconfig
29
30depends_lib             port:librevenge \
31                        port:libwpd-0.10
32
33# Teach glibtool about -stdlib=libc++
34use_autoreconf          yes
35autoreconf.args         -fvi
36
37configure.args          --without-docs \
38                        --disable-silent-rules \
39                        --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         /${dname}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.