diff options
author | sem <sem@FreeBSD.org> | 2004-12-15 03:08:28 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2004-12-15 03:08:28 +0800 |
commit | 963535c79784b7113cf97381c65cdab26c4d0fb5 (patch) | |
tree | e6683b1ed41c91ab052b7d9040ee697c5a709964 /irc | |
parent | 4914b3be4e01fa85e7b3a0be614ee14b2588d97f (diff) | |
download | freebsd-ports-graphics-963535c79784b7113cf97381c65cdab26c4d0fb5.tar.gz freebsd-ports-graphics-963535c79784b7113cf97381c65cdab26c4d0fb5.tar.zst freebsd-ports-graphics-963535c79784b7113cf97381c65cdab26c4d0fb5.zip |
netwalker-ircc - a lightweight curses-based IRC client
PR: ports/74684
Submitted by: Emanuel Haupt <ehaupt@critical.ch>
Diffstat (limited to 'irc')
-rw-r--r-- | irc/Makefile | 1 | ||||
-rw-r--r-- | irc/netwalker-ircc/Makefile | 45 | ||||
-rw-r--r-- | irc/netwalker-ircc/distinfo | 2 | ||||
-rw-r--r-- | irc/netwalker-ircc/files/patch-config.h | 14 | ||||
-rw-r--r-- | irc/netwalker-ircc/files/patch-netwalker.1 | 11 | ||||
-rw-r--r-- | irc/netwalker-ircc/pkg-descr | 5 | ||||
-rw-r--r-- | irc/netwalker-ircc/pkg-plist | 17 |
7 files changed, 95 insertions, 0 deletions
diff --git a/irc/Makefile b/irc/Makefile index 8948a4f1e25..2ac98b3165e 100644 --- a/irc/Makefile +++ b/irc/Makefile @@ -53,6 +53,7 @@ SUBDIR += miau SUBDIR += muh SUBDIR += nethirc + SUBDIR += netwalker-ircc SUBDIR += ngircd SUBDIR += ninja SUBDIR += olirc diff --git a/irc/netwalker-ircc/Makefile b/irc/netwalker-ircc/Makefile new file mode 100644 index 00000000000..ce4943b3e25 --- /dev/null +++ b/irc/netwalker-ircc/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: netwalker-ircc +# Date created: 4 December 2004 +# Whom: Emanuel Haupt <ehaupt@critical.ch> +# +# $FreeBSD$ +# + +PORTNAME= netwalker-ircc +PORTVERSION= 0.5.0 +CATEGORIES= irc +MASTER_SITES= http://www.bind.ch/projects/netwalker/netwalker-src/ +EXTRACT_SUFX= .tgz + +MAINTAINER= ehaupt@critical.ch +COMMENT= A lightweight curses-based IRC client + +MAN1= netwalker.1 + +LDFLAGS= -lncurses ${PTHREAD_LIBS} +CFLAGS?= -O2 -Wall + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 400010 +LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses +.endif + +post-patch: + @${SED} -e "s|%%PREFIX%%|${PREFIX}|g" \ + ${WRKSRC}/config.h > ${WRKSRC}/config.h.freebsd + ${MV} ${WRKSRC}/config.h.freebsd ${WRKSRC}/config.h + +do-build: +.for file in main functions screen server user messages signals parameter userdb + ${CXX} ${CFLAGS} -c ${WRKSRC}/${file}.cc -o ${WRKSRC}/${file}.o +.endfor + ${CXX} ${LDFLAGS} -L${WRKSRC}/ ${WRKSRC}/*.o -o ${WRKSRC}/netwalker + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/netwalker ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/netwalker.1 ${MANPREFIX}/man/man1 + @${MKDIR} ${DATADIR} + ${CP} ${WRKSRC}/help/* ${PREFIX}/share/netwalker-ircc + +.include <bsd.port.post.mk> diff --git a/irc/netwalker-ircc/distinfo b/irc/netwalker-ircc/distinfo new file mode 100644 index 00000000000..f90e78d3cc0 --- /dev/null +++ b/irc/netwalker-ircc/distinfo @@ -0,0 +1,2 @@ +MD5 (netwalker-ircc-0.5.0.tgz) = 1f5a7cc0fb54142c6306651105aedd68 +SIZE (netwalker-ircc-0.5.0.tgz) = 54768 diff --git a/irc/netwalker-ircc/files/patch-config.h b/irc/netwalker-ircc/files/patch-config.h new file mode 100644 index 00000000000..94883a0b40d --- /dev/null +++ b/irc/netwalker-ircc/files/patch-config.h @@ -0,0 +1,14 @@ +--- config.h.orig Sat Dec 4 17:43:47 2004 ++++ config.h Sat Dec 4 17:44:04 2004 +@@ -47,9 +47,9 @@ + #define PART_QUIT_MSG_LEN 256 + #define CTCP_VERSION_REPLY "Netwalker IRC-Client" + +-#define FILES_HELP_DIRECTORY "/usr/share/netwalker-ircc/" ++#define FILES_HELP_DIRECTORY "%%PREFIX%%/share/netwalker-ircc/" + #define FILES_HELP_INDEX_FILE "/helpindex.asc" +-#define FILES_CONFIG_FILE "/.netwalkerircc.conf" ++#define FILES_CONFIG_FILE "/.netwalkerircc" + + /* some default values */ + #define DEFAULT_NICKNAME "ABC" diff --git a/irc/netwalker-ircc/files/patch-netwalker.1 b/irc/netwalker-ircc/files/patch-netwalker.1 new file mode 100644 index 00000000000..d35ab049944 --- /dev/null +++ b/irc/netwalker-ircc/files/patch-netwalker.1 @@ -0,0 +1,11 @@ +--- netwalker.1.orig Sat Dec 4 17:44:31 2004 ++++ netwalker.1 Sat Dec 4 17:44:58 2004 +@@ -33,7 +33,7 @@ + .SH CONFIGURATION FILE + after you used the command 'netwalker -c' there will be a + .br +-default configuration-file (atm called: '.netwalkerircc.conf') in your home directory. ++default configuration-file (atm called: '.netwalkerircc') in your home directory. + .br + Available config-file options: + .br diff --git a/irc/netwalker-ircc/pkg-descr b/irc/netwalker-ircc/pkg-descr new file mode 100644 index 00000000000..9c17fea589b --- /dev/null +++ b/irc/netwalker-ircc/pkg-descr @@ -0,0 +1,5 @@ +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. + +WWW: http://www.bind.ch/projects/netwalker/ diff --git a/irc/netwalker-ircc/pkg-plist b/irc/netwalker-ircc/pkg-plist new file mode 100644 index 00000000000..fa2cf42854a --- /dev/null +++ b/irc/netwalker-ircc/pkg-plist @@ -0,0 +1,17 @@ +bin/netwalker +%%DATADIR%%/help_connect.asc +%%DATADIR%%/help_ctcp.asc +%%DATADIR%%/help_disconnect.asc +%%DATADIR%%/help_help.asc +%%DATADIR%%/help_join.asc +%%DATADIR%%/help_me.asc +%%DATADIR%%/help_msg.asc +%%DATADIR%%/help_nick.asc +%%DATADIR%%/help_part.asc +%%DATADIR%%/help_quit.asc +%%DATADIR%%/help_reconnect.asc +%%DATADIR%%/help_screen.asc +%%DATADIR%%/help_topic.asc +%%DATADIR%%/help_who.asc +%%DATADIR%%/helpindex.asc +@dirrm %%DATADIR%% |