summaryrefslogtreecommitdiff
path: root/www/mod_shapvh
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-04-29 01:36:52 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-04-29 01:36:52 +0000
commit6c4fb43ca21ad8b32dceefc4f2ef5b581a6303d4 (patch)
treed47051ed65f7bd66a6601bd4c62c2af3ee3e5f17 /www/mod_shapvh
parent- Fix pkg-plist (diff)
- USE_APACHE=yes is deprecated
- Convert to AP_FAST_BUILD/AP_GENPLIST PR: ports/133640 Approved by: maintainer timeout (2 weeks) Submitted by: me
Notes
Notes: svn path=/head/; revision=232928
Diffstat (limited to 'www/mod_shapvh')
-rw-r--r--www/mod_shapvh/Makefile15
-rw-r--r--www/mod_shapvh/pkg-plist3
2 files changed, 8 insertions, 10 deletions
diff --git a/www/mod_shapvh/Makefile b/www/mod_shapvh/Makefile
index e86f48e8b0fc..d2a829f9edc4 100644
--- a/www/mod_shapvh/Makefile
+++ b/www/mod_shapvh/Makefile
@@ -15,18 +15,19 @@ EXTRACT_SUFX= .c
MAINTAINER= steven@krx.nl
COMMENT= Apache module that provides virtual hosts from a database
-USE_APACHE= yes
+USE_APACHE= 1.3
USE_MYSQL= yes
+
+AP_FAST_BUILD= yes
+AP_GENPLIST= yes
+
+AP_INC= ${LOCALBASE}/include
+AP_LIB= ${LOCALBASE}/lib/mysql -lmysqlclient
+
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>
diff --git a/www/mod_shapvh/pkg-plist b/www/mod_shapvh/pkg-plist
deleted file mode 100644
index 3b8b695e3672..000000000000
--- a/www/mod_shapvh/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-libexec/apache/mod_shapvh.so
-@exec %D/sbin/apxs -e -A -n shapvh %D/%F
-@unexec %D/sbin/apxs -e -A -n shapvh %D/%F