aboutsummaryrefslogtreecommitdiffstats
path: root/irc/irssistats/Makefile
blob: 2a79f393dfb26c4c3399caeb060a821b9aaa13e5 (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
# Created by: Travis Poppe <tlp@liquidx.org>
# $FreeBSD$

PORTNAME=   irssistats
PORTVERSION=    0.75
CATEGORIES= irc
MASTER_SITES=   http://royale.zerezo.com/irssistats/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Generate IRC statistics based on irssi logs

MAKE_ARGS+= DATADIR="${DATADIR}" DOCSDIR="${DOCSDIR}" EXAMPLESDIR="${EXAMPLESDIR}" PREFIX="${PREFIX}" \
        CC="${CC}" CFLAGS="${CFLAGS}"

MAN1=   irssistats.1
ALL_TARGET= irssistats
INSTALL_TARGET= install

post-patch:
    @${REINPLACE_CMD} -e 's|/etc/irssistats.conf|${PREFIX}/etc/irssistats.conf|g' ${WRKSRC}/irssistats.c

.if defined(NOPORTDOCS)
MAKE_ARGS+= NOPORTDOCS="${NOPORTDOCS}"
.endif

.include <bsd.port.mk>