From 93a1c73300b1182c15896fddda144d9767110458 Mon Sep 17 00:00:00 2001 From: sbz Date: Tue, 29 Nov 2016 17:14:45 +0000 Subject: - Add more OPTIONS and missing html static files - Add pkg-plist - Bump PORTREVISION - Cleanup Reported by: bapt Differential Revision: https://reviews.freebsd.org/D8670 --- sysutils/goaccess/Makefile | 30 +++++++++++++++++------------- sysutils/goaccess/pkg-plist | 11 +++++++++++ 2 files changed, 28 insertions(+), 13 deletions(-) create mode 100644 sysutils/goaccess/pkg-plist (limited to 'sysutils/goaccess') diff --git a/sysutils/goaccess/Makefile b/sysutils/goaccess/Makefile index 39dbd3f7e49b..57d08c18fe42 100644 --- a/sysutils/goaccess/Makefile +++ b/sysutils/goaccess/Makefile @@ -3,6 +3,7 @@ PORTNAME= goaccess PORTVERSION= 1.1.1 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://tar.goaccess.io/ @@ -10,39 +11,42 @@ MAINTAINER= sbz@FreeBSD.org COMMENT= Real-time Apache web log analyzer LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes -USE_GNOME= glib20 USES= pkgconfig CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -PLIST_FILES= bin/${PORTNAME} \ - man/man1/${PORTNAME}.1.gz - -CONFIGURE_ARGS= --enable-utf8 - PORTDOCS= AUTHORS COPYING ChangeLog NEWS README TODO -OPTIONS_DEFINE= DOCS GEOIP TOKYOCABINET -OPTIONS_DEFAULT= GEOIP +OPTIONS_DEFINE= DOCS DEBUG GEOIP UTF8 +OPTIONS_DEFAULT= GEOIP UTF8 +OPTIONS_RADIO= TOKYOCABINET +OPTIONS_RADIO_TOKYOCABINET= TOKYOCABINET_BTREE TOKYOCABINET_MHASH + +DEBUG_CONFIGURE_ON= --enable-debug +UTF8_CONFIGURE_ON= --enable-utf8 GEOIP_CONFIGURE_ON= --enable-geoip GEOIP_LIB_DEPENDS= libGeoIP.so:net/GeoIP TOKYOCABINET_DESC= Tokyo Cabinet support -TOKYOCABINET_CONFIGURE_ON= --enable-tcb=btree +TOKYOCABINET_BTREE_DESC= Storage using on-disk B+ Tree +TOKYOCABINET_MHASH_DESC= Storage using on-memory hash database +TOKYOCABINET_BTREE_CONFIGURE_ON= --enable-tcb=btree +TOKYOCABINET_MHASH_CONFIGURE_ON= --enable-tcb=memhash TOKYOCABINET_LIB_DEPENDS= libtokyocabinet.so:databases/tokyocabinet -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1 - do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} +post-install: + ${MV} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf \ + ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample + .include diff --git a/sysutils/goaccess/pkg-plist b/sysutils/goaccess/pkg-plist new file mode 100644 index 000000000000..4278a4668521 --- /dev/null +++ b/sysutils/goaccess/pkg-plist @@ -0,0 +1,11 @@ +bin/goaccess +@sample etc/goaccess.conf.sample +man/man1/goaccess.1.gz +%%PORTDOCS%%%%DOCSDIR%%/app.css +%%PORTDOCS%%%%DOCSDIR%%/app.js +%%PORTDOCS%%%%DOCSDIR%%/bootstrap.min.css +%%PORTDOCS%%%%DOCSDIR%%/charts.js +%%PORTDOCS%%%%DOCSDIR%%/d3.v3.min.js +%%PORTDOCS%%%%DOCSDIR%%/fa.min.css +%%PORTDOCS%%%%DOCSDIR%%/hogan.min.js +%%PORTDOCS%%%%DOCSDIR%%/tpls.html -- cgit