2012-10-28 07:30:00 +01:00
|
|
|
# $NetBSD: Makefile,v 1.36 2012/10/28 06:30:03 asau Exp $
|
2000-01-10 23:33:12 +01:00
|
|
|
|
2003-09-17 00:57:08 +02:00
|
|
|
DISTNAME= AuthPG-1.4
|
2006-06-02 20:27:54 +02:00
|
|
|
PKGNAME= ap13-auth-postgresql-1.4
|
2012-08-05 12:02:09 +02:00
|
|
|
PKGREVISION= 1
|
2000-01-10 23:33:12 +01:00
|
|
|
CATEGORIES= www databases
|
2003-09-17 00:57:08 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=authpg/}
|
2000-01-10 23:33:12 +01:00
|
|
|
|
2007-03-21 20:44:10 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2003-09-17 00:57:08 +02:00
|
|
|
HOMEPAGE= http://authpg.sourceforge.net/
|
2001-02-17 18:21:28 +01:00
|
|
|
COMMENT= Module to allow apache authentication against a Postgresql database
|
2000-01-10 23:33:12 +01:00
|
|
|
|
2006-06-02 20:27:54 +02:00
|
|
|
CONFLICTS= ap-auth-postgresql-[0-9]*
|
|
|
|
CONFLICTS+= ap-auth-pgsql-[0-9]*
|
|
|
|
CONFLICTS+= ap13-auth-pgsql-[0-9]*
|
2000-01-10 23:33:12 +01:00
|
|
|
|
2003-02-17 23:34:41 +01:00
|
|
|
APACHE_MODULE_NAME= mod_auth_pg.so
|
2000-01-10 23:33:12 +01:00
|
|
|
|
2004-07-25 00:45:14 +02:00
|
|
|
CPPFLAGS+= -I${PGSQL_PREFIX}/include/postgresql
|
2003-02-17 23:34:41 +01:00
|
|
|
LDFLAGS+= -lpq -lcrypt
|
2000-01-10 23:33:12 +01:00
|
|
|
|
2003-09-17 00:57:08 +02:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/mod_auth_pg
|
|
|
|
EGDIR= ${PREFIX}/share/examples/mod_auth_pg
|
|
|
|
|
2010-02-20 15:58:44 +01:00
|
|
|
INSTALLATION_DIRS+= ${DOCDIR} ${EGDIR}
|
|
|
|
|
2003-02-17 23:34:41 +01:00
|
|
|
post-install:
|
2010-02-20 15:58:44 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/mod_auth_pg.html ${DESTDIR}${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/mod_auth_pg.ko.html ${DESTDIR}${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.ko ${DESTDIR}${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample.htaccess ${DESTDIR}${EGDIR}/mod_auth_pg.htaccess
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample.sql ${DESTDIR}${EGDIR}/mod_auth_pg.sql
|
2000-01-10 23:33:12 +01:00
|
|
|
|
2003-02-17 23:34:41 +01:00
|
|
|
.include "../../www/apache/module.mk"
|
2004-05-08 21:48:27 +02:00
|
|
|
|
2004-07-25 00:45:14 +02:00
|
|
|
.include "../../mk/pgsql.buildlink3.mk"
|
2000-01-10 23:33:12 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|