source: trunk/dports/net/httrack/Portfile @ 139229

Last change on this file since 139229 was 139229, checked in by jeremyhu@…, 4 years ago

misc: Change port:openssl dependency to path:lib/libssl.dylib:openssl

This should allow usage of libressl as a replacement for openssl in relevant
ports. Not all ports have been tested, but libressl aims for API
compatibility with OpenSSL, so it is expected to work.

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