aboutsummaryrefslogtreecommitdiffstats
path: root/irc/irssistats/Makefile
blob: 1ce25c72ad3868ad627a27a367bc508baca12a1c (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
# New ports collection makefile for:    irssistats
# Date created:         14 Feb 2004
# Whom:             Travis Poppe <tlp@liquidx.org>
#
# $FreeBSD$
#

PORTNAME=   irssistats
PORTVERSION=    0.72
PORTREVISION=   1
CATEGORIES= irc
MASTER_SITES=   http://royale.zerezo.com/irssistats/

MAINTAINER= az@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>