1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/net-mgmt/nagiosql/Makefile
Michael Scheidell 0ce3269bc4 - Update to 3.2.0
- Incorporate SP1
- Superseed ports/170391

PR:		ports/170396
Submitted by:	Helmut Schneider <jumper99@gmx.de>
Approved by:	maintainer, timeout (14 days)
2012-08-23 09:08:44 +00:00

58 lines
1.2 KiB
Makefile

# 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>