1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/www/mod_auth_form/Makefile

43 lines
1.0 KiB
Makefile

# 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= 20+
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>