mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
91f7c0e0e1
searching, reviewing and analyzing network event data, including syslog, windows event log and many other event sources. It focusses on the user-interface side of this project, so the data itself needs to be gathered by another program, for example the stock syslogd, rsyslog (often the distro's default syslogd), WinSyslog or MonitorWare Agent. PhpLogCon is a free, GPLed open source application written mostly in php. Data can be obtained from databases but also from plain text files, for example those that are written by the syslogd. WWW: http://www.phplogcon.org/ PR: ports/129805 Submitted by: Cristiano Rolim Pereira <cristianorolim at hotmail.com>
45 lines
1.0 KiB
Makefile
45 lines
1.0 KiB
Makefile
# New ports collection Makefile for: sysutils/phplogcon
|
|
# Date created: 21 December 2008
|
|
# Whom: Cristiano Rolim Pereira <cristianorolim@hotmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= phplogcon
|
|
PORTVERSION= 2.5.23
|
|
CATEGORIES= sysutils www
|
|
MASTER_SITES= http://download.adiscon.com/phplogcon/
|
|
|
|
MAINTAINER= cristianorolim@hotmail.com
|
|
COMMENT= Web Based Syslog Review
|
|
|
|
.if !defined(WITHOUT_PHP_DEPENDS)
|
|
USE_PHP= YES
|
|
WANT_PHP_WEB= YES
|
|
.endif
|
|
NO_BUILD= YES
|
|
LOGCONDIR?= www/phplogcon
|
|
PLIST_SUB+= LOGCONDIR=${LOGCONDIR}
|
|
|
|
pre-everything::
|
|
@${ECHO_CMD} "# you can customize the installation directory"
|
|
@${ECHO_CMD} "# by setting LOGCON in /etc/make.conf"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/${LOGCONDIR}
|
|
${CP} -Rp ${WRKSRC}/src/ ${PREFIX}/${LOGCONDIR}/
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/doc/* ${DOCSDIR}
|
|
.endif
|
|
.if !defined(NOPORTDATA)
|
|
${MKDIR} ${DATADIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/contrib/* ${DATADIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|