1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/www/mod_sqlinclude/Makefile
Ade Lovett 7e52725f2a Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2003-03-07 06:14:21 +00:00

39 lines
1.0 KiB
Makefile

# New ports collection makefile for: mod_sqlinclude
# Date created: October 25 2001
# Whom: Anders Nordby <anders@fix.no>
#
# $FreeBSD$
PORTNAME= mod_sqlinclude
PORTVERSION= 1.2
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME:S/_/-/}
DISTNAME= ${PORTNAME}_${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= anders@FreeBSD.org
COMMENT= An Apache module implementing config inclusion from MySQL databases
BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13
LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13
APXS?= ${LOCALBASE}/sbin/apxs
DOCS= CHANGES.txt README.txt TODO.txt
do-build:
(cd ${WRKSRC} && ${APXS} -c -I${LOCALBASE}/include \
-L${LOCALBASE}/lib/mysql -lmysqlclient mod_sqlinclude.c)
do-install:
(cd ${WRKSRC} && ${APXS} -i -A -n 'sqlinclude' mod_sqlinclude.so)
.if !defined(NOPORTDOCS)
@${INSTALL} -d -m 0755 ${DOCSDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
.endfor
.endif
.include <bsd.port.mk>