- Utilize Makefile.modules.3rd
This commit is contained in:
parent
431dc081a7
commit
114293d141
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=107230
@ -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
|
||||
|
||||
AP_INC+= ${LOCALBASE}/include/mysql
|
||||
AP_LIB+= ${LOCALBASE}/lib/mysql -lmysqlclient
|
||||
|
||||
PORTDOCS= AUTHORS README TODO
|
||||
|
||||
do-build:
|
||||
@(cd ${WRKSRC} && ${APXS} -I ${MYSQL_INC} -L ${MYSQL_LIB} -c ${PORTNAME}.c)
|
||||
|
||||
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>
|
||||
|
@ -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."
|
Loading…
Reference in New Issue
Block a user