aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/snowlog/Makefile
blob: 4204af4f88a12b4249cbdce17263f287d8de6f21 (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
# ex:ts=8
# New ports collection makefile for:    snowlog
# Date created:         Jul 30 2004
# Whom:             Cheng-Lung Sung <clsung@dragon2.net>
#
# $FreeBSD$
#

PORTNAME=   snowlog
PORTVERSION=    1.0.2
CATEGORIES= sysutils
MASTER_SITES=   http://home.kcore.de/~kiza/software/snowlog/download/

MAINTAINER= clsung@dragon2.net
COMMENT=    A webserver access log browser/analyzer

LIB_DEPENDS=    pcre.0:${PORTSDIR}/devel/pcre

MAN1=       snowlog.1
DOCS=       INSTALLATION doc/README doc/filters.example
SHAREDOCS=  referers.regexp useragents.regexp

.include <bsd.port.pre.mk>

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DATADIR}
    cd ${WRKSRC}/share && ${INSTALL_DATA} ${SHAREDOCS} ${DATADIR}
    @${MKDIR} ${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>