source: trunk/dports/mail/ripmime/Portfile

Last change on this file was 95451, checked in by ryandesign@…, 5 years ago

ripmime: fix build with clang by turning off -Werror; fix build with old clang by including our ldflags (i.e. -L${prefix}/lib)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 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 95451 2012-07-13 01:23:51Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                ripmime
7version             1.4.0.10
8categories          mail
9platforms           darwin
10license             BSD
11maintainers         nomaintainer
12
13description         ripmime is for extracting attached files out of a MIME package
14
15long_description    ${description}
16
17homepage            http://www.pldaniels.com/ripmime/
18master_sites        ${homepage}
19
20checksums           rmd160  312f6ca37e73a5a024dd8cf07e6b969b6d7a952d \
21                    sha256  896115488a7b7cad3b80f2718695b0c7b7c89fc0d456b09125c37f5a5734406a
22
23depends_lib         port:libiconv
24
25patchfiles          patch-no-Werror.diff
26
27use_configure       no
28
29variant universal {}
30
31build.args          CC="${configure.cc} [get_canonical_archflags cc]" \
32                    LIBS="${configure.ldflags} -liconv"
33
34destroot {
35    xinstall -s -m 755 ${worksrcpath}/ripmime ${destroot}${prefix}/bin
36    xinstall -m 644 ${worksrcpath}/ripmime.1 ${destroot}${prefix}/share/man/man1
37}
38
39livecheck.type      regex
40livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.