openbsd-ports/net/nmap/Makefile

68 lines
1.6 KiB
Makefile
Raw Normal View History

2012-05-15 14:28:36 -04:00
# $OpenBSD: Makefile,v 1.100 2012/05/15 18:28:36 jasper Exp $
COMMENT-main= scan ports and fingerprint stack of network hosts
COMMENT-zenmap= graphical frontend for nmap
1999-01-11 00:37:23 -05:00
MODPY_EGG_VERSION= 5.51
DISTNAME= nmap-${MODPY_EGG_VERSION}
PKGNAME-main= ${DISTNAME}
2010-04-21 03:08:23 -04:00
PKGNAME-zenmap= nmap-zenmap-${MODPY_EGG_VERSION}
2012-05-15 14:28:36 -04:00
REVISION-main= 3
REVISION-zenmap= 2
2007-11-17 15:39:02 -05:00
CATEGORIES= net security
2010-04-21 03:08:23 -04:00
MASTER_SITES= http://nmap.org/dist/
EXTRACT_SUFX= .tgz
HOMEPAGE= http://www.nmap.org/
MAINTAINER= Giovanni Bechis <giovanni@openbsd.org>
# GPLv2
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
MULTI_PACKAGES= -main -zenmap
USE_GMAKE= yes
2012-05-15 14:28:36 -04:00
MODULES= lang/python \
lang/lua
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
CXXFLAGS="${CXXFLAGS} -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} \
2010-04-21 03:08:23 -04:00
--with-mandir=${LOCALBASE}/man \
--disable-nls
2012-05-15 14:28:36 -04:00
WANTLIB-main= c crypto m pcap ssl stdc++ pcre pthread dnet ${MODLUA_WANTLIB}
2010-11-19 17:31:32 -05:00
LIB_DEPENDS-main= devel/pcre \
net/libdnet \
2012-05-15 14:28:36 -04:00
${MODLUA_LIB_DEPENDS}
RUN_DEPENDS-main=
2010-11-11 11:27:54 -05:00
2010-11-19 17:31:32 -05:00
RUN_DEPENDS-zenmap= x11/py-gtk2 \
databases/py-sqlite2 \
devel/desktop-file-utils \
net/nmap
2010-11-19 17:31:32 -05:00
NO_REGRESS= Yes
2002-10-27 20:38:44 -05:00
post-extract:
@cp ${WRKSRC}/libdnet-stripped/include/dnet/sctp.h ${WRKSRC}/sctp.h
@cd ${WRKSRC} && rm -rf libpcap/ libdnet-stripped/ liblua/ libpcre/
pre-configure:
${SUBST_CMD} ${WRKSRC}/zenmap/install_scripts/unix/su-to-zenmap.sh
1999-01-11 00:37:23 -05:00
.include <bsd.port.mk>