# -*- 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
################################################################
# The developer of whois is hostile toward bug reports. Do #
# not waste his time and yours by speaking with him about his #
# software. If you encounter problems updating this port to a #
# newer version, find a workaround and write a patch. Do not #
# report upstream. See http://trac.macports.org/ticket/16037 #
################################################################
PortGroup compiler_blacklist_versions 1.0
conflicts bahamut expect ripe-whois
homepage http://www.linux.it/~md/software/
description A replacement whois client
long_description whois is an improved whois client that follows the \
delegations from the Verisign whois server.
master_sites http://ftp.debian.org/debian/pool/main/w/${name}/
checksums rmd160 3da5730f992ef0ef27596bcc9a45d43714f747aa \
sha256 7a5a6b690bfc6360d92d9328adbe5c1f096a41f0d6548ce0df4aa664dcb37188
distfiles ${name}_${version}${extract.suffix}
depends_build port:perl${perl5.major}
depends_lib port:gettext \
# Bugs should be reported to MacPorts, not upstream.
patchfiles-append patch-bugreport.diff
# Add libidn and libiconv support.
patchfiles-append patch-idn-iconv.diff
# -lcrypt cannot be used (and is unnecessary) on Mac OS X
patchfiles-append patch-lcrypt.diff
reinplace "s|/etc/whois\.conf|${prefix}/etc/whois.conf|g" ${worksrcpath}/whois.1
compiler.blacklist {clang < 318}