summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorjeh <jeh@FreeBSD.org>2005-01-08 12:37:51 +0000
committerjeh <jeh@FreeBSD.org>2005-01-08 12:37:51 +0000
commit8b13397c7fadc4eaa012d086ad99abcd98c3c2b5 (patch)
tree55cf90a0bf60f22e97040820480e528dfe5a76fd /www
parent1a0a1c3dd9aa6096fd6587897b2672a306934d46 (diff)
downloadFreeBSD-ports-8b13397c7fadc4eaa012d086ad99abcd98c3c2b5.zip
FreeBSD-ports-8b13397c7fadc4eaa012d086ad99abcd98c3c2b5.tar.gz
* Fix PLIST by using www/apache2/Makefile.modules.3rd
* Bump PORTREVISION
Diffstat (limited to 'www')
-rw-r--r--www/mod_auth_mysql/Makefile36
-rw-r--r--www/mod_auth_mysql/pkg-plist8
2 files changed, 11 insertions, 33 deletions
diff --git a/www/mod_auth_mysql/Makefile b/www/mod_auth_mysql/Makefile
index 97347a8..8205ffe 100644
--- a/www/mod_auth_mysql/Makefile
+++ b/www/mod_auth_mysql/Makefile
@@ -6,7 +6,7 @@
PORTNAME= mod_auth_mysql
PORTVERSION= 2.20
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= mod-auth-mysql
@@ -19,26 +19,9 @@ RUN_DEPENDS= ${LOCALBASE}/sbin/${AP_TARGET}:${PORTSDIR}/${APACHE_PORT}
USE_MYSQL= yes
-.include <bsd.port.pre.mk>
-
-.if exists(${APXS})
-APXS_WORKS!= ${APXS} -q TARGET 2>/dev/null || echo no
-.endif
-.if exists(${APXS}) && ${APXS_WORKS} != no
-AP_TARGET!= ${APXS} -q TARGET
-AP_SYSCONF!= ${APXS} -q SYSCONFDIR
-AP_INCLUDE!= ${APXS} -q INCLUDEDIR
-AP_LIBEXEC!= ${APXS} -q LIBEXECDIR
-.else
-AP_TARGET?= httpd
-AP_SYSCONF?= ${PREFIX}/etc/apache
-AP_INCLUDE?= ${PREFIX}/include/apache
-AP_LIBEXEC?= ${PREFIX}/libexec/apache
-.endif
-
-AUTH_MYSQL_DOCS= apache/manual/mod/mod_auth_mysql
-
-PLIST_SUB= AUTH_MYSQL_DOCS="${AUTH_MYSQL_DOCS}"
+WANT_APACHE= 13
+AP_GENPLIST= yes
+PORTDOCS= README USAGE
PKGMESSAGE= ${WRKSRC}/.install_notes
@@ -46,12 +29,15 @@ HAS_CONFIGURE= yes
CONFIGURE_ARGS= --with-mysql=${PREFIX} \
--with-apxs=${APXS}
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/www/apache2/Makefile.modules.3rd"
+
post-install:
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/${AUTH_MYSQL_DOCS}
- @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/${AUTH_MYSQL_DOCS}
- @${INSTALL_DATA} ${WRKSRC}/USAGE ${PREFIX}/share/doc/${AUTH_MYSQL_DOCS}
- @@(cd ${PREFIX}/share/doc && ${LN} -sf ${AUTH_MYSQL_DOCS} mod_auth_mysql)
+ ${MKDIR} ${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+.endfor
.endif
.include <bsd.port.post.mk>
diff --git a/www/mod_auth_mysql/pkg-plist b/www/mod_auth_mysql/pkg-plist
deleted file mode 100644
index faf3d90..0000000
--- a/www/mod_auth_mysql/pkg-plist
+++ /dev/null
@@ -1,8 +0,0 @@
-libexec/apache/libauth_mysql.so
-@exec %D/sbin/apxs -e -a -n auth_mysql %f
-@unexec %D/sbin/apxs -e -A -n auth_mysql %f
-share/doc/%%AUTH_MYSQL_DOCS%%/README
-share/doc/%%AUTH_MYSQL_DOCS%%/USAGE
-@exec (cd %D/share/doc && ln -sf %%AUTH_MYSQL_DOCS%% mod_auth_mysql)
-@unexec rm -rf %D/share/doc/mod_auth_mysql
-@dirrm share/doc/%%AUTH_MYSQL_DOCS%%
OpenPOWER on IntegriCloud