diff options
author | clement <clement@FreeBSD.org> | 2004-04-16 22:15:55 +0800 |
---|---|---|
committer | clement <clement@FreeBSD.org> | 2004-04-16 22:15:55 +0800 |
commit | 8394bf59e547dcb050abe8c1a0b03ec1accecf7c (patch) | |
tree | 1b312a01c54575bc4e470d98e87820dc1f42b5fb /www | |
parent | 16b9913c236af0126d168b1518681fb8328b385f (diff) | |
download | freebsd-ports-gnome-8394bf59e547dcb050abe8c1a0b03ec1accecf7c.tar.gz freebsd-ports-gnome-8394bf59e547dcb050abe8c1a0b03ec1accecf7c.tar.zst freebsd-ports-gnome-8394bf59e547dcb050abe8c1a0b03ec1accecf7c.zip |
- Utilize Makefile.modules.3rd
Diffstat (limited to 'www')
-rw-r--r-- | www/mod_vdbh/Makefile | 23 | ||||
-rw-r--r-- | www/mod_vdbh/pkg-plist | 4 |
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." |