ac18f81713
support dynamic loading. From Xavier Santolaria <xavier@santolaria.net>.
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.4 2003/05/22 14:16:23 naddy Exp $
|
|
|
|
COMMENT= "Apache MySQL authentication module"
|
|
|
|
# This port currently only works with archs supporting dynamic loading
|
|
# and has Apache that supports DSO's.
|
|
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
|
|
|
VERSION= 3.2
|
|
DISTNAME= mod_auth_mysql-${VERSION}
|
|
PKGNAME= ${DISTNAME}
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= Sam Smith <S@mSmith.net>
|
|
|
|
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 <bsd.port.mk>
|