2001-11-12 04:24:59 +01:00
|
|
|
# New ports collection makefile for: mod_mysqluserdir
|
|
|
|
# Date created: 12 November 2001
|
|
|
|
# Whom: Anders Nordby <anders@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mod_mysqluserdir
|
|
|
|
PORTVERSION= 0.1
|
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= ftp://sys.estpak.ee/pub/ \
|
|
|
|
ftp://ftp.nuug.no/pub/anders/distfiles/
|
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
|
|
|
2004-08-18 18:21:55 +02:00
|
|
|
MAINTAINER= apache@FreeBSD.org
|
2003-02-20 20:21:36 +01:00
|
|
|
COMMENT= An Apache module to make Apache get userdirs from MySQL
|
2001-11-12 04:24:59 +01:00
|
|
|
|
|
|
|
LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
|
|
|
|
|
2003-11-07 10:12:58 +01:00
|
|
|
USE_APACHE= yes
|
2001-11-12 04:24:59 +01:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
(cd ${WRKSRC} && ${APXS} -c -I${LOCALBASE}/include \
|
|
|
|
-L${LOCALBASE}/lib/mysql -lmysqlclient mod_mysqluserdir.c)
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
(cd ${WRKSRC} && ${APXS} -i -A -n 'userdir' mod_mysqluserdir.so)
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/README ${DOCSDIR}/
|
|
|
|
.endif
|
|
|
|
${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|