openbsd-ports/www/mod_auth_pgsql/Makefile
pea 0b483f8ab3 Initial import of mod_auth_pgsql.
This module allows user authentication (and can log authenthication
requests) against information stored in a PostgreSQL database.

ok simon@ ajacoutot@
2009-01-30 12:50:39 +00:00

40 lines
941 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2009/01/30 12:50:39 pea Exp $
COMMENT = Apache PostgreSQL authentication module
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
MODAPACHE_NAME = auth_pgsql
LIB_DEPENDS = pq.>=5:postgresql-client-*: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>