mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
f09d798832
- Bump dependent ports as .so version has changed Approved by: portmgr blanket
39 lines
938 B
Makefile
39 lines
938 B
Makefile
# Created by: Marc G. Fournier <scrappy@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mod_log_sql
|
|
PORTVERSION= 1.101
|
|
PORTREVISION= 7
|
|
CATEGORIES= www databases
|
|
MASTER_SITES= http://www.outoforder.cc/downloads/${PORTNAME}/
|
|
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
|
|
PKGNAMESUFFIX= -dtc
|
|
|
|
MAINTAINER= apache@FreeBSD.org
|
|
COMMENT= Allows Apache to log to a MySQL database
|
|
|
|
OPTIONS_DEFINE= DBI
|
|
DBI_DESC= depend on databases/libdbi
|
|
|
|
OPTIONS_SUB= yes
|
|
DBI_CONFIGURE_ON= --with-dbi=${LOCALBASE}
|
|
DBI_CONFIGURE_OFF= --without-dbi
|
|
DBI_LIB_DEPENDS= libdbi.so:${PORTSDIR}/databases/libdbi
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= gmake tar:bzip2
|
|
USE_APACHE= 22
|
|
USE_MYSQL= yes
|
|
|
|
CONFIGURE_ARGS+= --with-apxs=${APXS}
|
|
LIBS+= -L${LOCALBASE}/lib -L${LOCALBASE}/lib/mysql
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|@APXS_STAGE@|-S LIBEXECDIR=${STAGEDIR}${PREFIX}/${APACHEMODDIR}|' \
|
|
${WRKSRC}/Makefile.in
|
|
|
|
pre-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}
|
|
|
|
.include <bsd.port.mk>
|