Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Nov 2016 17:14:45 +0000 (UTC)
From:      Sofian Brabez <sbz@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r427387 - head/sysutils/goaccess
Message-ID:  <201611291714.uATHEjiw058104@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sbz
Date: Tue Nov 29 17:14:45 2016
New Revision: 427387
URL: https://svnweb.freebsd.org/changeset/ports/427387

Log:
  - Add more OPTIONS and missing html static files
  - Add pkg-plist
  - Bump PORTREVISION
  - Cleanup
  
  Reported by:	bapt
  Differential Revision:	https://reviews.freebsd.org/D8670

Added:
  head/sysutils/goaccess/pkg-plist   (contents, props changed)
Modified:
  head/sysutils/goaccess/Makefile

Modified: head/sysutils/goaccess/Makefile
==============================================================================
--- head/sysutils/goaccess/Makefile	Tue Nov 29 17:12:28 2016	(r427386)
+++ head/sysutils/goaccess/Makefile	Tue Nov 29 17:14:45 2016	(r427387)
@@ -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 <bsd.port.mk>

Added: head/sysutils/goaccess/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/goaccess/pkg-plist	Tue Nov 29 17:14:45 2016	(r427387)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611291714.uATHEjiw058104>