a9f015d155
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
# Created by: Sergey Skvortsov <skv@protey.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= skytools
|
|
PORTVERSION= 3.2
|
|
PORTREVISION= 2
|
|
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>
|