# $Id: Portfile 56394 2009-08-27 02:04:39Z blb@macports.org $

PortSystem			1.0

name				httrack
version				3.43.7
distname			${name}-3.43-7
worksrcdir			${name}-${version}
categories			net
maintainers			ross@ross-williams.net
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/
platforms			darwin
master_sites		http://www.httrack.com/

checksums			md5 ce7c5e60f4e15024ea3ba054018ae5ed \
					sha1 a697ffd54a5a0edd3bd9103a6e6998157086e40e \
					rmd160 bce8032d103b603f978db6accfa0a5e1ffb918f2
					
depends_lib			port:zlib

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/
}
# vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
