source: trunk/dports/net/httrack/Portfile

Last change on this file was 146517, checked in by raimue@…, 17 months ago

Mass rev-bump dependents of port openssl due to ABI change

Disabling SSLv2 in r146162 changed the ABI of the library, leading to loading
errors for binaries with references to SSLv2 symbols.

https://lists.macosforge.org/pipermail/macports-dev/2016-March/032531.html

  • 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 146517 2016-03-10 17:49:28Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                httrack
7version             3.48.3
8revision            1
9categories          net
10platforms           darwin
11maintainers         ross-williams.net:ross
12license             GPL-2+
13
14description         Website Copier/Offline Browser
15
16long_description    HTTrack is an offline browser utility that allows you to \
17                    download a website from the Internet to a local directory.
18
19homepage            http://www.httrack.com/
20master_sites        http://mirror.httrack.com/
21
22checksums           rmd160  f69d27a0dedda3ab3e2d7170285b908f0c888257 \
23                    sha256  19d84efb14c6952ed503c84fc6f5daa40b9189b94546c6ddf903074071cee5d1
24
25depends_lib         port:zlib \
26                    path:lib/libssl.dylib:openssl \
27                    port:libiconv
28
29patchfiles          patch-src-htsweb.c.diff \
30                    patch-src-webhttrack.diff
31
32post-patch {
33    reinplace -locale C "s|@PREFIX@|${prefix}|g" \
34        ${worksrcpath}/src/htsweb.c \
35        ${worksrcpath}/src/webhttrack
36}
37
38configure.args      --with-zlib=${prefix}
39
40# Makefile fails during parallel builds
41use_parallel_build  no
42
43post-destroot {
44    # Remove metadata files not used by darwin or OS X
45    file delete ${destroot}${prefix}/share/pixmaps/httrack.xpm
46    file delete -force ${destroot}${prefix}/share/applications/
47}
48
49livecheck.type      regex
50livecheck.url       http://download.httrack.com/cserv.php3?queryVersionNumberDigit
51livecheck.regex     ^(.+)$
Note: See TracBrowser for help on using the repository browser.