aboutsummaryrefslogtreecommitdiffstats
path: root/irc/irssistats
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2004-03-15 12:29:58 +0800
committerpetef <petef@FreeBSD.org>2004-03-15 12:29:58 +0800
commit717f83ec7a751fe63da269e49e95d9ec2e0d2099 (patch)
treeb30a650406c4f370b2f5f73f902bf2f79053adf6 /irc/irssistats
parent8f19a96f7b2ea0dd6bdf5ce623ee65935b19a372 (diff)
downloadfreebsd-ports-gnome-717f83ec7a751fe63da269e49e95d9ec2e0d2099.tar.gz
freebsd-ports-gnome-717f83ec7a751fe63da269e49e95d9ec2e0d2099.tar.zst
freebsd-ports-gnome-717f83ec7a751fe63da269e49e95d9ec2e0d2099.zip
Add irssistats 0.51, generate IRC statistics based on irssi logs.
PR: ports/64275 Submitted by: Travis Poppe <tlp@liquidx.org>
Diffstat (limited to 'irc/irssistats')
-rw-r--r--irc/irssistats/Makefile21
-rw-r--r--irc/irssistats/distinfo2
-rw-r--r--irc/irssistats/files/patch-Makefile35
-rw-r--r--irc/irssistats/pkg-descr7
-rw-r--r--irc/irssistats/pkg-plist38
5 files changed, 103 insertions, 0 deletions
diff --git a/irc/irssistats/Makefile b/irc/irssistats/Makefile
new file mode 100644
index 000000000000..86aef64db5b4
--- /dev/null
+++ b/irc/irssistats/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: irssistats
+# Date created: 14 Feb 2004
+# Whom: Travis Poppe <tlp@liquidx.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= irssistats
+PORTVERSION= 0.51
+CATEGORIES= irc
+MASTER_SITES= http://royale.zerezo.com/irssistats/
+
+MAINTAINER= tlp@liquidx.org
+COMMENT= Generate IRC statistics based on irssi logs
+
+USE_REINPLACE= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' ${WRKSRC}/Makefile
+
+.include <bsd.port.mk>
diff --git a/irc/irssistats/distinfo b/irc/irssistats/distinfo
new file mode 100644
index 000000000000..b1d7e9bd88f5
--- /dev/null
+++ b/irc/irssistats/distinfo
@@ -0,0 +1,2 @@
+MD5 (irssistats-0.51.tar.gz) = 977ad58167df3fbfd7c2030650191937
+SIZE (irssistats-0.51.tar.gz) = 39296
diff --git a/irc/irssistats/files/patch-Makefile b/irc/irssistats/files/patch-Makefile
new file mode 100644
index 000000000000..59cb06cc4f87
--- /dev/null
+++ b/irc/irssistats/files/patch-Makefile
@@ -0,0 +1,35 @@
+$FreeBSD$
+
+--- Makefile.orig Sun Dec 14 10:40:10 2003
++++ Makefile Sun Mar 14 22:17:20 2004
+@@ -1,19 +1,25 @@
+ PRE = /usr/local
+ BIN = $(PRE)/bin
++SMP = $(PRE)/share/irssistats
+ DAT = $(PRE)/share/irssistats/data
+-DOC = $(PRE)/doc/irssistats
++DOC = $(PRE)/share/doc/irssistats
++CC ?= gcc
+
+-irssistats:irssistats.c
+- gcc -o irssistats irssistats.c
++all:irssistats.c
++ ${CC} ${CFLAGS} -o irssistats irssistats.c
+
+ clean:
+ rm -f irssistats
+
+ install:irssistats
+- mkdir -p $(BIN) $(DAT) $(DOC)
++ mkdir -p $(BIN) $(DAT)
+ cp -f irssistats $(BIN)
++ cp -f sample.nickfile sample.configfile $(SMP)
+ cp -f data/* $(DAT)
+- cp -f COPYING README sample.nickfile sample.configfile $(DOC)
++.ifndef NOPORTDOCS
++ mkdir -p $(DOC)
++ cp -f COPYING README $(DOC)
++.endif
+
+ uninstall:
+ rm -f $(BIN)/irssistats
diff --git a/irc/irssistats/pkg-descr b/irc/irssistats/pkg-descr
new file mode 100644
index 000000000000..37f57f58af65
--- /dev/null
+++ b/irc/irssistats/pkg-descr
@@ -0,0 +1,7 @@
+This tool generates an HTML file containing IRC statistics based on irssi
+logs.
+
+WWW: http://royale.zerezo.com/irssistats/
+
+- Travis Poppe
+tlp@liquidx.org
diff --git a/irc/irssistats/pkg-plist b/irc/irssistats/pkg-plist
new file mode 100644
index 000000000000..349a846c5455
--- /dev/null
+++ b/irc/irssistats/pkg-plist
@@ -0,0 +1,38 @@
+bin/irssistats
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/README
+share/irssistats/data/blue.css
+share/irssistats/data/dark.css
+share/irssistats/data/default.css
+share/irssistats/data/grayscale.css
+share/irssistats/data/h1.png
+share/irssistats/data/h2.png
+share/irssistats/data/h3.png
+share/irssistats/data/h4.png
+share/irssistats/data/hm.png
+share/irssistats/data/irssistats_black.png
+share/irssistats/data/irssistats_white.png
+share/irssistats/data/namour.css
+share/irssistats/data/pisg.css
+share/irssistats/data/pisg_blue-h.png
+share/irssistats/data/pisg_blue-v.png
+share/irssistats/data/pisg_green-h.png
+share/irssistats/data/pisg_green-v.png
+share/irssistats/data/pisg_red-h.png
+share/irssistats/data/pisg_red-v.png
+share/irssistats/data/pisg_yellow-h.png
+share/irssistats/data/pisg_yellow-v.png
+share/irssistats/data/v1.png
+share/irssistats/data/v2.png
+share/irssistats/data/v3.png
+share/irssistats/data/v4.png
+share/irssistats/data/valid-css.png
+share/irssistats/data/valid-xhtml10.png
+share/irssistats/data/vm.png
+share/irssistats/data/zeduel.css
+share/irssistats/data/zerezo.css
+share/irssistats/sample.configfile
+share/irssistats/sample.nickfile
+@dirrm share/irssistats/data
+@dirrm share/irssistats
+%%PORTDOCS%%@dirrm %%DOCSDIR%%