aboutsummaryrefslogtreecommitdiff
path: root/www/asql
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-11-21 20:35:50 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-11-21 20:35:50 +0000
commitbae76a250c00630841049a556b148c2b34d0277a (patch)
treecfe70e2bd39cc402aea845e494540594ddc55866 /www/asql
parentb7e945cdc3205cd28c543a5290f9bdab806b191e (diff)
downloadports-bae76a250c00630841049a556b148c2b34d0277a.tar.gz
ports-bae76a250c00630841049a556b148c2b34d0277a.zip
Notes
Diffstat (limited to 'www/asql')
-rw-r--r--www/asql/Makefile24
-rw-r--r--www/asql/distinfo3
-rw-r--r--www/asql/files/patch-Makefile14
-rw-r--r--www/asql/pkg-descr6
4 files changed, 47 insertions, 0 deletions
diff --git a/www/asql/Makefile b/www/asql/Makefile
new file mode 100644
index 000000000000..2d4703998658
--- /dev/null
+++ b/www/asql/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: asql
+# Date created: 2008-10-15
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= asql
+PORTVERSION= 0.9
+CATEGORIES= www
+MASTER_SITES= http://www.steve.org.uk/Software/asql/
+
+MAINTAINER= gslin@gslin.org
+COMMENT= Query Apache logfiles via SQL
+
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBD/SQLite.pm:${PORTSDIR}/databases/p5-DBD-SQLite \
+ ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \
+ ${SITE_PERL}/Term/ReadLine/Perl.pm:${PORTSDIR}/devel/p5-ReadLine-Perl
+
+NO_BUILD= yes
+PLIST_FILES= bin/asql
+USE_PERL5= yes
+
+.include <bsd.port.mk>
diff --git a/www/asql/distinfo b/www/asql/distinfo
new file mode 100644
index 000000000000..1c4787f5a002
--- /dev/null
+++ b/www/asql/distinfo
@@ -0,0 +1,3 @@
+MD5 (asql-0.9.tar.gz) = fe709edc40618848862b61a10d0c1e9c
+SHA256 (asql-0.9.tar.gz) = 1cbc64c7d9431c06402e5c2c15b53d315f876ff53bc5a3ac99b16eaac68b5572
+SIZE (asql-0.9.tar.gz) = 12777
diff --git a/www/asql/files/patch-Makefile b/www/asql/files/patch-Makefile
new file mode 100644
index 000000000000..b92a13041770
--- /dev/null
+++ b/www/asql/files/patch-Makefile
@@ -0,0 +1,14 @@
+--- Makefile.orig 2008-10-15 09:37:42.000000000 +0800
++++ Makefile 2008-10-15 09:38:00.000000000 +0800
+@@ -40,9 +40,8 @@
+ hg diff 2>/dev/null
+
+ install:
+- mkdir -p ${PREFIX}/usr/bin/
+- cp bin/asql ${PREFIX}/usr/bin/asql
+- chmod 755 ${PREFIX}/usr/bin/asql
++ cp bin/asql ${PREFIX}/bin/asql
++ chmod 755 ${PREFIX}/bin/asql
+
+
+ release: clean commands
diff --git a/www/asql/pkg-descr b/www/asql/pkg-descr
new file mode 100644
index 000000000000..31583432dd4e
--- /dev/null
+++ b/www/asql/pkg-descr
@@ -0,0 +1,6 @@
+asql is a simple console shell which allows you to run SQL queries
+against an Apache logfile, something that can be very useful -
+especially at getting information which is not easily available via
+static logfile analysers.
+
+WWW: http://www.steve.org.uk/Software/asql/