mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
43 lines
1.3 KiB
Tcl
43 lines
1.3 KiB
Tcl
# -*- 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
|
||
|
||
PortSystem 1.0
|
||
|
||
name wv2
|
||
version 0.3.1
|
||
revision 2
|
||
|
||
categories textproc
|
||
license LGPL-2
|
||
maintainers nomaintainer
|
||
description A library for reading Microsoft Word files.
|
||
long_description {*}${description}
|
||
|
||
homepage http://wvware.sourceforge.net/
|
||
master_sites sourceforge:project/wvware/wv2/${version}
|
||
use_bzip2 yes
|
||
|
||
checksums rmd160 9e64fb57178daca5e917201e591845227ea75de9 \
|
||
sha256 896ff8ec59e280e8cb1ef9a953b364845dd65de1cdf8e4ed8a7e045a3f81c546 \
|
||
size 1094203
|
||
|
||
depends_build path:bin/pkg-config:pkgconfig
|
||
|
||
depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \
|
||
port:libgsf \
|
||
port:libxml2
|
||
|
||
patchfiles patch-src-olestream.h.diff
|
||
patchfiles-append dynamic_lookup-11.patch
|
||
patchfiles-append implicit.patch
|
||
|
||
post-patch {
|
||
# error: ISO C++ does not support ‘long long’
|
||
reinplace "s|-pedantic||g" ${worksrcpath}/configure
|
||
}
|
||
|
||
use_parallel_build yes
|
||
|
||
livecheck.type regex
|
||
livecheck.url https://sourceforge.net/projects/wvware/files/wv2/
|
||
livecheck.regex "wvware/files/wv2/(\\d+(?:\\.\\d+)*)/"
|