# New ports collection makefile for:   postgresql-relay
# Date created:        14 February 2003
# Whom:                Edwin Groothuis (edwin@mavetju.org)
#
# $FreeBSD: branches/RELEASE_8_4_0/databases/postgresql-relay/Makefile 300896 2012-07-14 13:54:48Z beat $
#

PORTNAME=	postgresql-relay
PORTVERSION=	1.3.2
PORTREVISION=	1
CATEGORIES=	databases net
MASTER_SITES=	http://www.mavetju.org/download/

MAINTAINER=	edwin@mavetju.org
COMMENT=	Multiplex multiple PostgreSQL databases to one relay

MAN8=		postgresql-relay.8
PLIST_FILES=	bin/postgresql-relay \
		etc/postgresql-relay.conf-sample

USE_RC_SUBR=	postgresql-relay
USE_PERL5_BUILD=yes

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/postgresql-relay ${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/postgresql-relay.conf-sample ${PREFIX}/etc/postgresql-relay.conf-sample
	${INSTALL_MAN} ${WRKSRC}/postgresql-relay.8 ${MAN8PREFIX}/man/man8

post-install:
	${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
