mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
f0b77951fe
MySQL database. http://www.crazygreek.co.uk/content/mod_shapvh PR: ports/74038 Submitted by: Steven Looman <steven@krx.nl>
33 lines
719 B
Makefile
33 lines
719 B
Makefile
# New ports collection makefile for: mod_shapvh
|
|
# Date created: 17 Nov 2004
|
|
# Whom: Steven Looman <steven@krx.nl>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mod_shapvh
|
|
PORTVERSION= 1.0
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.crazygreek.co.uk/downloads/
|
|
DISTNAME= ${PORTNAME}
|
|
EXTRACT_SUFX= .c
|
|
|
|
MAINTAINER= steven@krx.nl
|
|
COMMENT= Apache module that provides virtual hosts from a database
|
|
|
|
USE_APACHE= yes
|
|
USE_MYSQL= yes
|
|
NO_WRKSUBDIR= yes
|
|
|
|
do-extract:
|
|
${MKDIR} ${WRKSRC}
|
|
${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
|
|
|
|
do-build:
|
|
@cd ${WRKSRC} && ${APXS} -c -l mysqlclient -I ${PREFIX}/include -L ${PREFIX}/lib/mysql ${PORTNAME}.c
|
|
|
|
do-install:
|
|
${APXS} -i -A -n ${PORTNAME:S/^mod_//g} ${WRKSRC}/${PORTNAME}.so
|
|
|
|
.include <bsd.port.mk>
|