c55dec9048
if the module is installed but not activated. From Mikolaj Kucharski with help from halex@, looks good to halex.
37 lines
800 B
Makefile
37 lines
800 B
Makefile
# $OpenBSD: Makefile,v 1.20 2011/09/17 10:29:44 sthen Exp $
|
|
|
|
COMMENT= Apache MySQL authentication module
|
|
|
|
REVISION= 8
|
|
VERSION= 3.2
|
|
DISTNAME= mod_auth_mysql-${VERSION}
|
|
CATEGORIES= www
|
|
|
|
HOMEPAGE= http://sourceforge.net/projects/mod-auth-mysql
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mod-auth-mysql/}
|
|
MODULES+= apache-module
|
|
|
|
# Apache license
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB += lib/mysql/mysqlclient>=10
|
|
|
|
MODAPACHE_NAME= auth_mysql
|
|
|
|
LIB_DEPENDS= databases/mysql
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
post-build:
|
|
@${MODAPACHE_CREATE_ENABLE_SCRIPT}
|
|
|
|
do-install:
|
|
${INSTALL_MAN_DIR} ${PREFIX}/share/doc/mod_auth_mysql
|
|
${INSTALL_MAN} ${WRKSRC}/{README,USAGE} ${PREFIX}/share/doc/mod_auth_mysql
|
|
${MODAPACHE_INSTALL}
|
|
|
|
.include <bsd.port.mk>
|