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

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

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

USE_REINPLACE=  yes

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

MAN1=   irssistats.1

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>