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

43 lines
942 B
Makefile

# $OpenBSD: Makefile,v 1.6 2010/11/22 08:36:49 espie Exp $
COMMENT = Apache PostgreSQL authentication module
REVISION= 2
DISTNAME = mod_auth_pgsql-0.9.12
CATEGORIES = www
HOMEPAGE = http://www.giuseppetanzilli.it/mod_auth_pgsql
MASTER_SITES = ${HOMEPAGE}/dist/
MODULES = apache-module
MAINTAINER = Pierre-Emmanuel Andre <pea@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB += pq>=5
MODAPACHE_NAME = auth_pgsql
LIB_DEPENDS = databases/postgresql
NO_REGRESS = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --with-pgsql-lib=${LOCALBASE}/lib \
--with-pgsql-include=${LOCALBASE}/include/postgresql
post-build:
@${MODAPACHE_CREATE_ENABLE_SCRIPT}
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_auth_pgsql
${INSTALL_DATA} ${WRKSRC}/mod_auth_pgsql.html \
${PREFIX}/share/doc/mod_auth_pgsql
${MODAPACHE_INSTALL}
.include <bsd.port.mk>