freebsd-ports/databases/pglesslog/Makefile
Jun Kuriyama 717779d254 This project aims to reduce the size of archive log files by replacing
backup blocks (full page writes) marked as "removable" (introduced in
8.3) with corresponding incremental logs.

WWW: http://pglesslog.projects.postgresql.org/

Feature safe: yes
2010-03-04 14:04:57 +00:00

32 lines
821 B
Makefile

# New ports collection makefile for: pglesslog
# Date created: 4 March 2010
# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= pglesslog
PORTVERSION= 1.2
CATEGORIES= databases
MASTER_SITES= http://pgfoundry.org/frs/download.php/2127/
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Reduce size of PostgreSQL archive log files by replacing backup blocks
BUILD_DEPENDS= \
${NONEXISTENT}:${PORTSDIR}/${PGSQL_PORT}-server:build
USE_GMAKE= yes
USE_PGSQL= YES
WANT_PGSQL_VER?=83
WRKSRC= ${WRKDIR}/lesslog-${PORTVERSION}
.include <bsd.port.pre.mk>
PGSQL_PORT= databases/postgresql${PGSQL_VER}
PGSQL_SRCDIR= `cd ${PORTSDIR}/${PGSQL_PORT}-server; ${MAKE} -VWRKSRC`
pre-build:
${REINPLACE_CMD} "s|top_builddir = ../..|top_builddir = ${PGSQL_SRCDIR}|" ${WRKSRC}/Makefile.*
.include <bsd.port.post.mk>