aboutsummaryrefslogtreecommitdiff
path: root/www/mod_vdbh
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-04-16 14:15:55 +0000
committerClement Laforet <clement@FreeBSD.org>2004-04-16 14:15:55 +0000
commit114293d14122377be4607591a23bf745d0d3eb2e (patch)
treeae193e6c7a968086751aad828aca01e75fef7eed /www/mod_vdbh
parent431dc081a7458ae793ac90c8f0786763cee976b1 (diff)
downloadports-114293d14122377be4607591a23bf745d0d3eb2e.tar.gz
ports-114293d14122377be4607591a23bf745d0d3eb2e.zip
Notes
Diffstat (limited to 'www/mod_vdbh')
-rw-r--r--www/mod_vdbh/Makefile23
-rw-r--r--www/mod_vdbh/pkg-plist4
2 files changed, 10 insertions, 17 deletions
diff --git a/www/mod_vdbh/Makefile b/www/mod_vdbh/Makefile
index 9499be890d10..783f192c3cf6 100644
--- a/www/mod_vdbh/Makefile
+++ b/www/mod_vdbh/Makefile
@@ -14,24 +14,21 @@ DIST_SUBDIR= apache
MAINTAINER= clement@FreeBSD.org
COMMENT= Allows mass virtual hosting using a MySQL backend with Apache 2.0.x
-USE_APACHE= YES
-WITH_APACHE2= YES
-
+WANT_APACHE= 2
+AP_FAST_BUILD= YES
+AP_GENPLIST= YES
USE_MYSQL= YES
-
WRKSRC= ${WRKDIR}/${PORTNAME}
-APXS?= ${LOCALBASE}/sbin/apxs
-MYSQL_INC?= ${LOCALBASE}/include/mysql
-MYSQL_LIB?= ${LOCALBASE}/lib/mysql -lmysqlclient
-PORTDOCS= AUTHORS README TODO
+AP_INC+= ${LOCALBASE}/include/mysql
+AP_LIB+= ${LOCALBASE}/lib/mysql -lmysqlclient
-do-build:
- @(cd ${WRKSRC} && ${APXS} -I ${MYSQL_INC} -L ${MYSQL_LIB} -c ${PORTNAME}.c)
+PORTDOCS= AUTHORS README TODO
-do-install:
- @(cd ${WRKSRC} && ${APXS} -i -A -n ${PORTNAME:S/mod_//} ${PORTNAME}.la)
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/www/apache2/Makefile.modules.3rd"
+post-install:
.if !defined (NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
. for f in ${PORTDOCS}
@@ -39,4 +36,4 @@ do-install:
. endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/www/mod_vdbh/pkg-plist b/www/mod_vdbh/pkg-plist
deleted file mode 100644
index d9fb067382bc..000000000000
--- a/www/mod_vdbh/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-libexec/apache2/mod_vdbh.so
-@exec %D/sbin/apxs -e -A -n vdbh %D/%f
-@unexec %D/sbin/apxs -e -A -n vdbh %D/%f
-@unexec echo "===> If you do not plan on reinstalling mod_vdbh, you must manually remove"; echo "===> references to it in httpd.conf."