blob: 2363f17c73af28322deafca3bfcfa58b7c607219 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# New ports collection makefile for: nagiosql
# Date created: 7 Dec 2010
# Whom: Chris St Denis <chris@smartt.com>
#
# $FreeBSD$
#
PORTNAME= nagiosql
PORTVERSION= 3.2.0
CATEGORIES= net-mgmt www
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/NagiosQL%20${PORTVERSION}/
DISTNAME= ${PORTNAME}_${PORTVERSION:S/.//g}
MAINTAINER= chris@smartt.com
COMMENT= A web based administration tool for Nagios
LICENSE= GPLv2
RUN_DEPENDS= nagios:${PORTSDIR}/net-mgmt/nagios \
${PEARDIR}/HTML/Template/IT.php:${PORTSDIR}/devel/pear-HTML_Template_IT
USE_BZIP2= yes
USE_MYSQL= yes
USE_GETTEXT= yes
USE_PHP= mysql gettext ftp session simplexml
IGNORE_WITH_PHP=4
WANT_PHP_WEB= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
PEARDIR?= ${LOCALBASE}/share/pear
OPTIONS= CURL "Configure with cURL support" off \
SSH2 "Configure with SSH2 support" off
#.include <bsd.port.pre.mk>
.if defined(WITH_CURL)
USE_PHP+= curl
.endif
.if defined(WITH_SSH2)
USE_PHP+= ssh2
.endif
do-install:
${MKDIR} ${WWWDIR}
${CP} -R ${WRKSRC}/${PORTNAME}32/ ${WWWDIR}
${CHOWN} ${WWWOWN}:${WWWGROUP} ${WWWDIR}/config
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|