summaryrefslogtreecommitdiff
path: root/databases/postgresql-relay/Makefile
blob: c72465c260bd857d0404ce1d7085027e0cba9e57 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Created by: Edwin Groothuis (edwin@mavetju.org)
# $FreeBSD$

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

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Multiplex multiple PostgreSQL databases to one relay

LICENSE=	BSD2CLAUSE # from website

USES=		perl5
USE_PERL5=	build
USE_RC_SUBR=	postgresql-relay

PLIST_FILES=	bin/postgresql-relay etc/postgresql-relay.conf-sample \
		man/man8/postgresql-relay.8.gz

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

.include <bsd.port.mk>