summaryrefslogtreecommitdiff
path: root/irc/ninja
diff options
context:
space:
mode:
authorMichael Haro <mharo@FreeBSD.org>1999-04-15 03:20:01 +0000
committerMichael Haro <mharo@FreeBSD.org>1999-04-15 03:20:01 +0000
commitb7e2daf50d8017403f5dc562e31fc50b10f35a10 (patch)
tree4dd56ccce5fed24bff67ca86d35336b7805f04c5 /irc/ninja
parentcleanup some bastardisation (diff)
Ninja is yet another ircII based irc client.
PR: 11078 Submitted by: Chris Piazza <cpiazza@home.net>
Notes
Notes: svn path=/head/; revision=17887
Diffstat (limited to 'irc/ninja')
-rw-r--r--irc/ninja/Makefile39
-rw-r--r--irc/ninja/distinfo1
-rw-r--r--irc/ninja/files/patch-aa11
-rw-r--r--irc/ninja/files/patch-ab11
-rw-r--r--irc/ninja/pkg-comment1
-rw-r--r--irc/ninja/pkg-descr8
-rw-r--r--irc/ninja/pkg-plist9
7 files changed, 80 insertions, 0 deletions
diff --git a/irc/ninja/Makefile b/irc/ninja/Makefile
new file mode 100644
index 000000000000..b3267cfc31fc
--- /dev/null
+++ b/irc/ninja/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: Ninja-irc
+# Version required: 1.0.7
+# Date created: 10 April 1999
+# Whom: Chris Piazza <cpiazza@home.net>
+#
+# $Id$
+#
+
+DISTNAME= ninja-src
+PKGNAME= ninja-1.0.7
+CATEGORIES= net
+MASTER_SITES= http://ninja.pimped.org/
+
+MAINTAINER= cpiazza@home.net
+
+GNU_CONFIGURE= yes
+
+WRKSRC= ${WRKDIR}/ninja-irc
+
+MAN1= ninja.1
+
+post-patch:
+ @${SED} -e s#__PREFIX__#$(PREFIX)#g $(WRKSRC)/include/config.h.dist > $(WRKSRC)/include/config.h.dist.new
+ @${MV} $(WRKSRC)/include/config.h.dist.new $(WRKSRC)/include/config.h.dist
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/source/ninja ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/source/wserv ${PREFIX}/bin
+ ${MKDIR} ${PREFIX}/share/ninja/help
+ ${INSTALL_DATA} ${WRKSRC}/doc/ninja.help ${PREFIX}/share/ninja/help
+ ${INSTALL_MAN} ${WRKSRC}/doc/ninja.1 ${PREFIX}/man/man1
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/ninja
+ ${INSTALL_DATA} ${WRKSRC}/doc/colors.txt ${PREFIX}/share/doc/ninja
+ ${INSTALL_DATA} ${WRKSRC}/doc/commands.txt ${PREFIX}/share/doc/ninja
+ ${INSTALL_DATA} ${WRKSRC}/doc/keyinfo.txt ${PREFIX}/share/doc/ninja
+.endif
+
+.include <bsd.port.mk>
diff --git a/irc/ninja/distinfo b/irc/ninja/distinfo
new file mode 100644
index 000000000000..bd10e724fcfd
--- /dev/null
+++ b/irc/ninja/distinfo
@@ -0,0 +1 @@
+MD5 (ninja-src.tar.gz) = 1e578cdfe033fd26e7d30594e9e847f7
diff --git a/irc/ninja/files/patch-aa b/irc/ninja/files/patch-aa
new file mode 100644
index 000000000000..f7e121d41846
--- /dev/null
+++ b/irc/ninja/files/patch-aa
@@ -0,0 +1,11 @@
+--- include/config.h.dist.orig Sat Apr 10 23:33:33 1999
++++ include/config.h.dist Sat Apr 10 23:41:21 1999
+@@ -171,7 +171,7 @@
+ #define DEFAULT_HACKED_IDENTD NULL
+ #define DEFAULT_HELP_PAGER 1
+ /*
+-#define DEFAULT_HELP_PATH "/usr/local/lib/ninja/help:/usr/local/lib/irc/help:~/.ninja"
++#define DEFAULT_HELP_PATH "__PREFIX__/share/ninja/help:__PREFIX__/lib/irc/help:~/.ninja"
+ */
+ #define DEFAULT_HELP_PROMPT 1
+ #define DEFAULT_HELP_WINDOW 0
diff --git a/irc/ninja/files/patch-ab b/irc/ninja/files/patch-ab
new file mode 100644
index 000000000000..7fc194d7a2ed
--- /dev/null
+++ b/irc/ninja/files/patch-ab
@@ -0,0 +1,11 @@
+--- configure.orig Tue Apr 13 23:49:03 1999
++++ configure Tue Apr 13 23:49:19 1999
+@@ -3741,7 +3741,7 @@
+
+ if test ! -n "$IRCLIB";
+ then
+- IRCLIB=\${prefix}/lib/ninja
++ IRCLIB=\${prefix}/share/ninja
+ fi
+
+ if test -n "$nextstep"; then
diff --git a/irc/ninja/pkg-comment b/irc/ninja/pkg-comment
new file mode 100644
index 000000000000..a936c48b3d01
--- /dev/null
+++ b/irc/ninja/pkg-comment
@@ -0,0 +1 @@
+Another ircII based irc client.
diff --git a/irc/ninja/pkg-descr b/irc/ninja/pkg-descr
new file mode 100644
index 000000000000..d343286eb826
--- /dev/null
+++ b/irc/ninja/pkg-descr
@@ -0,0 +1,8 @@
+Ninja IRC is an alternative ircII based client. It includes full ANSI colour
+and many other features normally found only in scripts.
+
+Homepage:
+http://ninja.pimped.org/
+
+-Chris Piazza
+cpiazza@home.net
diff --git a/irc/ninja/pkg-plist b/irc/ninja/pkg-plist
new file mode 100644
index 000000000000..dd6ec8cdb45a
--- /dev/null
+++ b/irc/ninja/pkg-plist
@@ -0,0 +1,9 @@
+bin/ninja
+bin/wserv
+share/doc/ninja/colors.txt
+share/doc/ninja/commands.txt
+share/doc/ninja/keyinfo.txt
+share/ninja/help/ninja.help
+@dirrm share/doc/ninja
+@dirrm share/ninja/help
+@dirrm share/ninja