summaryrefslogtreecommitdiff
path: root/irc/ngircd
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2003-05-03 21:42:35 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2003-05-03 21:42:35 +0000
commit33cbc7497b79baa4f6e04e6812a1cca75e00c4fd (patch)
tree1cb71d2ec802f4b42f4bcfd99d6477b3c52cc12c /irc/ngircd
parentUpgrading www/tidy-devel and www/tidy-lib to their latest version. (diff)
Add ngircd 0.7.0,
free open source daemon for Internet Relay Chat (IRC). PR: 51683 Submitted by: Kirill Ponomarew <ponomarew@oberon.net>
Notes
Notes: svn path=/head/; revision=80074
Diffstat (limited to 'irc/ngircd')
-rw-r--r--irc/ngircd/Makefile56
-rw-r--r--irc/ngircd/distinfo1
-rw-r--r--irc/ngircd/files/patch-doc::Makefile.in36
-rw-r--r--irc/ngircd/files/patch-man::Makefile.in10
-rw-r--r--irc/ngircd/files/patch-src::ngircd_Makefile.in10
-rw-r--r--irc/ngircd/pkg-descr6
-rw-r--r--irc/ngircd/pkg-plist9
7 files changed, 128 insertions, 0 deletions
diff --git a/irc/ngircd/Makefile b/irc/ngircd/Makefile
new file mode 100644
index 000000000000..bc5760f93567
--- /dev/null
+++ b/irc/ngircd/Makefile
@@ -0,0 +1,56 @@
+# New ports collection makefile for: ngircd
+# Date created: 1 May CEST 2003
+# Whom: Kirill Ponomarew <ponomarew@oberon.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ngircd
+PORTVERSION= 0.7.0
+CATEGORIES= irc
+MASTER_SITES= http://download.berlios.de/ngircd/ \
+ ftp://ftp.berlios.de/pub/ngircd/
+DISTNAME= ${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= ponomarew@oberon.net
+COMMENT= Free open source daemon for Internet Relay Chat (IRC)
+
+GNU_CONFIGURE= yes
+
+.if exists(/usr/include/tcpd.h)
+USE_TCP_WRAPPERS= yes
+CONFIGURE_ARGS+= --with-tcp-wrappers
+.endif
+
+.if defined(WITHOUT_SYSLOG)
+CONFIGURE_ARGS+= --without-syslog
+.endif
+
+.if defined(WITHOUT_ZLIB)
+CONFIGURE_ARGS+= --without-zlib
+.endif
+
+pre-configure:
+ @${ECHO_MSG} ""
+.if defined(USE_TCP_WRAPPERS)
+ @${ECHO_MSG} "Enabling TCP wrappers support"
+ @${ECHO_MSG} ""
+.endif
+.if defined(WITHOUT_SYSLOG)
+ @${ECHO_MSG} "Disable syslog support"
+ @${ECHO_MSG} ""
+.endif
+.if defined(WITHOUT_ZLIB)
+ @${ECHO_MSG} "Disable zlib suppot"
+ @${ECHO_MSG} ""
+.endif
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/ngircd
+.for i in AUTHORS COPYING ChangeLog INSTALL NEWS README
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/ngircd/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/irc/ngircd/distinfo b/irc/ngircd/distinfo
new file mode 100644
index 000000000000..213f9c9a37d7
--- /dev/null
+++ b/irc/ngircd/distinfo
@@ -0,0 +1 @@
+MD5 (ngircd-0.7.0.tar.gz) = 3884b8aebd8f43dff91d51fbf688dbc3
diff --git a/irc/ngircd/files/patch-doc::Makefile.in b/irc/ngircd/files/patch-doc::Makefile.in
new file mode 100644
index 000000000000..d26ed246641a
--- /dev/null
+++ b/irc/ngircd/files/patch-doc::Makefile.in
@@ -0,0 +1,36 @@
+--- doc/Makefile.in.orig Thu May 1 18:16:09 2003
++++ doc/Makefile.in Sun May 4 05:30:12 2003
+@@ -65,7 +65,6 @@
+ install_sh_PROGRAM = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+-transform = @program_transform_name@
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+@@ -92,14 +91,11 @@
+ am__quote = @am__quote@
+ install_sh = @install_sh@
+
+-EXTRA_DIST = CVS.txt FAQ.txt Protocol.txt Platforms.txt \
+- README-AUX.txt README-BeOS.txt RFC.txt sample-ngircd.conf
+-
++EXTRA_DIST =
+
+ docdir = $(datadir)/doc/$(PACKAGE)
+
+-documents = $(EXTRA_DIST) ../AUTHORS ../COPYING ../ChangeLog ../INSTALL \
+- ../NEWS ../README
++documents = $(EXTRA_DIST)
+
+ subdir = doc
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+@@ -232,7 +228,7 @@
+ install-data-hook:
+ $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
+ if [ ! -f $(DESTDIR)$(sysconfdir)/ngircd.conf ]; then \
+- $(INSTALL) -m 600 -c $(srcdir)/sample-ngircd.conf $(DESTDIR)$(sysconfdir)/ngircd.conf; \
++ $(INSTALL) -m 600 -c $(srcdir)/sample-ngircd.conf $(DESTDIR)$(sysconfdir)/ngircd.conf.sample; \
+ fi
+ $(mkinstalldirs) $(DESTDIR)$(docdir)
+ for f in $(documents); do \
diff --git a/irc/ngircd/files/patch-man::Makefile.in b/irc/ngircd/files/patch-man::Makefile.in
new file mode 100644
index 000000000000..7a612746b55f
--- /dev/null
+++ b/irc/ngircd/files/patch-man::Makefile.in
@@ -0,0 +1,10 @@
+--- man/Makefile.in.orig Fri May 2 01:07:58 2003
++++ man/Makefile.in Fri May 2 01:08:09 2003
+@@ -65,7 +65,6 @@
+ install_sh_PROGRAM = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+-transform = @program_transform_name@
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
diff --git a/irc/ngircd/files/patch-src::ngircd_Makefile.in b/irc/ngircd/files/patch-src::ngircd_Makefile.in
new file mode 100644
index 000000000000..9eefc52f68e0
--- /dev/null
+++ b/irc/ngircd/files/patch-src::ngircd_Makefile.in
@@ -0,0 +1,10 @@
+--- src/ngircd/Makefile.in.orig Fri May 2 00:51:33 2003
++++ src/ngircd/Makefile.in Fri May 2 00:51:41 2003
+@@ -64,7 +64,6 @@
+ install_sh_PROGRAM = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+-transform = @program_transform_name@
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
diff --git a/irc/ngircd/pkg-descr b/irc/ngircd/pkg-descr
new file mode 100644
index 000000000000..26c5eb1a8401
--- /dev/null
+++ b/irc/ngircd/pkg-descr
@@ -0,0 +1,6 @@
+ngIRCd is an Open-Source server for the Internet Relay Chat (IRC), which is
+developed and published under the terms of the GNU General Public Licence.
+ngIRCd means "next generation IRC daemon", it's written from scratch and not
+deduced from the "grandfather of IRC daemons", the daemon of the IRCNet.
+
+WWW: http://arthur.ath.cx/~alex/ngircd
diff --git a/irc/ngircd/pkg-plist b/irc/ngircd/pkg-plist
new file mode 100644
index 000000000000..465b588386e3
--- /dev/null
+++ b/irc/ngircd/pkg-plist
@@ -0,0 +1,9 @@
+etc/ngircd.conf.sample
+sbin/ngircd
+%%PORTDOCS%%share/doc/ngircd/AUTHORS
+%%PORTDOCS%%share/doc/ngircd/COPYING
+%%PORTDOCS%%share/doc/ngircd/ChangeLog
+%%PORTDOCS%%share/doc/ngircd/INSTALL
+%%PORTDOCS%%share/doc/ngircd/NEWS
+%%PORTDOCS%%share/doc/ngircd/README
+@dirrm share/doc/ngircd