summaryrefslogtreecommitdiff
path: root/www/mod_auth_form/Makefile
blob: fc167955527700fd623d097cf39cf3981d296c84 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# New ports collection makefile for:	mod_auth_form
# Date created:			Feb 10 2008
# Whom:				Tommy Scheunemann <net@arrishq.net>
#
# $FreeBSD$
#

PORTNAME=	mod_auth_form
PORTVERSION=	2.05
PORTREVISION=	3
CATEGORIES=	www
MASTER_SITES=	http://comp.uark.edu/~ajarthu/mod_auth_form/download.php?download=v2_05/
PKGNAMEPREFIX=	${APACHE_PKGNAMEPREFIX}
DISTNAME=	${PORTNAME}-${PORTVERSION}-src

MAINTAINER=	net@arrishq.net
COMMENT=	MySQL based form authentication module for Apache 2.x

MAKE_JOBS_SAFE=  yes

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

USE_MYSQL=	yes
USE_APACHE=	22+

GNU_CONFIGURE=	yes
CONFIGURE_ENV=	MYSQL_PREFIX="${LOCALBASE}" APACHE2_PREFIX="${LOCALBASE}" \
		APACHE2_INCLUDE="${LOCALBASE}/include/apache${APACHE_VERSION}" \
		APR1_INCLUDE="${LOCALBASE}/include/apache2"

CFLAGS+=	-I${LOCALBASE}/include

PORTDOCS=	AUTHORS NEWS README

post-install:
	${ECHO} ${APACHE_VERSION}
.if !defined(NOPORTDOCS)
	@${INSTALL} -d ${DOCSDIR}
	@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>