From 5e73be7624ba781a3a899655a0c8bf90959346d2 Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Tue, 8 Mar 2016 01:39:39 +0000 Subject: - Add LICENSE - Switch to options helpers - Regenerate patches with `make makepatch` --- sysutils/pflogx/Makefile | 25 ++++++++++++++----------- sysutils/pflogx/files/patch-include__Options.h | 4 ++-- 2 files changed, 16 insertions(+), 13 deletions(-) (limited to 'sysutils') diff --git a/sysutils/pflogx/Makefile b/sysutils/pflogx/Makefile index 6b508b5f9a21..563fc36a159d 100644 --- a/sysutils/pflogx/Makefile +++ b/sysutils/pflogx/Makefile @@ -10,27 +10,30 @@ DISTNAME= ${PORTNAME}_${PORTVERSION:S/.//} MAINTAINER= ports@FreeBSD.org COMMENT= Simple tool to export pf (packet filter) logs to XML files -WRKSRC= ${WRKDIR}/${PORTNAME} +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE -OPTIONS_DEFINE= EXPAT DOCS -EXPAT_DESC= Ability to merge new events (require expat) +BROKEN_sparc64= cannot compile: error in C++ code -.include +WRKSRC= ${WRKDIR}/${PORTNAME} -.if ${PORT_OPTIONS:MEXPAT} -LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2 -MAKE_ARGS+= -DWITH_EXPAT \ - EXPAT_INCLUDEDIR=${LOCALBASE}/include \ - EXPAT_LIBDIR=${LOCALBASE}/lib -.endif +OPTIONS_DEFINE= EXPAT DOCS EXAMPLES -BROKEN_sparc64= cannot compile: error in C++ code +EXPAT_DESC= Ability to merge new events (require expat) +EXPAT_LIB_DEPENDS= libexpat.so:${PORTSDIR}/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} diff --git a/sysutils/pflogx/files/patch-include__Options.h b/sysutils/pflogx/files/patch-include__Options.h index 6f786f9c0a27..e1e1613c2a09 100644 --- a/sysutils/pflogx/files/patch-include__Options.h +++ b/sysutils/pflogx/files/patch-include__Options.h @@ -1,5 +1,5 @@ ---- ./include/Options.h.orig 2014-08-12 10:59:56.000000000 -0400 -+++ ./include/Options.h 2014-08-12 11:00:09.000000000 -0400 +--- include/Options.h.orig 2006-04-25 19:13:29 UTC ++++ include/Options.h @@ -33,6 +33,7 @@ #include -- cgit