blob: 6a09f650722556ecd7c31253f600e897ccb675e4 (
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
|
# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$
PORTNAME= skytools
PORTVERSION= 3.2
PORTREVISION= 3
CATEGORIES= databases
MASTER_SITES= http://pgfoundry.org/frs/download.php/3622/
MAINTAINER= sam@cassiba.com
COMMENT= PostgreSQL tools from Skype: walshipping, queueing, replication
GNU_CONFIGURE= yes
USES= gmake python:2.7 shebangfix pgsql
LLD_UNSAFE= yes
SHEBANG_FILES= setup_pkgloader.py setup_skytools.py \
scripts/catsql.py scripts/data_maintainer.py \
scripts/find_sql_functions.py scripts/grantfu.py \
scripts/queue_loader.py scripts/queue_splitter.py \
scripts/queue_mover.py scripts/scriptmgr.py \
scripts/simple_consumer.py scripts/simple_local_consumer.py \
scripts/skytools_upgrade.py
CONFIGURE_ARGS= --with-python=${PYTHON_CMD} \
--docdir=${EXAMPLESDIR} \
--with-pgconfig=${LOCALBASE}/bin/pg_config
OPTIONS_DEFINE= EXAMPLES
post-patch:
@${REINPLACE_CMD} -e 's=share/doc=share/examples=' ${WRKSRC}/setup_skytools.py
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pgqd
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/skytools/*.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/*.so
.include <bsd.port.mk>
|