diff options
Diffstat (limited to 'security/nmap/Makefile')
-rw-r--r-- | security/nmap/Makefile | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/security/nmap/Makefile b/security/nmap/Makefile index f149fdcfa9de..92929914d447 100644 --- a/security/nmap/Makefile +++ b/security/nmap/Makefile @@ -9,15 +9,18 @@ PORTNAME?= nmap PORTVERSION= ${DISTVERSION:L:C/([a-z])[a-z]+/\1/g:C/[^a-z0-9+]+/./g} CATEGORIES= security ipv6 MASTER_SITES= http://download.insecure.org/nmap/dist/ \ - http://www.mirrors.wiretapped.net/security/network-mapping/nmap/ + http://www.mirrors.wiretapped.net/security/network-mapping/nmap/ \ + http://ftp.iasi.roedu.net/mirrors/download.insecure.org/nmap/dist/ \ + http://shadow.cc.columbia.edu/pub/software/nmap/ DISTNAME= nmap-${DISTVERSION} # needed for security/nmapfe MAINTAINER= eik@FreeBSD.org COMMENT?= Port scanning utility for large networks -DISTVERSION= 3.70 +DISTVERSION= 3.71-PRE1 USE_BZIP2= yes +USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-localdirs @@ -46,18 +49,22 @@ CONFIGURE_ARGS+= --without-nmapfe ALL_TARGET= nmap INSTALL_TARGET= install-nmap +post-configure: + @${REINPLACE_CMD} -e "s|^DESTDIR *=|& ${DESTDIR}|" ${WRKSRC}/Makefile + post-install: @for lang in de.ISO8859-1=german es.ISO8859-1=spanish fr.ISO8859-1=french it.ISO8859-15=italian \ lt.ISO8859-13=lithuanian pt.ISO8859-1=portuguese ru.KOI8-R=russian; do \ llang="`expr $${lang} : '\([^=]*\)'`"; \ elang="`expr $${lang} : '.*=\([^=]*\)'`"; \ - ${MKDIR} ${MAN1PREFIX}/man/$${llang}/man1; \ - ${INSTALL_MAN} ${WRKSRC}/docs/nmap_$${elang}.1 ${MAN1PREFIX}/man/$${llang}/man1/nmap.1; \ + ${MKDIR} ${DESTDIR}${MAN1PREFIX}/man/$${llang}/man1; \ + ${INSTALL_MAN} ${WRKSRC}/docs/nmap_$${elang}.1 \ + ${DESTDIR}${MAN1PREFIX}/man/$${llang}/man1/nmap.1; \ done .ifndef NOPORTDOCS - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${DESTDIR}${DOCSDIR} @for doc in CHANGELOG HACKING docs/nmap.dtd; do \ - ${INSTALL_DATA} ${WRKSRC}/$${doc} ${DOCSDIR}; \ + ${INSTALL_DATA} ${WRKSRC}/$${doc} ${DESTDIR}${DOCSDIR}; \ done .endif |