summaryrefslogtreecommitdiff
path: root/net/libp0f/Makefile
blob: d4a64d09775e3351179f4cce1110f4879dca11c5 (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
# Created by: Eric Allen Griff <setjmp@hotmail.com>
# $FreeBSD$

PORTNAME=	libp0f
PORTVERSION=	2.0.8
CATEGORIES=	net
MASTER_SITES=	http://tools.netsa.cert.org/confluence/download/attachments/16547842/
DISTNAME=	p0flib

MAINTAINER=	setjmp@hotmail.com
COMMENT=	Library of p0f-2.x for yaf as in the CERT NETSA confluence

LICENSE=	LGPL21

WRKSRC_SUBDIR=	libp0f
GNU_CONFIGURE=	YES
CONFIGURE_ARGS=	--sysconfdir=${LOCALBASE}/etc
INSTALL_TARGET=	install-strip
USES=		gmake libtool pathfix pkgconfig tar:tgz
USE_LDCONFIG=	yes

post-stage:
	${RM} -f ${STAGEDIR}${LOCALBASE}/bin/p0f
	${MV} ${STAGEDIR}/etc/p0f ${STAGEDIR}${LOCALBASE}/etc/libp0f
	${RM} -rf ${STAGEDIR}/etc

.include <bsd.port.mk>