2013-09-21 01:36:50 +02:00
|
|
|
# Created by: Marc G. Fournier <scrappy@FreeBSD.org>
|
2006-11-20 07:13:45 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mod_log_sql
|
2009-12-27 02:45:01 +01:00
|
|
|
PORTVERSION= 1.101
|
2014-08-26 04:09:46 +02:00
|
|
|
PORTREVISION= 7
|
2006-11-20 07:13:45 +01:00
|
|
|
CATEGORIES= www databases
|
|
|
|
MASTER_SITES= http://www.outoforder.cc/downloads/${PORTNAME}/
|
2010-05-25 22:17:37 +02:00
|
|
|
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
|
2006-11-28 23:20:54 +01:00
|
|
|
PKGNAMESUFFIX= -dtc
|
2006-11-20 07:13:45 +01:00
|
|
|
|
2009-07-10 02:36:46 +02:00
|
|
|
MAINTAINER= apache@FreeBSD.org
|
2006-11-20 07:13:45 +01:00
|
|
|
COMMENT= Allows Apache to log to a MySQL database
|
|
|
|
|
2014-03-09 16:28:37 +01:00
|
|
|
OPTIONS_DEFINE= DBI
|
|
|
|
DBI_DESC= depend on databases/libdbi
|
|
|
|
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
DBI_CONFIGURE_ON= --with-dbi=${LOCALBASE}
|
|
|
|
DBI_CONFIGURE_OFF= --without-dbi
|
2016-04-01 16:33:55 +02:00
|
|
|
DBI_LIB_DEPENDS= libdbi.so:databases/libdbi
|
2009-05-21 22:45:34 +02:00
|
|
|
|
2006-11-20 07:13:45 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2014-03-16 15:35:55 +01:00
|
|
|
USES= gmake tar:bzip2
|
2012-09-22 23:15:50 +02:00
|
|
|
USE_APACHE= 22
|
2006-11-20 07:13:45 +01:00
|
|
|
USE_MYSQL= yes
|
|
|
|
|
2014-03-09 16:28:37 +01:00
|
|
|
CONFIGURE_ARGS+= --with-apxs=${APXS}
|
2014-06-11 16:49:59 +02:00
|
|
|
LIBS+= -L${LOCALBASE}/lib -L${LOCALBASE}/lib/mysql
|
2014-03-09 16:28:37 +01:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's|@APXS_STAGE@|-S LIBEXECDIR=${STAGEDIR}${PREFIX}/${APACHEMODDIR}|' \
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}
|
2006-11-20 07:13:45 +01:00
|
|
|
|
2014-06-11 16:49:59 +02:00
|
|
|
.include <bsd.port.mk>
|