summaryrefslogtreecommitdiff
path: root/www/goaccess
diff options
context:
space:
mode:
authorwiedi <wiedi@pkgsrc.org>2014-01-27 21:40:38 +0000
committerwiedi <wiedi@pkgsrc.org>2014-01-27 21:40:38 +0000
commit2160cf193dff6cbeccf087bf35f9e0f63761bbb2 (patch)
treea7acc216af299a08cc92aba5acd6e7f86a86ee1d /www/goaccess
parentb73aa77738a2c3c8421b98d660433a6e14e3bdc6 (diff)
downloadpkgsrc-2160cf193dff6cbeccf087bf35f9e0f63761bbb2.tar.gz
Import goaccess-0.7 as www/goaccess
GoAccess is an open source real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems. It provides fast and valuable HTTP statistics for system administrators that require a visual server report on the fly.
Diffstat (limited to 'www/goaccess')
-rw-r--r--www/goaccess/DESCR4
-rw-r--r--www/goaccess/Makefile23
-rw-r--r--www/goaccess/PLIST3
-rw-r--r--www/goaccess/distinfo5
-rw-r--r--www/goaccess/options.mk19
5 files changed, 54 insertions, 0 deletions
diff --git a/www/goaccess/DESCR b/www/goaccess/DESCR
new file mode 100644
index 00000000000..71979487068
--- /dev/null
+++ b/www/goaccess/DESCR
@@ -0,0 +1,4 @@
+GoAccess is an open source real-time web log analyzer and interactive
+viewer that runs in a terminal in *nix systems. It provides fast and
+valuable HTTP statistics for system administrators that require a visual
+server report on the fly.
diff --git a/www/goaccess/Makefile b/www/goaccess/Makefile
new file mode 100644
index 00000000000..565733b3379
--- /dev/null
+++ b/www/goaccess/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2014/01/27 21:40:38 wiedi Exp $
+
+DISTNAME= goaccess-0.7
+CATEGORIES= www
+MASTER_SITES= https://downloads.sourceforge.net/project/goaccess/0.7/
+
+MAINTAINER= wiedi@frubar.net
+HOMEPAGE= http://goaccess.prosoftcorp.com/
+COMMENT= Real-time web log analyzer
+LICENSE= gnu-gpl-v2
+
+GNU_CONFIGURE= yes
+
+USE_TOOLS+= pkg-config
+USE_NCURSES= yes
+
+LIBS.SunOS+= -lsocket -lnsl
+CPPFLAGS.SunOS+= -D__EXTENSIONS__
+
+.include "options.mk"
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/goaccess/PLIST b/www/goaccess/PLIST
new file mode 100644
index 00000000000..9870932f4f7
--- /dev/null
+++ b/www/goaccess/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2014/01/27 21:40:38 wiedi Exp $
+bin/goaccess
+man/man1/goaccess.1
diff --git a/www/goaccess/distinfo b/www/goaccess/distinfo
new file mode 100644
index 00000000000..5101da98a86
--- /dev/null
+++ b/www/goaccess/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/01/27 21:40:38 wiedi Exp $
+
+SHA1 (goaccess-0.7.tar.gz) = 1a887dc7182c91726137aaf6a4627efdd82d988e
+RMD160 (goaccess-0.7.tar.gz) = 9c074afb04b656ca6c089d5999c3138abb854f45
+Size (goaccess-0.7.tar.gz) = 159112 bytes
diff --git a/www/goaccess/options.mk b/www/goaccess/options.mk
new file mode 100644
index 00000000000..c1eba0601ab
--- /dev/null
+++ b/www/goaccess/options.mk
@@ -0,0 +1,19 @@
+# $NetBSD: options.mk,v 1.1 2014/01/27 21:40:38 wiedi Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.goaccess
+PKG_SUPPORTED_OPTIONS= geoip wide-curses
+PKG_SUGGESTED_OPTIONS= wide-curses
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mgeoip)
+. include "../../net/GeoIP/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-geoip
+.endif # option geoip
+
+.if !empty(PKG_OPTIONS:Mwide-curses)
+. include "../../devel/ncursesw/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-utf8
+.else
+. include "../../devel/ncurses/buildlink3.mk"
+.endif # option wide-curses