pkgsrc/www/ap2-auth-pgsql/Makefile

29 lines
851 B
Makefile

# $NetBSD: Makefile,v 1.23 2012/10/28 06:30:06 asau Exp $
DISTNAME= mod_auth_pgsql-2.0.3
PKGNAME= ${APACHE_PKG_PREFIX}-auth-pgsql-2.0.3
PKGREVISION= 7
CATEGORIES= www databases
MASTER_SITES= http://www.giuseppetanzilli.it/mod_auth_pgsql2/dist/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.giuseppetanzilli.it/mod_auth_pgsql2/
COMMENT= Allows users to use PostgreSQL databases for user authentication
CONFLICTS= ap-auth-postgresql-*
APACHE_MODULE= yes
APACHE_MODULE_NAME= mod_auth_pgsql.la
PKG_APACHE_ACCEPTED= apache2 apache22
.include "../../mk/apache.mk"
.include "../../www/apache/module.mk"
CPPFLAGS+= -I${PGSQL_PREFIX}/include/postgresql
LDFLAGS+= -L${LOCALBASE}/lib \
${COMPILER_RPATH_FLAG}${LOCALBASE}/lib -lpq
.include "../../mk/apache.mk"
.include "../../mk/pgsql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"