aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/snowlog/Makefile
blob: c717f855f2a01c24ec7f17427c16aff774c1c542 (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
# Created by: Cheng-Lung Sung <clsung@dragon2.net>
# $FreeBSD$

PORTNAME=   snowlog
PORTVERSION=    1.1.1
PORTREVISION=   3
CATEGORIES= sysutils
MASTER_SITES=   http://kiza.kcore.de/software/snowlog/download/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Webserver access log browser/analyzer

LICENSE=    GPLv2 # only
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libpcre.so:devel/pcre

USES=       ncurses
DOCS=       INSTALLATION doc/README doc/filters.example
SHAREDOCS=  referers.regexp useragents.regexp

OPTIONS_DEFINE= DOCS

post-install:
    @${MKDIR} ${STAGEDIR}${DATADIR}
    cd ${WRKSRC}/share && ${INSTALL_DATA} ${SHAREDOCS} ${STAGEDIR}${DATADIR}

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>