summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chat/emech/MESSAGE28
-rw-r--r--chat/emech/Makefile22
-rw-r--r--chat/emech/PLIST8
-rw-r--r--chat/emech/distinfo9
-rw-r--r--chat/emech/patches/patch-aa12
5 files changed, 17 insertions, 62 deletions
diff --git a/chat/emech/MESSAGE b/chat/emech/MESSAGE
deleted file mode 100644
index 48c7beb9694..00000000000
--- a/chat/emech/MESSAGE
+++ /dev/null
@@ -1,28 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.3 2003/06/29 13:58:39 wiz Exp $
-
-Quickstart quide:
-
-0) Choose a home for emech, where the user running emech will have write
- permission. For instance, /var/run/emech
-
-1) cp ${PREFIX}/share/example/emech/sample.set ${PREFIX}/etc/mech.set
-
-2) vi ${PREFIX}/etc/mech.set
--- look through the file for sections to change, you will have to remove
- lines in order to get the bot to work. Check the file completely!
-
-3) genuser /var/run/emech/emech.users
--- It seems that things work better with a DNS address in the hostmask
- instead of an IP address..
-
-4) cd /var/run/emech/
--- the user that will be running emech needs write access to this directory
-
-5) ${PREFIX}/bin/mech -f ${PREFIX}/etc/mech.set
--- The full path to the binary is mandatory.
-
-6) See documentation in ${PREFIX}/share/example/emech/mech.help and on
- http://www.energymech.net/docs/
-
-===========================================================================
diff --git a/chat/emech/Makefile b/chat/emech/Makefile
index ec32743781e..293dd66f487 100644
--- a/chat/emech/Makefile
+++ b/chat/emech/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2006/01/07 21:39:49 rillig Exp $
+# $NetBSD: Makefile,v 1.5 2007/03/17 14:13:23 rillig Exp $
#
-DISTNAME= emech-2.8.4
+DISTNAME= emech-3.0.2
CATEGORIES= chat
MASTER_SITES= http://www.energymech.net/files/
@@ -9,20 +9,16 @@ MAINTAINER= manu@NetBSD.org
HOMEPAGE= http://www.energymech.net/
COMMENT= IRC bot written in C
-HAS_CONFIGURE= YES
-
+HAS_CONFIGURE= YES
# The ./configure script is interactive, but selects the default values
# when given no input.
-do-configure:
- cd ${WRKSRC} && ./configure </dev/null
+CONFIGURE_ARGS+= < /dev/null
+BUILD_TARGET= mech
+INSTALLATION_DIRS_FROM_PLIST= yes
post-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/mech ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/genuser ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/example/emech
- ${INSTALL_DATA} ${WRKSRC}/sample.set \
- ${PREFIX}/share/example/emech/
- ${INSTALL_DATA} ${WRKSRC}/mech.help \
- ${PREFIX}/share/example/emech/
+ ${INSTALL_PROGRAM} ${WRKSRC}/energymech ${PREFIX}/bin/mech
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/emech
+ ${INSTALL_DATA} ${WRKSRC}/sample.conf ${PREFIX}/share/examples/emech/
.include "../../mk/bsd.pkg.mk"
diff --git a/chat/emech/PLIST b/chat/emech/PLIST
index 3cf5ea5fc21..b1684534a09 100644
--- a/chat/emech/PLIST
+++ b/chat/emech/PLIST
@@ -1,6 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2002/06/06 17:10:32 schmonz Exp $
+@comment $NetBSD: PLIST,v 1.3 2007/03/17 14:13:23 rillig Exp $
bin/mech
-bin/genuser
-share/example/emech/sample.set
-share/example/emech/mech.help
-@dirrm share/example/emech
+share/examples/emech/sample.conf
+@dirrm share/examples/emech
diff --git a/chat/emech/distinfo b/chat/emech/distinfo
index 2271452b528..c0f0db3b1c8 100644
--- a/chat/emech/distinfo
+++ b/chat/emech/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2005/12/13 16:01:26 joerg Exp $
+$NetBSD: distinfo,v 1.4 2007/03/17 14:13:23 rillig Exp $
-SHA1 (emech-2.8.4.tar.gz) = ebc2c21e69f7b54e8657202ee2f72804607b754b
-RMD160 (emech-2.8.4.tar.gz) = 1f68091ec0e75dfda68078c7a026e55eb91286f0
-Size (emech-2.8.4.tar.gz) = 170610 bytes
+SHA1 (emech-3.0.2.tar.gz) = f74a07136cf6b672b496564c4838e12246f25c0a
+RMD160 (emech-3.0.2.tar.gz) = 2c4bed99dc200afd3636cae948eea193a85e65c2
+Size (emech-3.0.2.tar.gz) = 229907 bytes
SHA1 (patch-aa) = bd69c3628e414de3d151a23a004887d81ad4d765
+SHA1 (patch-ab) = 628d0e9a7d8a8a7792fd2e4723fe6afe64732009
diff --git a/chat/emech/patches/patch-aa b/chat/emech/patches/patch-aa
deleted file mode 100644
index ad60a40c3f3..00000000000
--- a/chat/emech/patches/patch-aa
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2005/12/13 16:01:26 joerg Exp $
-
---- src/link.c.orig 2005-12-13 15:56:08.000000000 +0000
-+++ src/link.c
-@@ -1988,6 +1988,7 @@ auto_try:
- add_aBotLink(&new);
-
- no_autolink: /* end of autolinking */
-+ ;
- }
-
- #endif /* LINKING */