# -*- 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 # $Id$ PortSystem 1.0 name httrack version 3.47.23 categories net platforms darwin maintainers ross-williams.net:ross license GPL-2+ description Website Copier/Offline Browser long_description HTTrack is an offline browser utility that allows you to \ download a website from the Internet to a local directory. homepage http://www.httrack.com/ master_sites http://mirror.httrack.com/ checksums rmd160 ac3b76f84db3f934de0ce7de1e2393ab47746d61 \ sha256 b5fc4c7da7ab98d689f17709b3a42e59909bcb7c5174b99c1fb28441d7f578dd depends_lib port:zlib \ port:openssl \ port:libiconv patchfiles patch-src-htsweb.c.diff \ patch-src-webhttrack.diff post-patch { reinplace -locale C "s|@PREFIX@|${prefix}|g" \ ${worksrcpath}/src/htsweb.c \ ${worksrcpath}/src/webhttrack } configure.args --with-zlib=${prefix} # Makefile fails during parallel builds use_parallel_build no post-destroot { # Remove metadata files not used by darwin or OS X file delete ${destroot}${prefix}/share/pixmaps/httrack.xpm file delete -force ${destroot}${prefix}/share/applications/ } livecheck.type regex livecheck.url http://download.httrack.com/cserv.php3?queryVersionNumberDigit livecheck.regex ^(.+)$