aboutsummaryrefslogtreecommitdiffstats
path: root/dns/poweradmin/Makefile
blob: 9ed9ac811d77adbd20b868231511ef104bcd9210 (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
# New ports collection makefile for:   poweradmin
# Date created:        19 January 2005
# Whom:                geo
#
# $FreeBSD$
#

PORTNAME=       poweradmin
PORTVERSION=    1.2.7
CATEGORIES=     dns www
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=     poweradmin

MAINTAINER=     grivat@sicfa.net
COMMENT=        A set of PHP-scripts to manage PowerDNS over the web

RUN_DEPENDS=    ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB

USE_PHP=    mysql
WANT_PHP_WEB=   yes
NO_BUILD=   yes
SUB_FILES=  pkg-message

do-install:
    ${MKDIR} ${WWWDIR}
    cd ${WRKSRC}; ${FIND} . \
        | ${CPIO} -pdm -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
    ${MV} ${WWWDIR}/inc/config-block.inc.php  ${WWWDIR}/inc/config.inc.php.sample

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

.include <bsd.port.mk>