mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
39 lines
977 B
Makefile
39 lines
977 B
Makefile
# Created by: clsung
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pflogx
|
|
PORTVERSION= 0.86
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://akldev.free.fr/pflogx/releases/
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION:S/.//}
|
|
|
|
MAINTAINER= clsung@FreeBSD.org
|
|
COMMENT= Simple tool to export pf (packet filter) logs to XML files
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
OPTIONS_DEFINE= EXPAT DOCS
|
|
EXPAT_DESC= Ability to merge new events (require expat)
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MEXPAT}
|
|
LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2
|
|
MAKE_ARGS+= -DWITH_EXPAT \
|
|
EXPAT_INCLUDEDIR=${LOCALBASE}/include \
|
|
EXPAT_LIBDIR=${LOCALBASE}/lib
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/pflogx ${PREFIX}/bin
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/dtd/* ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/xsl/* ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|