1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00
freebsd-ports/sysutils/pflogx/Makefile
Peter Libassi 02cd17e8ff sysutils/pflogx: unbreak, fix compiler errors and warnings
Submitter becomes maintainer.

PR:		269371
2023-05-12 01:23:27 +02:00

38 lines
1.0 KiB
Makefile

PORTNAME= pflogx
PORTVERSION= 0.86
CATEGORIES= sysutils
MASTER_SITES= http://akldev.free.fr/pflogx/releases/
DISTNAME= ${PORTNAME}_${PORTVERSION:S/.//}
MAINTAINER= peter@libassi.se
COMMENT= Simple tool to export pf (packet filter) logs to XML files
WWW= http://akldev.free.fr/pflogx/
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
WRKSRC= ${WRKDIR}/${PORTNAME}
OPTIONS_DEFINE= EXPAT DOCS EXAMPLES
EXPAT_DESC= Ability to merge new events (require expat)
EXPAT_LIB_DEPENDS= libexpat.so:textproc/expat2
EXPAT_MAKE_ARGS= -DWITH_EXPAT \
EXPAT_INCLUDEDIR=${LOCALBASE}/include \
EXPAT_LIBDIR=${LOCALBASE}/lib
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/pflogx ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/LICENSE ${STAGEDIR}${DOCSDIR}
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/dtd/* ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/xsl/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>