summaryrefslogtreecommitdiff
path: root/net/pear-Net_Nmap/Makefile
blob: 73ab5a7817387d6306351db88999d3d0016d77f4 (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
36
37
38
# Ports collection makefile for:	pear-Net_Nmap
# Date created:				13 Oct 2008
# Whom:					Wen Heping<wenheping@gmail.com>
#
# $FreeBSD$
#

PORTNAME=	Net_Nmap
PORTVERSION=	1.0.3
CATEGORIES=	net pear

MAINTAINER=	miwi@FreeBSD.org
COMMENT=	A Simple Wrapper Class for the Nmap Utility

BUILD_DEPENDS=	${PEARDIR}/XML/Parser.php:${PORTSDIR}/devel/pear-XML_Parser
RUN_DEPENDS:=	${BUILD_DEPENDS}

CATEGORY=	Net
FILES=		Nmap.php \
		Nmap/Exception.php Nmap/Host.php \
		Nmap/Parser.php Nmap/Service.php

EXAMPLES=	example1.php example2.php example2.xml

TESTS=		NetNmapParseTest.php \
		NetNmapParseTest.xml \
		NetNmapScanTest.php \
		test_config.php \
		Bug16268Test.php \
		Bug16336Test.php \
		bug16268.xml \
		bug16336.xml

DOCS=		LICENSE README

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
.include <bsd.port.post.mk>