67 lines
1.8 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.129 2017/08/09 20:43:53 giovanni Exp $
COMMENT-main= scan ports and fingerprint stack of network hosts
COMMENT-zenmap= graphical frontend for nmap
1999-01-11 05:37:23 +00:00
MODPY_EGG_VERSION= 7.60
DISTNAME= nmap-${MODPY_EGG_VERSION}
PKGNAME-main= ${DISTNAME}
2010-04-21 07:08:23 +00:00
PKGNAME-zenmap= nmap-zenmap-${MODPY_EGG_VERSION}
2007-11-17 20:39:02 +00:00
CATEGORIES= net security
2010-04-21 07:08:23 +00:00
MASTER_SITES= http://nmap.org/dist/
EXTRACT_SUFX= .tgz
HOMEPAGE= http://www.nmap.org/
MAINTAINER= David Carlier <devnexen@gmail.com>
# GPL (v2 only), with additional clarifications and exceptions, see COPYING
2000-03-25 06:12:15 +00:00
PERMIT_PACKAGE_CDROM= Yes
2007-11-17 20:39:02 +00:00
MULTI_PACKAGES= -main -zenmap
USE_GMAKE= Yes
MODLUA_SA= Yes
MODLUA_VERSION= 5.3
2012-05-15 18:28:36 +00:00
MODULES= lang/python \
lang/lua
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${MODLUA_INCL_DIR}" \
CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -L${MODLUA_LIBDIR}"
# XXX uses internal copy of libpcap, previous attempts to deal with the
# bpf_timeval changes in base libpcap have not been entirely successful
CONFIGURE_ARGS= --with-libpcap=included \
--with-openssl=/usr \
--with-liblua=${LOCALBASE} \
--with-libpcre=${LOCALBASE} \
2010-04-21 07:08:23 +00:00
--with-mandir=${LOCALBASE}/man \
--without-nmap-update \
2010-04-21 07:08:23 +00:00
--disable-nls
WANTLIB-main= c crypto m ssl ssh2 ${COMPILER_LIBCXX} pcre \
${MODLUA_WANTLIB} z
LIB_DEPENDS-main=devel/pcre \
${MODLUA_LIB_DEPENDS} \
security/libssh2
RUN_DEPENDS-main=
2010-11-11 16:27:54 +00:00
2010-11-19 22:31:32 +00:00
RUN_DEPENDS-zenmap= x11/py-gtk2 \
databases/py-sqlite2 \
devel/desktop-file-utils \
net/nmap
post-extract:
@cd ${WRKSRC} && rm -rf liblua/ libpcre/
pre-configure:
${SUBST_CMD} ${WRKSRC}/zenmap/install_scripts/unix/su-to-zenmap.sh \
${WRKSRC}/zenmap/install_scripts/unix/zenmap.desktop \
${WRKSRC}/zenmap/install_scripts/unix/zenmap-root.desktop
1999-01-11 05:37:23 +00:00
.include <bsd.port.mk>