diff options
Diffstat (limited to 'www/mod_shapvh')
-rw-r--r-- | www/mod_shapvh/Makefile | 15 | ||||
-rw-r--r-- | www/mod_shapvh/pkg-plist | 3 |
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 |