aboutsummaryrefslogtreecommitdiffstats
path: root/databases/pgpoolAdmin/Makefile
blob: 675d0993b35aa8ff11b965e674881044f3dc7229 (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
30
31
32
33
34
# New ports collection makefile for:    pgpoolAdmin
# Date created:             Apr 10, 2007
# Whom:                 Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   pgpoolAdmin
PORTVERSION=    2.1.b1
CATEGORIES= databases
MASTER_SITES=   http://pgfoundry.org/frs/download.php/1716/
DISTNAME=   ${PORTNAME}-2.1-beta1

MAINTAINER= kuriyama@FreeBSD.org
COMMENT=    Web-based administration tool for pgpool-II

RUN_DEPENDS=    pgpool:${PORTSDIR}/databases/pgpool-II

USE_PHP=    mbstring pcre pgsql session
NO_BUILD=   yes
PLIST_SUB=  WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}

post-extract:
    ${MV} ${WRKSRC}/conf/pgmgt.conf.php ${WRKSRC}/conf/pgmgt.conf.php.sample

pre-install:
    ${FIND} ${WRKSRC} -name '*.orig' | ${XARGS} ${RM}

do-install:
    ${MKDIR} ${WWWDIR}/templates_c
    ${CP} -R ${WRKSRC}/* ${WWWDIR}/
    ${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/templates_c ${WWWDIR}/conf/pgmgt.conf.php.sample

.include <bsd.port.mk>