# $OpenBSD: Makefile,v 1.3 2002/10/29 01:30:41 naddy Exp $ COMMENT= "Apache MySQL authentication module" # This port currently only works with archs supporting dynamic loading # and has Apache that supports DSO's. ONLY_FOR_ARCHS= alpha i386 m68k powerpc sparc sparc64 VERSION= 3.2 DISTNAME= mod_auth_mysql-${VERSION} PKGNAME= ${DISTNAME} CATEGORIES= www MAINTAINER= Sam Smith HOMEPAGE= http://sourceforge.net/projects/mod-auth-mysql MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mod-auth-mysql/} PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes LIB_DEPENDS= mysqlclient.10::databases/mysql BUILD_DEPENDS= ${LIB_DEPENDS} NO_REGRESS= Yes post-build: sed 's,!!PREFIX!!,${PREFIX},' \ < ${FILESDIR}/mod_auth_mysql-enable \ > ${WRKBUILD}/mod_auth_mysql-enable do-install: ${INSTALL_PROGRAM} ${WRKBUILD}/mod_auth_mysql.so ${PREFIX}/lib/ ${INSTALL_SCRIPT} ${WRKBUILD}/mod_auth_mysql-enable ${PREFIX}/sbin/ ${INSTALL_MAN_DIR} ${PREFIX}/share/doc/mod_auth_mysql ${INSTALL_MAN} ${WRKSRC}/{README,USAGE} ${PREFIX}/share/doc/mod_auth_mysql .include