|
Lines 5-11
Link Here
|
| 5 |
# $FreeBSD: ports/www/mod_auth_cookie_mysql2/Makefile,v 1.8 2007/03/18 17:17:42 clement Exp $ |
5 |
# $FreeBSD: ports/www/mod_auth_cookie_mysql2/Makefile,v 1.8 2007/03/18 17:17:42 clement Exp $ |
| 6 |
|
6 |
|
| 7 |
PORTNAME= mod_auth_cookie_mysql2 |
7 |
PORTNAME= mod_auth_cookie_mysql2 |
| 8 |
PORTVERSION= 0.7 |
8 |
PORTVERSION= 0.9a |
| 9 |
CATEGORIES= www |
9 |
CATEGORIES= www |
| 10 |
MASTER_SITES= http://home.digithi.de/digithi/dev/mod_auth_cookie_mysql/ |
10 |
MASTER_SITES= http://home.digithi.de/digithi/dev/mod_auth_cookie_mysql/ |
| 11 |
DISTNAME= ${PORTNAME}_${PORTVERSION} |
11 |
DISTNAME= ${PORTNAME}_${PORTVERSION} |
|
Lines 15-32
Link Here
|
| 15 |
COMMENT= Allows authentication against a MySQL database via a secure cookie |
15 |
COMMENT= Allows authentication against a MySQL database via a secure cookie |
| 16 |
|
16 |
|
| 17 |
USE_MYSQL= YES |
17 |
USE_MYSQL= YES |
| 18 |
|
|
|
| 19 |
USE_APACHE= 20+ |
18 |
USE_APACHE= 20+ |
| 20 |
|
19 |
|
| 21 |
AP_FAST_BUILD= YES |
20 |
AP_FAST_BUILD= YES |
| 22 |
AP_GENPLIST= YES |
21 |
AP_GENPLIST= YES |
| 23 |
AP_INC?= ${LOCALBASE}/include/mysql |
22 |
AP_EXTRAS= -DMODULE_NAME=$(SHORTMODNAME) -DMODULE_NAME_module=$(SHORTMODNAME)_module |
| 24 |
AP_LIB?= ${LOCALBASE}/lib/mysql -lmysqlclient -lz |
23 |
AP_INC= `${LOCALBASE}/bin/mysql_config --include | ${SED} -e 's/^-I//'` |
| 25 |
PORTDOCS= mod_auth_cookie_mysql.html |
24 |
AP_LIB= `${LOCALBASE}/bin/mysql_config --libs | ${SED} -e 's/^-L//'` |
|
|
25 |
SRC_FILE= mod_auth_cookie_sql2.c mod_auth_cookie_sql2_mysql.c |
| 26 |
|
26 |
|
| 27 |
post-install: |
|
|
| 28 |
.if !defined(NOPORTDOCS) |
| 29 |
@${MKDIR} ${DOCSDIR} |
| 30 |
@${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR} |
| 31 |
.endif |
| 32 |
.include <bsd.port.mk> |
27 |
.include <bsd.port.mk> |