1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/net/libp0f/Makefile
Mathieu Arnold 8b4093cba5 Do not use post-stage. Use post-install instead.
The only reason to use post-stage is because the port needs to do
"things" at a later time, like some plist manipulation.
While there, fold post-install in do-install targets when they are
defined.

PR:		214780
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-12-02 11:58:21 +00:00

28 lines
684 B
Makefile

# 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-install:
${RM} ${STAGEDIR}${LOCALBASE}/bin/p0f
${MV} ${STAGEDIR}/etc/p0f ${STAGEDIR}${LOCALBASE}/etc/libp0f
${RM} -r ${STAGEDIR}/etc
.include <bsd.port.mk>