1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/www/mod_log_sql2-dtc/Makefile
Mathieu Arnold 72ea7e696b Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:33:55 +00:00

39 lines
926 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: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>