blob: 7277b0ad522797a6a1ff9c40f92946ae9b310fa9 (
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
35
36
37
38
39
|
# $NetBSD: Makefile,v 1.2 2013/03/24 16:12:33 dholland Exp $
DISTNAME= libnss-pgsql-1.5.0-beta
PKGNAME= nss-pgsql-1.5.0b
CATEGORIES= databases
MASTER_SITES= http://pgfoundry.org/frs/download.php/1878/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://pgfoundry.org/projects/sysauth
COMMENT= Name Service Switch module for PostgreSQL
LICENSE= gnu-gpl-v2
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= gmake
BUILD_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/nss-pgsql/
EGDIR= ${PREFIX}/share/examples/nss-pgsql
CONF_FILES+= ${EGDIR}/nss-pgsql.conf ${PKG_SYSCONFDIR}/nss-pgsql.conf
INSTALLATION_DIRS+= share/doc/nss-pgsql ${EGDIR}
post-extract:
${CP} ${FILESDIR}/netbsd.c ${FILESDIR}/netbsd.h ${WRKSRC}/src/
post-install:
${INSTALL_DATA} ${WRKSRC}/conf/* ${DESTDIR}${EGDIR}/
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/nss-pgsql/
${INSTALL_DATA} ${WRKSRC}/INSTALL ${DESTDIR}${PREFIX}/share/doc/nss-pgsql/
${INSTALL_DATA} ${WRKSRC}/TODO ${DESTDIR}${PREFIX}/share/doc/nss-pgsql/
${INSTALL_DATA} ${WRKSRC}/NEWS ${DESTDIR}${PREFIX}/share/doc/nss-pgsql/
${INSTALL_DATA} ${WRKSRC}/COPYING ${DESTDIR}${PREFIX}/share/doc/nss-pgsql/
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DESTDIR}${PREFIX}/share/doc/nss-pgsql/
.include "../../mk/pgsql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|