2007-06-30 18:09:07 +02:00
|
|
|
# $NetBSD: Makefile,v 1.18 2007/06/30 16:09:07 joerg Exp $
|
2004-06-21 18:06:22 +02:00
|
|
|
|
2006-01-21 14:08:37 +01:00
|
|
|
DISTNAME= mod_auth_pgsql-2.0.3
|
2007-06-30 18:09:07 +02:00
|
|
|
PKGNAME= ${APACHE_PKG_PREFIX}-auth-pgsql-2.0.3
|
2006-12-28 13:12:57 +01:00
|
|
|
PKGREVISION= 4
|
2004-06-21 18:06:22 +02:00
|
|
|
CATEGORIES= www databases
|
2004-10-14 17:33:51 +02:00
|
|
|
MASTER_SITES= http://www.giuseppetanzilli.it/mod_auth_pgsql2/dist/
|
2004-06-21 18:06:22 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2004-06-21 18:06:22 +02:00
|
|
|
HOMEPAGE= http://www.giuseppetanzilli.it/mod_auth_pgsql2/
|
|
|
|
COMMENT= Allows users to use PostgreSQL databases for user authentication
|
|
|
|
|
|
|
|
CONFLICTS= ap-auth-postgresql-*
|
|
|
|
|
2004-10-14 17:33:51 +02:00
|
|
|
APACHE_MODULE= yes
|
|
|
|
APACHE_MODULE_NAME= ap2-auth-pgsql
|
2004-06-21 18:06:22 +02:00
|
|
|
|
2006-12-09 00:34:10 +01:00
|
|
|
PKG_APACHE_ACCEPTED= apache2 apache22
|
|
|
|
|
2004-06-21 18:06:22 +02:00
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
${APXS} -c -n ${APACHE_MODULE_NAME} \
|
2004-07-25 00:45:14 +02:00
|
|
|
-I${PGSQL_PREFIX}/include/postgresql \
|
2004-06-21 18:06:22 +02:00
|
|
|
-L${LOCALBASE}/lib \
|
2004-08-27 08:29:06 +02:00
|
|
|
${COMPILER_RPATH_FLAG}${LOCALBASE}/lib \
|
2004-06-21 18:06:22 +02:00
|
|
|
-lpq ${DISTNAME:C/-[^-]*$//}.c
|
|
|
|
|
|
|
|
do-install:
|
2006-06-30 02:25:31 +02:00
|
|
|
(cd ${WRKSRC} && ${APXS} -i ${DISTNAME:C/-[^-]*$//}.la)
|
2004-06-21 18:06:22 +02:00
|
|
|
#${MKDIR} ${DOCSDIR}
|
|
|
|
#${INSTALL_DATA} ${WRKSRC}/mod_auth_pgsql.html ${DOCSDIR}
|
|
|
|
|
2006-12-09 00:34:10 +01:00
|
|
|
.include "../../mk/apache.mk"
|
2004-07-25 00:45:14 +02:00
|
|
|
.include "../../mk/pgsql.buildlink3.mk"
|
2004-06-21 18:06:22 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|