summaryrefslogtreecommitdiff
path: root/www/mod_shapvh/Makefile
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-11-30 20:45:55 +0000
committerClement Laforet <clement@FreeBSD.org>2004-11-30 20:45:55 +0000
commitf0b77951fe9d166c8878abdc65df6b7e842df2c5 (patch)
tree79491de4e7ec17582784e7bf3c5d1883008c081d /www/mod_shapvh/Makefile
parento) Cosmetic corrections in OPTIONs handling (diff)
- 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>
Notes
Notes: svn path=/head/; revision=122836
Diffstat (limited to 'www/mod_shapvh/Makefile')
-rw-r--r--www/mod_shapvh/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/www/mod_shapvh/Makefile b/www/mod_shapvh/Makefile
new file mode 100644
index 000000000000..04b59e69663f
--- /dev/null
+++ b/www/mod_shapvh/Makefile
@@ -0,0 +1,32 @@
+# 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>