blob: 68466fd813252271caeb8ae69f79634914852184 (
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
|
# $NetBSD: Makefile,v 1.15 2010/04/23 09:00:45 adam Exp $
DISTNAME= slony1-2.0.3
CATEGORIES= databases
MASTER_SITES= http://slony.info/downloads/2.0/source/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= adam@NetBSD.org
HOMEPAGE= http://main.slony.info/
COMMENT= Replication system for PostgreSQL
PKG_DESTDIR_SUPPORT= user-destdir
PGSQL_VERSIONS_ACCEPTED=84 83
DEPENDS+= postgresql${PGSQL_VERSION}-server-[0-9]*:../../databases/postgresql${PGSQL_VERSION}-server
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-pgconfigdir=${PGSQL_PREFIX}/bin
CONFIGURE_ARGS+= --with-pgbindir=${PGSQL_PREFIX}/bin
CONFIGURE_ARGS+= --with-pgincludedir=${PGSQL_PREFIX}/include/postgresql
CONFIGURE_ARGS+= --with-pgincludeserverdir=${PGSQL_PREFIX}/include/postgresql/server
CONFIGURE_ARGS+= --with-pglibdir=${PGSQL_PREFIX}/lib
CONFIGURE_ARGS+= --with-pgpkglibdir=${PGSQL_PREFIX}/lib/postgresql
CONFIGURE_ARGS+= --with-pgsharedir=${PGSQL_PREFIX}/share/postgresql
post-extract:
cp ${WRKSRC}/makefiles/Makefile.freebsd ${WRKSRC}/makefiles/Makefile.dragonfly
post-install:
${INSTALL_DATA} ${WRKSRC}/share/slon.conf-sample \
${DESTDIR}${PGSQL_PREFIX}/share/postgresql
.include "../../mk/pgsql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|