openbsd-ports/www/mod_auth_mysql/Makefile
2010-11-22 08:36:47 +00:00

37 lines
800 B
Makefile

# $OpenBSD: Makefile,v 1.18 2010/11/22 08:36:49 espie Exp $
COMMENT= Apache MySQL authentication module
REVISION= 6
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>