aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/googlog/Makefile
blob: 49cbacec8cd46c8431c152fd2fcb7625bca9be6e (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
# Created by: araujo
# $FreeBSD$

PORTNAME=   googlog
PORTVERSION=    1.18
PORTREVISION=   1
CATEGORIES= sysutils
MASTER_SITES=   http://www.googlog.org/download/
DISTNAME=   GoogLog-${PORTVERSION}
EXTRACT_SUFX=   .tgz

MAINTAINER= eadler@FreeBSD.org
COMMENT=    Simple tool to search inside your syslog files

BUILD_DEPENDS=  p5-Config-Tiny>=0:${PORTSDIR}/devel/p5-Config-Tiny \
        p5-HTML-Template>=0:${PORTSDIR}/www/p5-HTML-Template
RUN_DEPENDS=    p5-Config-Tiny>=0:${PORTSDIR}/devel/p5-Config-Tiny \
        p5-HTML-Template>=0:${PORTSDIR}/www/p5-HTML-Template

DEPRECATED= no upstream project
EXPIRATION_DATE=    2013-08-01

NO_BUILD=   yes
USE_PERL5=  yes

.include <bsd.port.pre.mk>

do-install:
    @${MKDIR} ${WWWDIR}
    ${INSTALL_SCRIPT} ${WRKSRC}/GoogLog_cgi.pl ${WWWDIR}/
    ${INSTALL_DATA} ${WRKSRC}/googlog.ini ${WWWDIR}/
    ${INSTALL_DATA} ${WRKSRC}/index.html ${WWWDIR}/

.if !exists(${INSTALL_PATH}/googlog.ini)
    ${INSTALL_DATA} ${WRKSRC}/googlog.ini ${WWWDIR}/
.endif

.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README.html ${DOCSDIR}
.endif

.include <bsd.port.post.mk>