# $Id$ PNAME="nmap" PVER="4.76" PBUILD="r1" PCATEGORIE="net-misc" STATE="unstable" DESCRIPTION="A very good portscanner and security audit tool." HOMEPAGE="http://www.insecure.org/nmap/" DEPEND=">= virtual/glibc >= dev-libs/libpcre-7 >= dev-libs/openssl-0.9.8" SRCFILE="${PNAME}-${PVER}.tar.bz2" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild SRC_URI=( http://download.insecure.org/nmap/dist/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) # exclude beta and rc versions UP2DATE="updatecmd 'http://download.insecure.org/nmap/dist/?C=M;O=A' | grep ${PNAME}-[0-9] | grep -v '[RC|BETA]' | lasttarball" src_compile() { cd ${SRCDIR} # the gui comes now with an extra package mconfigure --without-zenmap --with-openssl || die mmake || die } src_install() { cd ${SRCDIR} mmake DESTDIR=${BINDIR} nmapdatadir=/usr/share/nmap install || die minstalldocs CHANGELOG COPYING* HACKING docs/README docs/*.txt || die }