335f8cb35d
in Mk/bsd.ports.mk due to ordering in Mk/bsd.port.mk. This causes OPTIONSFILE to be incorrectly set during some make phases as a result of the recent PKGNAMEPREFIX for apache ports. 'Revert' some of the PKGNAMEPREFIX changes for apXX-. - Must be manually requested in tbe port Makefile either by a) AP_FAST_BUILD=yes b) PKGNAMEPREFIX=${APACHE_PKGNAMEPREFIX} - Going forward, we will only do this for ports where WITH_APACHE is NOT optional, but required. mod_* ports are a good fit. 141 ports are mod_ ports 80 of those use AP_FAST_BUILD and thus are auto hooked by this patch [a]. 61 remaining are then patched to mirror the other $lang frameworks [b]. PR: ports/146956 Reported by: Hans F. Nordhaug <Hans.F.Nordhaug@hiMolde.no>, several Discussed with: pav, itectu on #bsdports Tested by: P6 TB run Approved by: portmgr (pav)
41 lines
1,018 B
Makefile
41 lines
1,018 B
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
|
|
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= 2.0+
|
|
|
|
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>
|