pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/ap2-auth-mysql - Drop maintainership
details: https://anonhg.NetBSD.org/pkgsrc/rev/8637ab6afcbe
branches: trunk
changeset: 555104:8637ab6afcbe
user: cube <cube%pkgsrc.org@localhost>
date: Tue Feb 24 17:51:10 2009 +0000
description:
- Drop maintainership
- Add USE_DESTDIR support, with a very hackish way of working around apxs's
limitations. I'm sure someone will be bothered enough adding the proper
feature to apxs, but in the meantime...
diffstat:
www/ap2-auth-mysql/Makefile | 15 ++++++++++-----
1 files changed, 10 insertions(+), 5 deletions(-)
diffs (48 lines):
diff -r e9da25c022fd -r 8637ab6afcbe www/ap2-auth-mysql/Makefile
--- a/www/ap2-auth-mysql/Makefile Tue Feb 24 16:15:22 2009 +0000
+++ b/www/ap2-auth-mysql/Makefile Tue Feb 24 17:51:10 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2007/06/30 16:09:07 joerg Exp $
+# $NetBSD: Makefile,v 1.18 2009/02/24 17:51:10 cube Exp $
#
DISTNAME= mod_auth_mysql.c
@@ -8,7 +8,7 @@
MASTER_SITES= ftp://ftp.kcilink.com/pub/
DISTFILES= ${DISTNAME}.gz mysql-group-auth.txt
-MAINTAINER= cube%NetBSD.org@localhost
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= ftp://ftp.kcilink.com/pub/
COMMENT= Module to allow Apache 2 authentication against a MySQL database
@@ -20,11 +20,15 @@
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
NO_CONFIGURE= yes
+PKG_DESTDIR_SUPPORT= user-destdir
+
APACHE_MODULE_NAME= mod_auth_mysql
DOC_DIR= ${PREFIX}/share/doc/${APACHE_MODULE_NAME}
PKG_APACHE_ACCEPTED= apache2 apache22
+INSTALLATION_DIRS+= ${DOC_DIR} lib/httpd
+
post-extract:
${MKDIR} ${WRKSRC}
${MV} ${WRKDIR}/${DISTNAME} ${WRKSRC}
@@ -40,9 +44,10 @@
do-install:
cd ${WRKSRC} && \
- ${APXS} -i -n ${APACHE_MODULE_NAME} ${APACHE_MODULE_NAME}.la
- ${INSTALL_DATA_DIR} ${DOC_DIR}
- ${INSTALL_DATA} ${WRKSRC}/mysql-group-auth.txt ${DOC_DIR}
+ libexecdir=$$(${APXS} -q LIBEXECDIR) && \
+ ${APXS} -i -S LIBEXECDIR=${DESTDIR}"$${libexecdir}" \
+ -n ${APACHE_MODULE_NAME} ${APACHE_MODULE_NAME}.la
+ ${INSTALL_DATA} ${WRKSRC}/mysql-group-auth.txt ${DESTDIR}${DOC_DIR}
.include "../../mk/apache.mk"
.include "../../mk/mysql.buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index