Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Nov 2004 20:13:43 +0200 (EET)
From:      Pasi Hirvonen <psh@iki.fi>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/74526: New port: irc/fisg Fast IRC statistics generator
Message-ID:  <200411291813.iATIDhp6005729@mirp.foo>
Resent-Message-ID: <200411291820.iATIKYe8081801@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         74526
>Category:       ports
>Synopsis:       New port: irc/fisg Fast IRC statistics generator
>Confidential:   yes
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 29 18:20:34 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Pasi Hirvonen
>Release:        FreeBSD 5.3-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD mirp.foo 5.3-RELEASE-p1 FreeBSD 5.3-RELEASE-p1 #2: Fri Nov 26 17:34:19 EET 2004 pasi@mirp.foo:/usr/obj/usr/src/sys/MIRP i386


>Description:
	FISG is a tool that creates statistics from IRC logs. FISG supports
	various logfile formats and has a very fast parsing engine.

	WWW: http://www.tnsp.org/fisg.php

>How-To-Repeat:
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	fisg
#	fisg/Makefile
#	fisg/pkg-descr
#	fisg/pkg-plist
#	fisg/files
#	fisg/files/patch-Makefile
#	fisg/distinfo
#
echo c - fisg
mkdir -p fisg > /dev/null 2>&1
echo x - fisg/Makefile
sed 's/^X//' >fisg/Makefile << 'END-of-fisg/Makefile'
X# New ports collection makefile for:    fisg
X# Date created:         29 Nov 2004
X# Whom:                 Pasi Hirvonen <psh@iki.fi>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	fisg
XPORTVERSION=	0.2.0
XCATEGORIES=	irc
XMASTER_SITES=	http://www.tnsp.org/files/
X
XMAINTAINER=	psh@iki.fi
XCOMMENT=	Fast IRC statistics generator
X
XUSE_GMAKE=	yes
XBUILD_WRKSRC=	${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
X
XPORTDOCS=	README FAQ
X
XDATA_FILES=	blue-h.png happy1.gif happy5.gif style-c64.css \
X		blue-v.png happy2.gif happy6.gif style-pisg.css \
X		green-h.png happy3.gif red-h.png yellow-h.png \
X		green-v.png happy4.gif red-v.png yellow-v.png
X
XPKGMESSAGE=	${WRKDIR}/pkg-message
X
Xdo-install:
X	@${MKDIR} ${DATADIR}
X	cd ${WRKSRC}/data/ && ${INSTALL_DATA} ${DATA_FILES} ${DATADIR}
X	@${MKDIR} ${EXAMPLESDIR}
X	${INSTALL_DATA} ${WRKSRC}/example.cfg ${EXAMPLESDIR}/
X	${INSTALL_DATA} ${WRKSRC}/users.cfg ${EXAMPLESDIR}/
X	${INSTALL_PROGRAM} ${WRKSRC}/src/fisg ${PREFIX}/bin
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-fisg/Makefile
echo x - fisg/pkg-descr
sed 's/^X//' >fisg/pkg-descr << 'END-of-fisg/pkg-descr'
XFISG is a tool that creates statistics from IRC logs. FISG supports
Xvarious logfile formats and has a very fast parsing engine.
X
XWWW: http://www.tnsp.org/fisg.php
X
X- Pasi Hirvonen
Xpsh@iki.fi
END-of-fisg/pkg-descr
echo x - fisg/pkg-plist
sed 's/^X//' >fisg/pkg-plist << 'END-of-fisg/pkg-plist'
Xbin/fisg
X%%EXAMPLESDIR%%/example.cfg
X%%EXAMPLESDIR%%/users.cfg
X%%DATADIR%%/blue-h.png
X%%DATADIR%%/blue-v.png
X%%DATADIR%%/green-h.png
X%%DATADIR%%/green-v.png
X%%DATADIR%%/happy1.gif
X%%DATADIR%%/happy2.gif
X%%DATADIR%%/happy3.gif
X%%DATADIR%%/happy4.gif
X%%DATADIR%%/happy5.gif
X%%DATADIR%%/happy6.gif
X%%DATADIR%%/red-h.png
X%%DATADIR%%/red-v.png
X%%DATADIR%%/style-c64.css
X%%DATADIR%%/style-pisg.css
X%%DATADIR%%/yellow-h.png
X%%DATADIR%%/yellow-v.png
X@dirrm %%EXAMPLESDIR%%
X@dirrm %%DATADIR%%
END-of-fisg/pkg-plist
echo c - fisg/files
mkdir -p fisg/files > /dev/null 2>&1
echo x - fisg/files/patch-Makefile
sed 's/^X//' >fisg/files/patch-Makefile << 'END-of-fisg/files/patch-Makefile'
X--- ../fisg-0.2.0-orig/src/Makefile	Mon Nov 29 16:33:25 2004
X+++ src/Makefile	Mon Nov 29 16:33:51 2004
X@@ -2,8 +2,8 @@
X # Makefile for UNIX
X #
X RM=rm
X-CC=gcc
X-CFLAGS= -g -O2 -Wall
X+CC?=gcc
X+CFLAGS?= -g -Wall
X 
X FISGEXE=fisg
X TARGETS=$(FISGEXE) strmatch
END-of-fisg/files/patch-Makefile
echo x - fisg/distinfo
sed 's/^X//' >fisg/distinfo << 'END-of-fisg/distinfo'
XMD5 (fisg-0.2.0.tar.gz) = c9632501cee22802934ecb266463e4d0
XSIZE (fisg-0.2.0.tar.gz) = 76700
END-of-fisg/distinfo
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411291813.iATIDhp6005729>