blob: 349b0221bd6967c0204f539122f2733678cae902 (
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
|
# 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
LICENSE= GPLv2
ALL_TARGET= irssistats
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e 's|/etc/irssistats.conf|${PREFIX}/etc/irssistats.conf|g' ${WRKSRC}/irssistats.c
${REINPLACE_CMD} -e 's/gcc/$$(CC)/g' ${WRKSRC}/Makefile
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/data/* ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/sample.* ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>
|