8b4093cba5
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
27 lines
684 B
Makefile
27 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>
|