blob: 7c2360c7c508363cd61d99a01612b8fd1ee17e36 (
plain)
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
35
36
37
38
39
40
|
# 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
WANT_PHP_PEAR= yes
NO_BUILD= yes
SUB_FILES= pkg-message
SUB_LIST= INSTALLDIR=${INSTALLDIR}
WEBOWN?= www
WEBGRP?= www
WWWDIR= ${PREFIX}/www
INSTALLDIR= ${WWWDIR}/poweradmin
do-install:
${MKDIR} ${INSTALLDIR}
cd ${WRKSRC}; ${FIND} . \
| ${CPIO} -pdm -R ${WEBOWN}:${WEBGRP} ${INSTALLDIR}
${MV} ${INSTALLDIR}/inc/config-block.inc.php ${INSTALLDIR}/inc/config.inc.php.sample
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|