1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/www/mod_auth_cookie_mysql/Makefile
Clement Laforet 146dcd05a3 - Fix a condition in bsd.apache.mk
- all apache 1.3 only modules maintained by apache@ are now bsd.apache.mk
  compliant
2005-12-04 14:08:56 +00:00

40 lines
1.1 KiB
Makefile

# New ports collection makefile for: mod_auth_cookie_mysql
# Date created: Tue Oct 7
# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org>
#
# $FreeBSD$
PORTNAME= mod_auth_cookie_mysql
PORTVERSION= 1.0
CATEGORIES= www
MASTER_SITES= http://sheepkiller.nerim.net/ports/${PORTNAME}/ \
http://www.cultdeadsheep.org/FreeBSD/ports/download/distfiles/
# Original Location: http://www.qwk.net/opensource/mod_auth_cookie_mysql/mod_auth_cookie_mysql.tar.gz
DIST_SUBDIR= apache
MAINTAINER= apache@FreeBSD.org
COMMENT= Allows authentication against a MySQL database via a secure cookie
USE_MYSQL= YES
# If someone can test it with MySQL 4.1 ;-)
BROKEN_WITH_MYSQL= 41
USE_APACHE= 13
AP_FAST_BUILD= YES
AP_INC?= ${LOCALBASE}/include/mysql
AP_LIB?= ${LOCALBASE}/lib/mysql -lmysqlclient -lz
post-install:
@(cd ${WRKSRC} && ${APXS} -A -i ${PORTNAME}.so)
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/authform.tmpl ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/putcookie.cgi ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>