openbsd-ports/www/mod_auth_pgsql/Makefile
sthen c55dec9048 Better @exec-update lines; don't produce an error with pkg_add updates
if the module is installed but not activated. From Mikolaj Kucharski with
help from halex@, looks good to halex.
2011-09-17 10:29:43 +00:00

43 lines
942 B
Makefile

# $OpenBSD: Makefile,v 1.9 2011/09/17 10:29:44 sthen Exp $
COMMENT = Apache PostgreSQL authentication module
REVISION= 5
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>