blob: dc81c49343ff4d8ee0ee2a0b8f2f4205d925ec30 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $NetBSD: Makefile,v 1.12 2006/02/05 23:11:18 joerg Exp $
DISTNAME= mod_auth_pgsql-2.0.3
PKGNAME= ap2-auth-pgsql-2.0.3
PKGREVISION= 2
CATEGORIES= www databases
MASTER_SITES= http://www.giuseppetanzilli.it/mod_auth_pgsql2/dist/
MAINTAINER= tech-pkg@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= ap2-auth-pgsql
do-build:
cd ${WRKSRC} && \
${APXS} -c -n ${APACHE_MODULE_NAME} \
-I${PGSQL_PREFIX}/include/postgresql \
-L${LOCALBASE}/lib \
${COMPILER_RPATH_FLAG}${LOCALBASE}/lib \
-lpq ${DISTNAME:C/-[^-]*$//}.c
do-install:
(cd ${WRKSRC} && ${APXS} -A -i ${DISTNAME:C/-[^-]*$//}.la)
#${MKDIR} ${DOCSDIR}
#${INSTALL_DATA} ${WRKSRC}/mod_auth_pgsql.html ${DOCSDIR}
.include "../../www/apache2/buildlink3.mk"
.include "../../mk/pgsql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|