f723df193f
Slony 2.2.8: * Fixes for PG 12 * Makefile changes (vpath support) * Win32 fixes to compile + removal of default HAVE_PGPORT from win32.mak * Documentation fixes
34 lines
1.2 KiB
Makefile
34 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.30 2019/09/02 09:04:05 adam Exp $
|
|
|
|
DISTNAME= slony1-2.2.8
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://slony.info/downloads/${PKGVERSION_NOREV:R}/source/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= adam@NetBSD.org
|
|
HOMEPAGE= http://main.slony.info/
|
|
COMMENT= Replication system for PostgreSQL
|
|
LICENSE= postgresql-license
|
|
|
|
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
|
|
MAKE_FILE= GNUmakefile
|
|
|
|
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"
|