2001-11-12 02:51:50 +00:00
|
|
|
# New ports collection makefile for: mod_mylo
|
|
|
|
# Date created: 12 November 2001
|
|
|
|
# Whom: Anders Nordby <anders@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mod_mylo
|
2003-09-07 12:22:15 +00:00
|
|
|
PORTVERSION= 0.2.2
|
2001-11-12 02:51:50 +00:00
|
|
|
CATEGORIES= www
|
2001-12-09 02:12:05 +00:00
|
|
|
MASTER_SITES= http://www.pvv.org/~oyving/code/mod_mylo/ \
|
2001-11-12 02:51:50 +00:00
|
|
|
ftp://ftp.nuug.no/pub/anders/distfiles/
|
|
|
|
|
2002-12-15 23:03:07 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:21:36 +00:00
|
|
|
COMMENT= An Apache module to make Apache log to MySQL
|
2001-11-12 02:51:50 +00:00
|
|
|
|
2003-11-07 09:12:58 +00:00
|
|
|
USE_APACHE= yes
|
2003-08-28 12:57:52 +00:00
|
|
|
USE_MYSQL= YES
|
2001-11-12 02:51:50 +00:00
|
|
|
|
|
|
|
DOCS= mod_mylo.sql README
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
(cd ${WRKSRC} && ${APXS} -c -I${LOCALBASE}/include \
|
|
|
|
-L${LOCALBASE}/lib/mysql -lmysqlclient mod_mylo.c)
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
(cd ${WRKSRC} && ${APXS} -i -A -n 'mylo' mod_mylo.so)
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}
|
|
|
|
.for f in ${DOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|