2000-07-09 23:51:01 -04:00
|
|
|
# New ports collection makefile for: p0f
|
|
|
|
# Date created: 2000-06-12
|
|
|
|
# Whom: Trevor Johnson
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= p0f
|
|
|
|
PORTVERSION= 1.7
|
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://lcamtuf.hack.pl/
|
|
|
|
DISTNAME= ${PORTNAME}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2000-10-02 01:39:35 -04:00
|
|
|
MAINTAINER= trevor@FreeBSD.org
|
2000-07-09 23:51:01 -04:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
|
|
|
|
post-patch:
|
2001-01-07 12:49:52 -05:00
|
|
|
@${PERL} -pi -e "s=/etc=${PREFIX}/etc=g ; \
|
|
|
|
s=/etc=${PREFIX}/etc=g" ${WRKSRC}/README
|
2000-07-09 23:51:01 -04:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/p0f ${PREFIX}/bin
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/p0f.fp ${PREFIX}/etc
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/p0f
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/p0f
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|