aboutsummaryrefslogtreecommitdiffstats
path: root/databases/skytools/Makefile
blob: d0205e88492dc2305481e3b2d1646dfc29cf00a5 (plain) (blame)
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
# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$

PORTNAME=   skytools
PORTVERSION=    2.1.12
PORTREVISION=   1
CATEGORIES= databases
MASTER_SITES=   http://pgfoundry.org/frs/download.php/2872/

MAINTAINER= kheechin@gmail.com
COMMENT=    PostgreSQL tools from Skype: walshipping, queueing, replication

GNU_CONFIGURE=  yes
USES=       gmake

USE_PGSQL=  yes
WANT_PGSQL_VER= 91-
USE_PYTHON= 2.5+
INSTALLS_EGGINFO=   yes

MAN1=   bulk_loader.1 cube_dispatcher.1 londiste.1 pgqadm.1 queue_mover.1 \
    queue_splitter.1 scriptmgr.1 skytools_upgrade.1 table_dispatcher.1 \
    walmgr.1
MAN5=   londiste.5

CONFIGURE_ARGS= --with-python=${PYTHON_CMD} \
        --docdir=${EXAMPLESDIR} \
        --with-pgconfig=${LOCALBASE}/bin/pg_config

post-patch:
    @${REINPLACE_CMD} -e 's=share/doc=share/examples=' ${WRKSRC}/setup.py

.include <bsd.port.mk>