
mod_log_sql Portfile
By:
manicdee 
on
May 31st, 2011 | syntax:
TCL | size: 1.58 KB | views:
47 | expires: Never
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
name mod_log_sql
version 1.101
categories www
platforms darwin
license Apache
maintainers goldweb.com.au:grail
description SQL logging module for Apache
long_description A module for Apache2 that provides a SQL destination for log entries.
homepage http://www.outoforder.cc/projects/apache/mod_log_sql/
master_sites http://www.outoforder.cc/downloads/mod_log_sql/
use_bzip2 yes
checksums md5 16157f311eba364d8ee467078e7cc086 \
sha1 2b38ede49621ec61e896e1f8aece14970e73c5f3 \
rmd160 a61746e2a8cb62221a5b08f2ab4790d221971355
depends_lib port:mysql5 \
port:apache2
patchfiles patch-configure.diff
configure.args --with-apxs=${prefix}/apache2/bin/apxs \
--disable-framework \
--with-mysql=/opt/local
destroot.violate_mtree yes
pre-destroot {
xinstall -d -m 755 ${destroot}${prefix}/apache2/modules
}
post-install {
ui_msg "########################################################"
ui_msg "# To enable mod_log_sql add"
ui_msg "# LoadModule log_sql_module modules/mod_log_sql.so"
ui_msg "# to your apache2 config file:"
ui_msg "# ${prefix}/apache2/conf/httpd.conf"
ui_msg "########################################################"
}