summaryrefslogtreecommitdiff
path: root/net/nmapfe/Makefile
blob: 04efd8293138b98f5495262d60bbf18bda4b9b57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $NetBSD: Makefile,v 1.4 2002/08/03 12:45:51 hubertf Exp $

DISTNAME=	nmap-3.00
PKGNAME=	nmapfe-0.9.5
CATEGORIES=	net security
MASTER_SITES=	http://codebox.net/download/
EXTRACT_SUFX=	.tgz

MAINTAINER=     reinoud@ibbnet.org,hubertf@netbsd.org
HOMEPAGE=	http://www.insecure.org/nmap/index.html
COMMENT=	graphical front end to the nmap port scanner

DEPENDS+=	nmap-[23].*:../../net/nmap
DEPENDS+=	gtk+-1.2.*:../../x11/gtk

HAS_CONFIGURE=	Yes
CONFIGURE_ENV+= INSTALL=${INSTALL}
CONFIGURE_ARGS+=--prefix=${PREFIX}

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "SunOS"
MAKE_ENV+=      CPPFLAGS=""
.endif


do-build:
	cd ${WRKSRC}/nbase ; ${SETENV} ${BUILD_ENV} ${MAKE}
	cd ${WRKSRC}/nmapfe ; ${SETENV} ${BUILD_ENV} ${MAKE}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/nmapfe/nmapfe ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/docs/nmapfe.1 ${PREFIX}/man/man1

.include "../../mk/bsd.pkg.mk"