aboutsummaryrefslogtreecommitdiffstats
path: root/irc/irssistats/Makefile
blob: dc6b63fb6fc4d1dd6c9ea28b49e36bc09b1e6463 (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
# 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

NO_STAGE=   yes
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>