Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Dec 2004 19:11:50 +0100 (CET)
From:      Emanuel Haupt <ehaupt@critical.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/74684: new port: irc/netwalker-ircc
Message-ID:  <200412041811.iB4IBo4e058222@beaver.critical.ch>
Resent-Message-ID: <200412041820.iB4IKGLg068280@freefall.freebsd.org>

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

>Number:         74684
>Category:       ports
>Synopsis:       new port: irc/netwalker-ircc
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 04 18:20:15 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Emanuel Haupt
>Release:        FreeBSD 5.3-RELEASE-p2 i386
>Organization:
http://critical.ch
>Environment:
System: FreeBSD beaver.critical.ch 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #0: Fri Dec 3 11:18:36 CET 2004 build@beaver.critical.ch:/home/build/src-release/src/sys/BEAVER i386


	
>Description:
New port: irc/netwalker-ircc

Netwalker is a tiny curses-based IRC client. The current version is written in
c/cpp. Future releases are planed to be written in plain cpp. Netwalker aims to
be a slim IRC client.

---shar start---
# 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:
#
#	netwalker-ircc
#	netwalker-ircc/Makefile
#	netwalker-ircc/pkg-descr
#	netwalker-ircc/distinfo
#	netwalker-ircc/files
#	netwalker-ircc/files/patch-config.h
#	netwalker-ircc/files/patch-netwalker.1
#	netwalker-ircc/files/patch-Makefile
#	netwalker-ircc/pkg-plist
#
echo c - netwalker-ircc
mkdir -p netwalker-ircc > /dev/null 2>&1
echo x - netwalker-ircc/Makefile
sed 's/^X//' >netwalker-ircc/Makefile << 'END-of-netwalker-ircc/Makefile'
X# New ports collection makefile for:   netwalker-ircc
X# Date created:        4 December 2004
X# Whom:                Emanuel Haupt <ehaupt@critical.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	netwalker-ircc
XPORTVERSION=	0.5.0
XCATEGORIES=	irc
XMASTER_SITES=	http://www.bind.ch/projects/netwalker/netwalker-src/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	ehaupt@critical.ch
XCOMMENT=	A lightweight curses-based IRC client
X
XMAN1=		netwalker.1
X
Xpost-patch:
X	@${SED} -e "s|%%PREFIX%%|${PREFIX}|g" \
X	${WRKSRC}/config.h > ${WRKSRC}/config.h.freebsd
X	${MV} ${WRKSRC}/config.h.freebsd ${WRKSRC}/config.h
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/netwalker ${PREFIX}/bin
X	${INSTALL_MAN} ${WRKSRC}/netwalker.1 ${MANPREFIX}/man/man1
X	@${MKDIR} ${DATADIR}
X	${CP} ${WRKSRC}/help/* ${PREFIX}/share/netwalker-ircc
X
X.include <bsd.port.mk>
END-of-netwalker-ircc/Makefile
echo x - netwalker-ircc/pkg-descr
sed 's/^X//' >netwalker-ircc/pkg-descr << 'END-of-netwalker-ircc/pkg-descr'
XNetwalker is a tiny curses-based IRC client. The current version is written in
Xc/cpp. Future releases are planed to be written in plain cpp. Netwalker aims to
Xbe a slim IRC client.
X
XWWW: http://www.bind.ch/projects/netwalker/
END-of-netwalker-ircc/pkg-descr
echo x - netwalker-ircc/distinfo
sed 's/^X//' >netwalker-ircc/distinfo << 'END-of-netwalker-ircc/distinfo'
XMD5 (netwalker-ircc-0.5.0.tgz) = 1f5a7cc0fb54142c6306651105aedd68
XSIZE (netwalker-ircc-0.5.0.tgz) = 54768
END-of-netwalker-ircc/distinfo
echo c - netwalker-ircc/files
mkdir -p netwalker-ircc/files > /dev/null 2>&1
echo x - netwalker-ircc/files/patch-config.h
sed 's/^X//' >netwalker-ircc/files/patch-config.h << 'END-of-netwalker-ircc/files/patch-config.h'
X--- config.h.orig	Sat Dec  4 17:43:47 2004
X+++ config.h	Sat Dec  4 17:44:04 2004
X@@ -47,9 +47,9 @@
X #define PART_QUIT_MSG_LEN 256
X #define CTCP_VERSION_REPLY "Netwalker IRC-Client"
X 
X-#define FILES_HELP_DIRECTORY       "/usr/share/netwalker-ircc/"
X+#define FILES_HELP_DIRECTORY       "%%PREFIX%%/share/netwalker-ircc/"
X #define FILES_HELP_INDEX_FILE      "/helpindex.asc"
X-#define FILES_CONFIG_FILE          "/.netwalkerircc.conf"
X+#define FILES_CONFIG_FILE          "/.netwalkerircc"
X 
X /* some default values */
X #define DEFAULT_NICKNAME           "ABC"
END-of-netwalker-ircc/files/patch-config.h
echo x - netwalker-ircc/files/patch-netwalker.1
sed 's/^X//' >netwalker-ircc/files/patch-netwalker.1 << 'END-of-netwalker-ircc/files/patch-netwalker.1'
X--- netwalker.1.orig	Sat Dec  4 17:44:31 2004
X+++ netwalker.1	Sat Dec  4 17:44:58 2004
X@@ -33,7 +33,7 @@
X .SH CONFIGURATION FILE
X after you used the command 'netwalker -c' there will be a
X .br
X-default configuration-file (atm called: '.netwalkerircc.conf') in your home directory.
X+default configuration-file (atm called: '.netwalkerircc') in your home directory.
X .br
X Available config-file options:
X .br
END-of-netwalker-ircc/files/patch-netwalker.1
echo x - netwalker-ircc/files/patch-Makefile
sed 's/^X//' >netwalker-ircc/files/patch-Makefile << 'END-of-netwalker-ircc/files/patch-Makefile'
X--- Makefile.orig	Sat Dec  4 18:08:38 2004
X+++ Makefile	Sat Dec  4 18:12:23 2004
X@@ -1,6 +1,6 @@
X-CC=g++
X+CXX ?= g++
X LDFLAGS=-lncurses -lpthread
X-CFLAGS=-O2 -Wall
X+CFLAGS ?= -O2 -Wall
X #CFLAGS=-O2 -Wall -DDEBUG
X objects=main.o functions.o screen.o server.o user.o messages.o signals.o parameter.o userdb.o
X DESTDIR=/usr
X@@ -54,7 +54,7 @@
X 
X link_the_binary:
X 	@echo "--== LINKING THE BINARY ==--"
X-	$(CC) $(LDFLAGS) $(objects) -o $(BINNAME)
X+	${CXX} $(LDFLAGS) $(objects) -o $(BINNAME)
X 
X help:
X 	@echo "Available Options:"
X@@ -77,28 +77,28 @@
X 	@echo ""
X 
X main.o:
X-	$(CC) $(CFLAGS) -c main.cc              -o main.o
X+	${CXX} ${CFLAGS} -c main.cc              -o main.o
X 
X functions.o:
X-	$(CC) $(CFLAGS) -c functions.cc         -o functions.o
X+	${CXX} ${CFLAGS} -c functions.cc         -o functions.o
X 
X screen.o:
X-	$(CC) $(CFLAGS) -c screen.cc            -o screen.o
X+	${CXX} ${CFLAGS} -c screen.cc            -o screen.o
X 
X server.o:
X-	$(CC) $(CFLAGS) -c server.cc            -o server.o
X+	${CXX} ${CFLAGS} -c server.cc            -o server.o
X 
X user.o:
X-	$(CC) $(CFLAGS) -c user.cc              -o user.o
X+	${CXX} ${CFLAGS} -c user.cc              -o user.o
X 
X messages.o:
X-	$(CC) $(CFLAGS) -c messages.cc          -o messages.o
X+	${CXX} ${CFLAGS} -c messages.cc          -o messages.o
X 
X signals.o:
X-	$(CC) $(CFLAGS) -c signals.cc           -o signals.o
X+	${CXX} ${CFLAGS} -c signals.cc           -o signals.o
X 
X parameter.o:
X-	$(CC) $(CFLAGS) -c parameter.cc         -o parameter.o
X+	${CXX} ${CFLAGS} -c parameter.cc         -o parameter.o
X 
X userdb.o:
X-	$(CC) $(CFLAGS) -c userdb.cc            -o userdb.o
X+	${CXX} ${CFLAGS} -c userdb.cc            -o userdb.o
END-of-netwalker-ircc/files/patch-Makefile
echo x - netwalker-ircc/pkg-plist
sed 's/^X//' >netwalker-ircc/pkg-plist << 'END-of-netwalker-ircc/pkg-plist'
Xbin/netwalker
X%%DATADIR%%/help_connect.asc
X%%DATADIR%%/help_ctcp.asc
X%%DATADIR%%/help_disconnect.asc
X%%DATADIR%%/help_help.asc
X%%DATADIR%%/help_join.asc
X%%DATADIR%%/help_me.asc
X%%DATADIR%%/help_msg.asc
X%%DATADIR%%/help_nick.asc
X%%DATADIR%%/help_part.asc
X%%DATADIR%%/help_quit.asc
X%%DATADIR%%/help_reconnect.asc
X%%DATADIR%%/help_screen.asc
X%%DATADIR%%/help_topic.asc
X%%DATADIR%%/help_who.asc
X%%DATADIR%%/helpindex.asc
X@dirrm %%DATADIR%%
END-of-netwalker-ircc/pkg-plist
exit
---shar stop---

>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412041811.iB4IBo4e058222>