1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/www/mod_shapvh/Makefile
Clement Laforet f0b77951fe - Add mod_shapvh 1.0, Apache module that provides virtual hosts from a
MySQL database.

  http://www.crazygreek.co.uk/content/mod_shapvh

PR:		ports/74038
Submitted by:	Steven Looman <steven@krx.nl>
2004-11-30 20:45:55 +00:00

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>