diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-03-08 09:39:39 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-03-08 09:39:39 +0800 |
commit | 5e73be7624ba781a3a899655a0c8bf90959346d2 (patch) | |
tree | 6c714700cec73b04af4f5e1b2c7fd8314a63b0ac /sysutils | |
parent | dac8a60d8297939e0cea012403e58fd2531f0a67 (diff) | |
download | freebsd-ports-gnome-5e73be7624ba781a3a899655a0c8bf90959346d2.tar.gz freebsd-ports-gnome-5e73be7624ba781a3a899655a0c8bf90959346d2.tar.zst freebsd-ports-gnome-5e73be7624ba781a3a899655a0c8bf90959346d2.zip |
- Add LICENSE
- Switch to options helpers
- Regenerate patches with `make makepatch`
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/pflogx/Makefile | 25 | ||||
-rw-r--r-- | sysutils/pflogx/files/patch-include__Options.h | 4 |
2 files changed, 16 insertions, 13 deletions
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 <bsd.port.options.mk> +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 <string> |