2008-04-06 14:21:44 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.75 2008/04/06 18:21:44 okan Exp $
|
2001-04-12 11:59:15 -04:00
|
|
|
|
2008-01-24 20:21:17 -05:00
|
|
|
COMMENT-main= scan ports and fingerprint stack of network hosts
|
|
|
|
COMMENT-zenmap= graphical frontend for nmap
|
1999-01-11 00:37:23 -05:00
|
|
|
|
2008-04-06 14:21:44 -04:00
|
|
|
V= 4.60
|
2008-01-24 20:21:17 -05:00
|
|
|
DISTNAME= nmap-$V
|
|
|
|
PKGNAME-main= ${DISTNAME}
|
|
|
|
PKGNAME-zenmap= nmap-zenmap-$V
|
2007-11-17 15:39:02 -05:00
|
|
|
|
2008-01-24 20:21:17 -05:00
|
|
|
CATEGORIES= net security
|
2008-04-06 14:21:44 -04:00
|
|
|
MASTER_SITES= http://download.insecure.org/nmap/dist/
|
2001-01-14 13:18:09 -05:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2008-04-06 14:21:44 -04:00
|
|
|
HOMEPAGE= http://www.nmap.org/
|
2001-01-09 11:10:16 -05:00
|
|
|
|
2006-12-17 09:22:46 -05:00
|
|
|
MAINTAINER= Giovanni Bechis <g.bechis@snb.it>
|
2005-01-29 15:15:32 -05:00
|
|
|
|
2002-08-11 16:50:54 -04:00
|
|
|
# GPL
|
2000-03-25 01:12:15 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2007-11-17 15:39:02 -05:00
|
|
|
|
2008-01-24 20:21:17 -05:00
|
|
|
MULTI_PACKAGES= -main -zenmap
|
|
|
|
|
|
|
|
WANTLIB-main= c crypto m pcap ssl stdc++
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2008-01-24 20:21:17 -05:00
|
|
|
SUBST_VARS= V
|
2005-09-27 05:53:37 -04:00
|
|
|
|
2008-01-24 20:21:17 -05:00
|
|
|
USE_GMAKE= yes
|
|
|
|
MODULES= lang/python
|
2001-01-09 11:10:16 -05:00
|
|
|
|
2008-01-24 20:21:17 -05:00
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
|
|
|
CONFIGURE_ARGS= --with-libpcap=/usr \
|
|
|
|
--with-openssl=/usr \
|
|
|
|
--with-libdnet=${LOCALBASE} \
|
|
|
|
--with-liblua=${LOCALBASE} \
|
|
|
|
--with-libpcre=${LOCALBASE}
|
2001-01-09 11:10:16 -05:00
|
|
|
|
2008-01-24 20:21:17 -05:00
|
|
|
LIB_DEPENDS= pcre::devel/pcre \
|
|
|
|
dnet::net/libdnet \
|
|
|
|
lua.>=5::lang/lua
|
2003-12-09 13:42:36 -05:00
|
|
|
|
2008-01-24 20:21:17 -05:00
|
|
|
LIB_DEPENDS-zenmap=
|
2005-12-17 10:47:12 -05:00
|
|
|
|
2008-01-24 20:21:17 -05:00
|
|
|
RUN_DEPENDS-main=
|
|
|
|
RUN_DEPENDS-zenmap= ::x11/py-gtk2 \
|
|
|
|
::databases/py-sqlite2 \
|
|
|
|
::net/nmap
|
2001-01-09 11:10:16 -05:00
|
|
|
|
2002-10-27 20:38:44 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2008-01-24 20:21:17 -05:00
|
|
|
post-extract:
|
|
|
|
@cd ${WRKSRC} && rm -rf libpcap/ libdnet-stripped/ liblua/ libpcre/
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/zenmap.1 ${PREFIX}/man/man1/
|
|
|
|
|
1999-01-11 00:37:23 -05:00
|
|
|
.include <bsd.port.mk>
|