Date: Mon, 03 Jun 2002 15:43:33 +0100 From: Tim Bishop <tim@bishnet.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/38858: New port: pircbot - Java IRC Bot Framework Message-ID: <E17Et3V-000Mef-00@kruskal.18hp.bishnet.net>
next in thread | raw e-mail | index | archive | help
>Number: 38858 >Category: ports >Synopsis: New port: pircbot - Java IRC Bot Framework >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jun 03 07:50:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Tim Bishop >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD kruskal.18hp.net 4.5-STABLE FreeBSD 4.5-STABLE #2: Mon Apr 1 21:00:54 BST 2002 tdb@kruskal.18hp.net:/usr/obj/usr/src/sys/KRUSKAL i386 >Description: Taken from pkg-descr: "PircBot is a framework for an IRC Bot writte in Java. It allows you to create your own custom IRC Bots using Java by building on an easy to use framework that is already provided by the PircBot". I have also communicated with the author, and he is more than happy for pircbot to be added to the FreeBSD ports collection. >How-To-Repeat: >Fix: Below is a shar file of the port. I'm pretty sure I got it all right - it passed portlint. My only uncertainty is whether the USE_JAVA line is required. This is a framework and by itself doesn't actually run - you need to write a Java program to utilise it, at which point you'd install Java. On the other hand, this port is pretty useless without Java, which is why I left the USE_JAVA line in the Makefile. --- pircbot.sh begins here --- # 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: # # pircbot # pircbot/Makefile # pircbot/pkg-comment # pircbot/pkg-descr # pircbot/pkg-plist # pircbot/distinfo # echo c - pircbot mkdir -p pircbot > /dev/null 2>&1 echo x - pircbot/Makefile sed 's/^X//' >pircbot/Makefile << 'END-of-pircbot/Makefile' X# New ports collection makefile for: pircbot X# Date created: 2 June 2002 X# Whom: Tim Bishop <tim@bishnet.net> X# X# $FreeBSD$ X# X XPORTNAME= pircbot XPORTVERSION= 0.9.4 XCATEGORIES= irc java XMASTER_SITES= http://www.jibble.org/files/ http://www.i-scream.org.uk/downloads/other/ X XMAINTAINER= tim@bishnet.net X XUSE_ZIP= yes XNO_BUILD= yes X XUSE_JAVA= 1.1+ X Xdo-install: X ${INSTALL_DATA} ${WRKSRC}/pircbot.jar ${PREFIX}/share/java/classes X.if !defined(NOPORTDOCS) X ${MKDIR} ${PREFIX}/share/doc/pircbot X (cd ${WRKSRC}/javadocs && ${TAR} -cf - . | ${TAR} -xf - -C ${PREFIX}/share/doc/pircbot) X.endif X Xpost-install: X @echo " ---------------------------------------------------------------" X @echo " To use pircbot add ${PREFIX}/share/java/classes/pircbot.jar to" X @echo " your classpath. A short tutorial can be found here:" X @echo " http://www.jibble.org/pircbot.php" X.if !defined(NOPORTDOCS) X @echo " pircbot javadoc documentation has also been installed in:" X @echo " ${PREFIX}/share/doc/pircbot" X.endif X @echo " ---------------------------------------------------------------" X X.include <bsd.port.mk> END-of-pircbot/Makefile echo x - pircbot/pkg-comment sed 's/^X//' >pircbot/pkg-comment << 'END-of-pircbot/pkg-comment' XPircBot Java IRC Bot Framework END-of-pircbot/pkg-comment echo x - pircbot/pkg-descr sed 's/^X//' >pircbot/pkg-descr << 'END-of-pircbot/pkg-descr' XPircBot is a framework for an IRC Bot written in Java. XIt allows you to create your own custom IRC Bots using XJava by building on the easy to use framework that is Xalready provided by the PircBot. X XWWW: http://www.jibble.org/pircbot.php END-of-pircbot/pkg-descr echo x - pircbot/pkg-plist sed 's/^X//' >pircbot/pkg-plist << 'END-of-pircbot/pkg-plist' Xshare/java/classes/pircbot.jar X%%PORTDOCS%%share/doc/pircbot/constant-values.html X%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/class-use/NickAlreadyInUseException.html X%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/class-use/DccChat.html X%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/class-use/IdentServer.html X%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/class-use/InputThread.html X%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/class-use/IrcException.html X%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/class-use/OutputThread.html X%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/class-use/PircBot.html X%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/class-use/Queue.html X%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/package-use.html X%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/package-frame.html X%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/package-summary.html X%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/package-tree.html X%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/DccChat.html X%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/IdentServer.html X%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/InputThread.html X%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/OutputThread.html X%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/PircBot.html X%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/Queue.html X%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/IrcException.html X%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/NickAlreadyInUseException.html X%%PORTDOCS%%share/doc/pircbot/overview-tree.html X%%PORTDOCS%%share/doc/pircbot/index-all.html X%%PORTDOCS%%share/doc/pircbot/deprecated-list.html X%%PORTDOCS%%share/doc/pircbot/allclasses-frame.html X%%PORTDOCS%%share/doc/pircbot/allclasses-noframe.html X%%PORTDOCS%%share/doc/pircbot/index.html X%%PORTDOCS%%share/doc/pircbot/packages.html X%%PORTDOCS%%share/doc/pircbot/serialized-form.html X%%PORTDOCS%%share/doc/pircbot/package-list X%%PORTDOCS%%share/doc/pircbot/help-doc.html X%%PORTDOCS%%share/doc/pircbot/stylesheet.css X%%PORTDOCS%%@dirrm share/doc/pircbot/org/jibble/pircbot/class-use X%%PORTDOCS%%@dirrm share/doc/pircbot/org/jibble/pircbot X%%PORTDOCS%%@dirrm share/doc/pircbot/org/jibble X%%PORTDOCS%%@dirrm share/doc/pircbot/org X%%PORTDOCS%%@dirrm share/doc/pircbot END-of-pircbot/pkg-plist echo x - pircbot/distinfo sed 's/^X//' >pircbot/distinfo << 'END-of-pircbot/distinfo' XMD5 (pircbot-0.9.4.zip) = a7703ab835f747ded6c83b9f00186df8 END-of-pircbot/distinfo exit --- pircbot.sh ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E17Et3V-000Mef-00>