Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Apr 1999 01:21:35 -0700 (PDT)
From:      cpiazza@home.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/11078: New port: net/ninja
Message-ID:  <19990411082135.BEB9E161E@norn.ca.eu.org>

next in thread | raw e-mail | index | archive | help

>Number:         11078
>Category:       ports
>Synopsis:       New port: net/ninja
>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:   Sun Apr 11 01:30:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Chris Piazza
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
n/a 
>Environment:

FreeBSD 4.0-CURRENT post-egcs.

>Description:

Ninja is yet another ircII based irc client.  The port framework was
based wholly on net/bitchx.
portlint: 0 warnings, 0 fatal
Supports (guess what?..) cflags + prefix

>How-To-Repeat:

>Fix:
	
# 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:
#
#	ninja
#	ninja/files
#	ninja/files/md5
#	ninja/patches
#	ninja/patches/patch-aa
#	ninja/pkg
#	ninja/pkg/COMMENT
#	ninja/pkg/DESCR
#	ninja/pkg/PLIST
#	ninja/Makefile
#
echo c - ninja
mkdir -p ninja > /dev/null 2>&1
echo c - ninja/files
mkdir -p ninja/files > /dev/null 2>&1
echo x - ninja/files/md5
sed 's/^X//' >ninja/files/md5 << 'END-of-ninja/files/md5'
XMD5 (ninja-src.tar.gz) = 1e578cdfe033fd26e7d30594e9e847f7
END-of-ninja/files/md5
echo c - ninja/patches
mkdir -p ninja/patches > /dev/null 2>&1
echo x - ninja/patches/patch-aa
sed 's/^X//' >ninja/patches/patch-aa << 'END-of-ninja/patches/patch-aa'
X--- include/config.h.dist.orig	Sat Apr 10 23:33:33 1999
X+++ include/config.h.dist	Sat Apr 10 23:41:21 1999
X@@ -171,7 +171,7 @@
X #define DEFAULT_HACKED_IDENTD NULL
X #define DEFAULT_HELP_PAGER 1
X /*
X-#define DEFAULT_HELP_PATH "/usr/local/lib/ninja/help:/usr/local/lib/irc/help:~/.ninja"
X+#define DEFAULT_HELP_PATH "__PREFIX__/lib/ninja:__PREFIX__/lib/irc/help:~/.ninja"
X */
X #define DEFAULT_HELP_PROMPT 1
X #define DEFAULT_HELP_WINDOW 0
END-of-ninja/patches/patch-aa
echo c - ninja/pkg
mkdir -p ninja/pkg > /dev/null 2>&1
echo x - ninja/pkg/COMMENT
sed 's/^X//' >ninja/pkg/COMMENT << 'END-of-ninja/pkg/COMMENT'
XAnother ircII based irc client.
END-of-ninja/pkg/COMMENT
echo x - ninja/pkg/DESCR
sed 's/^X//' >ninja/pkg/DESCR << 'END-of-ninja/pkg/DESCR'
XNinja IRC is an alternative ircII based client.  It includes full ANSI colour
Xand many other features normally found only in scripts.
X
XHomepage:
Xhttp://ninja.pimped.org/
X
X-Chris Piazza
Xcpiazza@home.net
END-of-ninja/pkg/DESCR
echo x - ninja/pkg/PLIST
sed 's/^X//' >ninja/pkg/PLIST << 'END-of-ninja/pkg/PLIST'
Xbin/ninja
Xbin/wserv
Xlib/ninja/help/ninja.help
X@dirrm lib/ninja/help
X@dirrm lib/ninja
END-of-ninja/pkg/PLIST
echo x - ninja/Makefile
sed 's/^X//' >ninja/Makefile << 'END-of-ninja/Makefile'
X# New ports collection makefile for: 	Ninja-irc
X# Version required: 	1.0.7
X# Date created:	 	10 April 1999
X# Whom:			Chris Piazza <cpiazza@home.net>
X#
X# $Id$
X#
X
XDISTNAME= 	ninja-src
XPKGNAME=	ninja-1.0.7
XCATEGORIES=	net
XMASTER_SITES=	http://ninja.pimped.org/
X
XMAINTAINER=	cpiazza@home.net
X
XGNU_CONFIGURE=	yes
X
XWRKSRC=		${WRKDIR}/ninja-irc
X
Xpost-patch:
X	@${SED} -e s#__PREFIX__#$(PREFIX)#g $(WRKSRC)/include/config.h.dist > $(WRKSRC)/include/config.h.dist.new
X	@${MV} $(WRKSRC)/include/config.h.dist.new $(WRKSRC)/include/config.h.dist
X
Xdo-install:
X	${MKDIR} ${PREFIX}/lib/ninja/help
X	${INSTALL_PROGRAM} ${WRKSRC}/source/ninja ${PREFIX}/bin
X	${INSTALL_PROGRAM} ${WRKSRC}/source/wserv ${PREFIX}/bin
X	${INSTALL_DATA} ${WRKSRC}/doc/ninja.help ${PREFIX}/lib/ninja/help
X
X.include <bsd.port.mk>
END-of-ninja/Makefile
exit

-Chris

>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?19990411082135.BEB9E161E>