aboutsummaryrefslogtreecommitdiff
path: root/www/mod_auth_cookie_mysql2
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2008-01-27 20:36:18 +0000
committerClement Laforet <clement@FreeBSD.org>2008-01-27 20:36:18 +0000
commitfc0f71d5106b43740eb3345568b86c014e7b825d (patch)
tree9473d6c11057ac58f3471530fb53dd9707749fd3 /www/mod_auth_cookie_mysql2
parent0f9cb65ac9581507e71d131fca46942903c34865 (diff)
downloadports-fc0f71d5106b43740eb3345568b86c014e7b825d.tar.gz
ports-fc0f71d5106b43740eb3345568b86c014e7b825d.zip
Notes
Diffstat (limited to 'www/mod_auth_cookie_mysql2')
-rw-r--r--www/mod_auth_cookie_mysql2/Makefile17
-rw-r--r--www/mod_auth_cookie_mysql2/distinfo6
2 files changed, 9 insertions, 14 deletions
diff --git a/www/mod_auth_cookie_mysql2/Makefile b/www/mod_auth_cookie_mysql2/Makefile
index f9e6899c6df4..9a6ca0f00a4f 100644
--- a/www/mod_auth_cookie_mysql2/Makefile
+++ b/www/mod_auth_cookie_mysql2/Makefile
@@ -5,28 +5,23 @@
# $FreeBSD$
PORTNAME= mod_auth_cookie_mysql2
-PORTVERSION= 0.7
+PORTVERSION= 0.9.a
CATEGORIES= www
MASTER_SITES= http://home.digithi.de/digithi/dev/mod_auth_cookie_mysql/
-DISTNAME= ${PORTNAME}_${PORTVERSION}
+DISTNAME= ${PORTNAME}_0.9a
DIST_SUBDIR= apache20
MAINTAINER= apache@FreeBSD.org
COMMENT= Allows authentication against a MySQL database via a secure cookie
USE_MYSQL= YES
-
USE_APACHE= 20+
AP_FAST_BUILD= YES
AP_GENPLIST= YES
-AP_INC?= ${LOCALBASE}/include/mysql
-AP_LIB?= ${LOCALBASE}/lib/mysql -lmysqlclient -lz
-PORTDOCS= mod_auth_cookie_mysql.html
+AP_EXTRAS= -DMODULE_NAME=${SHORTMODNAME} -DMODULE_NAME_module=${SHORTMODNAME}_module
+AP_INC= `${LOCALBASE}/bin/mysql_config --include | ${SED} -e 's/^-I//'`
+AP_LIB= `${LOCALBASE}/bin/mysql_config --libs | ${SED} -e 's/^-L//'`
+SRC_FILE= mod_auth_cookie_sql2.c mod_auth_cookie_sql2_mysql.c
-post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
-.endif
.include <bsd.port.mk>
diff --git a/www/mod_auth_cookie_mysql2/distinfo b/www/mod_auth_cookie_mysql2/distinfo
index adce1eec3014..65eeb6d0abdf 100644
--- a/www/mod_auth_cookie_mysql2/distinfo
+++ b/www/mod_auth_cookie_mysql2/distinfo
@@ -1,3 +1,3 @@
-MD5 (apache20/mod_auth_cookie_mysql2_0.7.tar.gz) = cb2869d2bff22f99d48bea11004a18eb
-SHA256 (apache20/mod_auth_cookie_mysql2_0.7.tar.gz) = f5aedec0b4873bce5eaf92d8b431ecfeb894dcfc75d148e42c5450abfc2989f5
-SIZE (apache20/mod_auth_cookie_mysql2_0.7.tar.gz) = 7954
+MD5 (apache20/mod_auth_cookie_mysql2_0.9a.tar.gz) = 15c359e7157d032bbc1c1322181a59f6
+SHA256 (apache20/mod_auth_cookie_mysql2_0.9a.tar.gz) = 8a4c6f838d7e793b891096f23f9a76ffc13e3d4d2f3925676276bdc570b4840e
+SIZE (apache20/mod_auth_cookie_mysql2_0.9a.tar.gz) = 7592