summaryrefslogtreecommitdiff
path: root/databases/postgresql-relay/Makefile
blob: 51d3c970a6787f2ffe427f14881a482e73e588f7 (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
PORTNAME=	postgresql-relay
PORTVERSION=	1.3.2
PORTREVISION=	2
CATEGORIES=	databases net
MASTER_SITES=	http://www.mavetju.org/download/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Multiplex multiple PostgreSQL databases to one relay
WWW=		https://www.mavetju.org/unix/general.php

LICENSE=	BSD2CLAUSE # from website

USES=		perl5
USE_PERL5=	build
USE_RC_SUBR=	postgresql-relay

PLIST_FILES=	bin/postgresql-relay etc/postgresql-relay.conf-sample \
		share/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}${PREFIX}/share/man/man8

.include <bsd.port.mk>