freebsd-ports/databases/pg_repack/Makefile
Torsten Zuehlsdorff c94f993a8a New port: databases/pg_repack
Pg_repack is a PostgreSQL extension which lets you remove bloat from tables and
indexes, and optionally restore the physical order of clustered indexes. Unlike
CLUSTER and VACUUM FULL it works online, without holding an exclusive lock on
the processed tables during processing. pg_repack is efficient to boot, with
performance comparable to using CLUSTER directly.

WWW: https://github.com/reorg/pg_repack

PR:           219679
Submitted by: Jov <amutu@amutu.com>
2017-07-06 10:10:08 +00:00

30 lines
697 B
Makefile

# Created by: Jov <amutu@amutu.com>
# $FreeBSD$
PORTNAME= pg_repack
PORTVERSION= 1.4.0.1
DISTVERSIONPREFIX= ver_
CATEGORIES= databases
PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}-
MAINTAINER= amutu@amutu.com
COMMENT= Reorganize tables in PostgreSQL databases with minimal locks
LICENSE= BSD3CLAUSE
USES= gmake pgsql:9.2+
USE_GITHUB= yes
GH_ACCOUNT= reorg
WANT_PGSQL= server
PLIST_FILES= bin/pg_repack \
lib/postgresql/pg_repack.so \
share/postgresql/extension/pg_repack--1.4.0.sql \
share/postgresql/extension/pg_repack.control
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pg_repack \
${STAGEDIR}${PREFIX}/lib/postgresql/pg_repack.so
.include <bsd.port.mk>