aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2009-04-29 09:36:52 +0800
committerpgollucci <pgollucci@FreeBSD.org>2009-04-29 09:36:52 +0800
commit900ab51d4c4c746113cef766c6a2bd1c99c909be (patch)
tree4024841c6f7ca4462615191987ee096144c6608b /www
parent74fc901fb6b802b141fe4617738757900c56238f (diff)
downloadfreebsd-ports-gnome-900ab51d4c4c746113cef766c6a2bd1c99c909be.tar.gz
freebsd-ports-gnome-900ab51d4c4c746113cef766c6a2bd1c99c909be.tar.zst
freebsd-ports-gnome-900ab51d4c4c746113cef766c6a2bd1c99c909be.zip
- USE_APACHE=yes is deprecated
- Convert to AP_FAST_BUILD/AP_GENPLIST PR: ports/133640 Approved by: maintainer timeout (2 weeks) Submitted by: me
Diffstat (limited to 'www')
-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