pkgsrc/www/ap-auth-postgresql/Makefile

39 lines
1.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.36 2012/10/28 06:30:03 asau Exp $
DISTNAME= AuthPG-1.4
PKGNAME= ap13-auth-postgresql-1.4
PKGREVISION= 1
CATEGORIES= www databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=authpg/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://authpg.sourceforge.net/
COMMENT= Module to allow apache authentication against a Postgresql database
CONFLICTS= ap-auth-postgresql-[0-9]*
CONFLICTS+= ap-auth-pgsql-[0-9]*
CONFLICTS+= ap13-auth-pgsql-[0-9]*
2003-02-17 23:34:41 +01:00
APACHE_MODULE_NAME= mod_auth_pg.so
CPPFLAGS+= -I${PGSQL_PREFIX}/include/postgresql
2003-02-17 23:34:41 +01:00
LDFLAGS+= -lpq -lcrypt
DOCDIR= ${PREFIX}/share/doc/mod_auth_pg
EGDIR= ${PREFIX}/share/examples/mod_auth_pg
INSTALLATION_DIRS+= ${DOCDIR} ${EGDIR}
2003-02-17 23:34:41 +01:00
post-install:
${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
2003-02-17 23:34:41 +01:00
.include "../../www/apache/module.mk"
2004-05-08 21:48:27 +02:00
.include "../../mk/pgsql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"