1 # $NetBSD: Makefile,v 1.12 2010/01/29 17:32:31 joerg Exp $
3 DISTNAME= slony1-1.2.15
5 MASTER_SITES= http://slony.info/downloads/1.2/source/
8 MAINTAINER= adam@NetBSD.org
9 HOMEPAGE= http://main.slony.info/
10 COMMENT= Replication system for PostgreSQL
12 PKG_DESTDIR_SUPPORT= user-destdir
14 DEPENDS+= postgresql${PGSQL_VERSION}-server-[0-9]*:../../databases/postgresql${PGSQL_VERSION}-server
18 CONFIGURE_ARGS+= --with-pgconfigdir=${PGSQL_PREFIX}/bin
19 CONFIGURE_ARGS+= --with-pgbindir=${PGSQL_PREFIX}/bin
20 CONFIGURE_ARGS+= --with-pgincludedir=${PGSQL_PREFIX}/include/postgresql
21 CONFIGURE_ARGS+= --with-pgincludeserverdir=${PGSQL_PREFIX}/include/postgresql/server
22 CONFIGURE_ARGS+= --with-pglibdir=${PGSQL_PREFIX}/lib
23 CONFIGURE_ARGS+= --with-pgpkglibdir=${PGSQL_PREFIX}/lib/postgresql
24 CONFIGURE_ARGS+= --with-pgsharedir=${PGSQL_PREFIX}/share/postgresql
27 cp ${WRKSRC}/makefiles/Makefile.freebsd ${WRKSRC}/makefiles/Makefile.dragonfly
30 ${INSTALL_DATA} ${WRKSRC}/share/slon.conf-sample \
31 ${DESTDIR}${PGSQL_PREFIX}/share/postgresql
33 .include "../../mk/pgsql.buildlink3.mk"
34 .include "../../mk/bsd.pkg.mk"