aboutsummaryrefslogtreecommitdiff
path: root/irc/pisg
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-06-26 19:34:44 +0000
committerPatrick Li <pat@FreeBSD.org>2002-06-26 19:34:44 +0000
commitd47346fd0c6aa9f78be1922daf799dac3f82ff7a (patch)
treeeb076e3b711150641077301d21e689646db0a38e /irc/pisg
parent902b8312fd4bbba0658225a1fa8724aeecd6842f (diff)
downloadports-d47346fd0c6aa9f78be1922daf799dac3f82ff7a.tar.gz
ports-d47346fd0c6aa9f78be1922daf799dac3f82ff7a.zip
Notes
Diffstat (limited to 'irc/pisg')
-rw-r--r--irc/pisg/Makefile41
-rw-r--r--irc/pisg/distinfo2
-rw-r--r--irc/pisg/pkg-descr4
-rw-r--r--irc/pisg/pkg-plist27
-rw-r--r--irc/pisg/scripts/post-patch15
5 files changed, 63 insertions, 26 deletions
diff --git a/irc/pisg/Makefile b/irc/pisg/Makefile
index 38d21503663d..b58ad62958f6 100644
--- a/irc/pisg/Makefile
+++ b/irc/pisg/Makefile
@@ -6,16 +6,47 @@
#
PORTNAME= pisg
-PORTVERSION= 0.36
+PORTVERSION= 0.39
CATEGORIES= irc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= pgl@instinct.org
+MAINTAINER= mich@freebsdcluster.org
-PERL_CONFIGURE= yes
+USE_REINPLACE= YES
+USE_PERL5= YES
+NO_BUILD= YES
-MAN3PREFIX= ${LOCALBASE}/lib/perl5/${PERL_VERSION}
-MAN3= Pisg.3 Pisg::Parser::Logfile.3 Pisg::Common.3 Pisg::HTMLGenerator.3
+pre-patch:
+ @${REINPLACE_CMD} -e 's|lang.txt|${PREFIX}/share/pisg/lang.txt|; \
+ s|layout/|${PREFIX}/share/pisg/layout/|' \
+ ${WRKSRC}/modules/Pisg.pm
+ @${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' ${WRKSRC}/pisg
+
+do-install:
+ ${MKDIR} ${PREFIX}/etc/pisg
+ ${MKDIR} ${DATADIR}/layout
+ ${MKDIR} ${DATADIR}/gfx
+ ${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/Pisg/Parser/Format
+ ${INSTALL_DATA} ${WRKSRC}/pisg.cfg ${PREFIX}/etc/pisg/pisg.cfg.sample
+ ${INSTALL_DATA} ${WRKSRC}/gfx/* ${DATADIR}/gfx
+ ${INSTALL_DATA} ${WRKSRC}/layout/* ${DATADIR}/layout
+ ${INSTALL_DATA} ${WRKSRC}/lang.txt ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/modules/Pisg.pm ${PREFIX}/lib/perl5/site_perl/${PERL_VER}
+ ${INSTALL_DATA} ${WRKSRC}/modules/Pisg/*.pm ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/Pisg
+ ${INSTALL_DATA} ${WRKSRC}/modules/Pisg/Parser/*.pm ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/Pisg/Parser
+ ${INSTALL_DATA} ${WRKSRC}/modules/Pisg/Parser/Format/*.pm ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/Pisg/Parser/Format
+ ${INSTALL_SCRIPT} ${WRKSRC}/pisg ${PREFIX}/bin
+
+post-install:
+.if !defined(BATCH)
+ @${ECHO_CMD} ""
+ @${ECHO_CMD} "###############################################################################"
+ @${ECHO_CMD} "# Please create a pisg config file in ${PREFIX}/etc/pisg #"
+ @${ECHO_CMD} "# A sample configuration file is installed as pisg.cfg.sample #"
+ @${ECHO_CMD} "# Remember to move gfx (${DATADIR}/gfx/) to HTML file destination. #"
+ @${ECHO_CMD} "###############################################################################"
+ @${ECHO_CMD}
+.endif
.include <bsd.port.mk>
diff --git a/irc/pisg/distinfo b/irc/pisg/distinfo
index 2502088bec9b..b8edb02e1357 100644
--- a/irc/pisg/distinfo
+++ b/irc/pisg/distinfo
@@ -1 +1 @@
-MD5 (pisg-0.36.tar.gz) = 979679530d3060e92c3cdae4e631e867
+MD5 (pisg-0.39.tar.gz) = c15c9de6aba6fe1912d50df3717cef4d
diff --git a/irc/pisg/pkg-descr b/irc/pisg/pkg-descr
index 870536a01599..23097a0c6991 100644
--- a/irc/pisg/pkg-descr
+++ b/irc/pisg/pkg-descr
@@ -3,5 +3,5 @@ formats and produces an html page of statistics. Its homepage is at:
WWW: http://pisg.sourceforge.net/
- - Peter Lowe
- pgl@instinct.org
+- Michael L. Hostbaek
+ mich@freebsdcluster.org
diff --git a/irc/pisg/pkg-plist b/irc/pisg/pkg-plist
index 577ad5c2d53e..29300d49a700 100644
--- a/irc/pisg/pkg-plist
+++ b/irc/pisg/pkg-plist
@@ -1,3 +1,6 @@
+bin/pisg
+etc/pisg/pisg.cfg.sample
+lib/perl5/site_perl/%%PERL_VER%%/Pisg.pm
lib/perl5/site_perl/%%PERL_VER%%/Pisg/Common.pm
lib/perl5/site_perl/%%PERL_VER%%/Pisg/HTMLGenerator.pm
lib/perl5/site_perl/%%PERL_VER%%/Pisg/Parser/Format/bxlog.pm
@@ -6,21 +9,39 @@ lib/perl5/site_perl/%%PERL_VER%%/Pisg/Parser/Format/Trillian.pm
lib/perl5/site_perl/%%PERL_VER%%/Pisg/Parser/Format/axur.pm
lib/perl5/site_perl/%%PERL_VER%%/Pisg/Parser/Format/zcbot.pm
lib/perl5/site_perl/%%PERL_VER%%/Pisg/Parser/Format/oer.pm
+lib/perl5/site_perl/%%PERL_VER%%/Pisg/Parser/Format/dancer.pm
lib/perl5/site_perl/%%PERL_VER%%/Pisg/Parser/Format/eggdrop.pm
+lib/perl5/site_perl/%%PERL_VER%%/Pisg/Parser/Format/energymech.pm
lib/perl5/site_perl/%%PERL_VER%%/Pisg/Parser/Format/irssi.pm
lib/perl5/site_perl/%%PERL_VER%%/Pisg/Parser/Format/mIRC.pm
lib/perl5/site_perl/%%PERL_VER%%/Pisg/Parser/Format/ircle.pm
lib/perl5/site_perl/%%PERL_VER%%/Pisg/Parser/Format/psybnc.pm
+lib/perl5/site_perl/%%PERL_VER%%/Pisg/Parser/Format/virc98.pm
lib/perl5/site_perl/%%PERL_VER%%/Pisg/Parser/Format/infobot.pm
lib/perl5/site_perl/%%PERL_VER%%/Pisg/Parser/Format/grufti.pm
lib/perl5/site_perl/%%PERL_VER%%/Pisg/Parser/Format/mbot.pm
-lib/perl5/site_perl/%%PERL_VER%%/Pisg/Parser/Format/winbot.pm
+lib/perl5/site_perl/%%PERL_VER%%/Pisg/Parser/Format/muh.pm
lib/perl5/site_perl/%%PERL_VER%%/Pisg/Parser/Format/bobot.pm
lib/perl5/site_perl/%%PERL_VER%%/Pisg/Parser/Format/xchat.pm
lib/perl5/site_perl/%%PERL_VER%%/Pisg/Parser/Format/perlbot.pm
+lib/perl5/site_perl/%%PERL_VER%%/Pisg/Parser/Format/pircbot.pm
+lib/perl5/site_perl/%%PERL_VER%%/Pisg/Parser/Format/winbot.pm
lib/perl5/site_perl/%%PERL_VER%%/Pisg/Parser/Logfile.pm
+share/pisg/layout/darkgalaxy.css
+share/pisg/layout/default.css
+share/pisg/gfx/blue-h.png
+share/pisg/gfx/blue-v.png
+share/pisg/gfx/green-h.png
+share/pisg/gfx/green-v.png
+share/pisg/gfx/red-h.png
+share/pisg/gfx/red-v.png
+share/pisg/gfx/yellow-h.png
+share/pisg/gfx/yellow-v.png
+share/pisg/lang.txt
+@dirrm share/pisg/layout
+@dirrm share/pisg/gfx
+@dirrm share/pisg
@dirrm lib/perl5/site_perl/%%PERL_VER%%/Pisg/Parser/Format
@dirrm lib/perl5/site_perl/%%PERL_VER%%/Pisg/Parser
@dirrm lib/perl5/site_perl/%%PERL_VER%%/Pisg
-lib/perl5/site_perl/5.005/i386-freebsd/auto/Pisg/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Pisg
+@dirrm etc/pisg
diff --git a/irc/pisg/scripts/post-patch b/irc/pisg/scripts/post-patch
deleted file mode 100644
index 73a4d337aee1..000000000000
--- a/irc/pisg/scripts/post-patch
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-cd $WRKSRC
-
-cat <<EOMAKEFILE>>Makefile.PL
-use ExtUtils::MakeMaker;
-WriteMakefile(
- NAME => 'Pisg',
- VERSION => '0.34',
- );
-EOMAKEFILE
-
-mv modules lib
-mv pisg.pl pisg
-touch Makefile