mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
7efe79f49b
simplifies the running of nmap for the point and shoot crowd.
39 lines
860 B
Makefile
39 lines
860 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: nmap
|
|
# Version required: 1.51
|
|
# Date created: Tue Aug 04, 1998
|
|
# Whom: David O'Brien (obrien@NUXI.com)
|
|
#
|
|
# $Id: Makefile,v 1.17 1999/04/07 19:00:04 fenner Exp $
|
|
#
|
|
|
|
DISTNAME= nmap-2.2-BETA4
|
|
PKGNAME= nmap-2.2b4
|
|
CATEGORIES= security net
|
|
MASTER_SITES= http://www.insecure.org/nmap/dist/ \
|
|
ftp://relay.nuxi.com/pub/misc/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
|
|
|
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
USE_XLIB= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --libdir=${PREFIX}/share/misc
|
|
MAKE_ENV= GTK_CONFIG="${X11BASE}/bin/gtk12-config"
|
|
.if ${OSVERSION} < 300004
|
|
CFLAGS+= -DDLT_RAW=12 # for obsoleted <net/bpf.h>
|
|
.endif
|
|
MAN1= nmap.1
|
|
|
|
post-extract:
|
|
@${RM} -rf ${WRKSRC}/libpcap*
|
|
|
|
post-install:
|
|
@strip ${PREFIX}/bin/nmap
|
|
|
|
.include <bsd.port.post.mk>
|