1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/databases/pglesslog/Makefile

25 lines
666 B
Makefile

# $FreeBSD$
PORTNAME= pglesslog
PORTVERSION= 1.4.1
CATEGORIES= databases
MASTER_SITES= http://pgfoundry.org/frs/download.php/2684/
DISTNAME= pg_lesslogg_${PORTVERSION}_pg84
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Reduce size of PostgreSQL archive log files by replacing backup blocks
USE_GMAKE= yes
USE_PGSQL= client server:build
WANT_PGSQL_VER= 84
WRKSRC= ${WRKDIR}/pg_lesslog_${PORTVERSION}_pg84
PGSQL_PORT= databases/postgresql${PGSQL_VER}
PGSQL_SRCDIR= `cd ${PORTSDIR}/${PGSQL_PORT}-server; ${MAKE} -VWRKSRC`
NO_STAGE= yes
pre-build:
${REINPLACE_CMD} "s|top_builddir = ../..|top_builddir = ${PGSQL_SRCDIR}|" ${WRKSRC}/Makefile.*
.include <bsd.port.mk>