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/pflogx/Makefile | |
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/pflogx/Makefile')
-rw-r--r-- | sysutils/pflogx/Makefile | 25 |
1 files changed, 14 insertions, 11 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} |