diff options
author | Pete Fritchman <petef@FreeBSD.org> | 2001-11-25 09:22:45 +0000 |
---|---|---|
committer | Pete Fritchman <petef@FreeBSD.org> | 2001-11-25 09:22:45 +0000 |
commit | b4f2244de51e471b013dd0235d99e2b60cc44bdf (patch) | |
tree | 709535d3f66202b5b3112075ffa1a09a99aea2db /www/mod_log_mysql/Makefile | |
parent | f072ef3d87faf4654323a314cbbd66a75d37e1b3 (diff) |
Notes
Diffstat (limited to 'www/mod_log_mysql/Makefile')
-rw-r--r-- | www/mod_log_mysql/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/www/mod_log_mysql/Makefile b/www/mod_log_mysql/Makefile new file mode 100644 index 000000000000..86eaadbe791c --- /dev/null +++ b/www/mod_log_mysql/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: apache mod_log_mysql +# Date created: 2001/11/22 +# Whom: lev@serebryakov.spb.ru +# +# $FreeBSD$ + +PORTNAME= mod_log_mysql +PORTVERSION= 1.09 +CATEGORIES= www databases +MASTER_SITES= http://www.grubbybaby.com/mod_log_mysql/ +DISTNAME= ${PORTNAME} + +MAINTAINER= lev@serebryakov.spb.ru + +BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/${AP_PORT} +LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client +RUN_DEPENDS= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/${AP_PORT} + +AP_PORT?= www/apache13 +APXS?= ${LOCALBASE}/sbin/apxs + +do-build: + @cd ${WRKSRC} && ${APXS} -c -o ${PORTNAME}.so -I${LOCALBASE}/include \ + -L${LOCALBASE}/lib/mysql -lmysqlclient ${PORTNAME}.c + +do-install: + cd ${WRKSRC} && ${APXS} -i -n ${PORTNAME:S/^mod_//} -A ${PORTNAME}.so +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for file in CONFIGURATION INSTALL README access_log.sql make_combined_log.pl + ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> |