diff options
author | beech <beech@FreeBSD.org> | 2008-01-28 22:55:50 +0000 |
---|---|---|
committer | beech <beech@FreeBSD.org> | 2008-01-28 22:55:50 +0000 |
commit | 0eef163b165ad6c4800523fed29b6a142a6831eb (patch) | |
tree | f91f6ef68c551d86081f88976d2a7f649bd2c90c /irc | |
parent | c36a32e7b2ce1144ffdfab7f9265e55a97da1439 (diff) | |
download | FreeBSD-ports-0eef163b165ad6c4800523fed29b6a142a6831eb.zip FreeBSD-ports-0eef163b165ad6c4800523fed29b6a142a6831eb.tar.gz |
- Update to 1.1-final.
- Fix master_sites.
- Fix gcc-4.2 related errors.
- Makefile and pkg build cleanup.
PR: ports/120074
Submitted by: Brett Johnson <brett@define.net.au>
Approved by: linimon (mentor)
Diffstat (limited to 'irc')
-rw-r--r-- | irc/bitchx/Makefile | 20 | ||||
-rw-r--r-- | irc/bitchx/distinfo | 6 | ||||
-rw-r--r-- | irc/bitchx/files/.placeholder | 1 | ||||
-rw-r--r-- | irc/bitchx/files/patch-source_gcc_fix | 36 | ||||
-rw-r--r-- | irc/bitchx/pkg-plist | 2 |
5 files changed, 55 insertions, 10 deletions
diff --git a/irc/bitchx/Makefile b/irc/bitchx/Makefile index 4ebf0f7..86d225c 100644 --- a/irc/bitchx/Makefile +++ b/irc/bitchx/Makefile @@ -7,10 +7,12 @@ PORTNAME= BitchX PORTVERSION= 1.1.0.1 -CATEGORIES+= irc -MASTER_SITES= ftp://ftp.bitchx.org/pub/BitchX/source/ \ +PORTREVISION= 1 + +CATEGORIES= irc +MASTER_SITES= http://www.bitchx.com/ \ CENKES -DISTNAME= ircii-pana-1.1a-final +DISTNAME= ircii-pana-1.1-final MAINTAINER?= beech@FreeBSD.org COMMENT?= ircII color client with GTK/GNOME support @@ -80,7 +82,8 @@ CONFIGURE_ARGS+= --with-socks5=${LOCALBASE} .endif .if defined(WITH_PLUGINS) -PLUGINS= abot,acro,aim,arcfour,autocycle,blowfish,cavlink,encrypt,fserv,hint,identd,nap,pkga,possum,qbx,qmail,scan,wavplay +PLUGINS= abot,acro,aim,arcfour,autocycle,blowfish,cavlink,encrypt,\ +fserv,hint,identd,nap,pkga,possum,qbx,qmail,scan,wavplay PLIST_SUB+= PLUGINS="" .else CONFIGURE_ARGS+=--without-plugins @@ -94,7 +97,8 @@ PLIST_SUB+= XMMS="" PLIST_SUB+= XMMS="@comment " .endif .if (defined(WITH_XMMS) && defined(WITH_PLUGINS)) -PLUGINS= abot,acro,aim,arcfour,autocycle,blowfish,cavlink,encrypt,fserv,hint,identd,nap,pkga,possum,qbx,qmail,scan,wavplay,xmms +PLUGINS= abot,acro,aim,arcfour,autocycle,blowfish,cavlink,encrypt,fserv,\ +hint,identd,nap,pkga,possum,qbx,qmail,scan,wavplay,xmms .endif .if (defined(WITH_PLUGINS) || defined(WITH_XMMS)) @@ -116,10 +120,12 @@ post-install: ${RMDIR} ${PREFIX}/share/bx/help .endif .if defined(WITH_GNOME) - ${STRIP_CMD} ${PREFIX}/bin/gtkBitchX-${PORTVERSION}-final + ${STRIP_CMD} ${PREFIX}/bin/gtkBitchX-1.1-final .else - ${STRIP_CMD} ${PREFIX}/bin/BitchX-${PORTVERSION}-final + ${STRIP_CMD} ${PREFIX}/bin/BitchX-1.1-final ${STRIP_CMD} ${PREFIX}/bin/scr-bx .endif + @cd ${FILESDIR} && ${CP} .placeholder ${PREFIX}/share/bx/plugins/ + .include <bsd.port.post.mk> diff --git a/irc/bitchx/distinfo b/irc/bitchx/distinfo index c2134e3..d396c39 100644 --- a/irc/bitchx/distinfo +++ b/irc/bitchx/distinfo @@ -1,3 +1,3 @@ -MD5 (ircii-pana-1.1a-final.tar.gz) = cd77b52b2ba92cc9a082e4ddb631d05c -SHA256 (ircii-pana-1.1a-final.tar.gz) = 40cea400fa7592bed47071fec9d31e5ff69088d6cf78e5cdfe9cc7ee7198618e -SIZE (ircii-pana-1.1a-final.tar.gz) = 2599126 +MD5 (ircii-pana-1.1-final.tar.gz) = 611d2dda222f00c10140236f4c331572 +SHA256 (ircii-pana-1.1-final.tar.gz) = 7464cd75a10f2d117a10cf0184e5d4b9ece44de03a226402c17bdd3f2c7eca57 +SIZE (ircii-pana-1.1-final.tar.gz) = 2532476 diff --git a/irc/bitchx/files/.placeholder b/irc/bitchx/files/.placeholder new file mode 100644 index 0000000..1269e78 --- /dev/null +++ b/irc/bitchx/files/.placeholder @@ -0,0 +1 @@ +This file is a placeholder for pkg install. diff --git a/irc/bitchx/files/patch-source_gcc_fix b/irc/bitchx/files/patch-source_gcc_fix new file mode 100644 index 0000000..ba36272 --- /dev/null +++ b/irc/bitchx/files/patch-source_gcc_fix @@ -0,0 +1,36 @@ +diff -ru source.orig/ctcp.c source/ctcp.c +--- source.orig/ctcp.c 2003-05-26 23:00:22.000000000 -0800 ++++ source/ctcp.c 2008-01-28 07:31:56.000000000 -0900 +@@ -176,7 +176,7 @@ + + /* CDE do ops and unban logging */ + +-static char *ctcp_type[] = ++char *ctcp_type[] = + { + "PRIVMSG", + "NOTICE" +diff -ru source.orig/term.c source/term.c +--- source.orig/term.c 2003-04-10 17:09:07.000000000 -0800 ++++ source/term.c 2008-01-28 07:58:45.000000000 -0900 +@@ -92,7 +92,7 @@ + #endif + + extern char *getenv(); +-extern char *tparm(); ++ + + /* + * The old code assumed termcap. termcap is almost always present, but on +diff -ru source.orig/timer.c source/timer.c +--- source.orig/timer.c 2003-04-10 17:09:07.000000000 -0800 ++++ source/timer.c 2008-01-28 08:00:29.000000000 -0900 +@@ -148,7 +148,7 @@ + * This is put here on purpose -- we dont want any of the above functions + * to have any knowledge of this struct. + */ +-static TimerList *PendingTimers; ++TimerList *PendingTimers; + static char *schedule_timer (TimerList *ntimer); + + static char *current_exec_timer = empty_string; diff --git a/irc/bitchx/pkg-plist b/irc/bitchx/pkg-plist index 72d1021..c18dc55c 100644 --- a/irc/bitchx/pkg-plist +++ b/irc/bitchx/pkg-plist @@ -1,3 +1,4 @@ +@unexec if [ -f %D/share/bx/script/bxglobal.old ]; then rm -f %D/share/bx/script/bxglobal.old; fi %%NOGNOME%%bin/BitchX %%NOGNOME%%bin/BitchX-1.1-final %%GNOME%%bin/gtkBitchX @@ -936,6 +937,7 @@ share/bx/BitchX.kick %%PLUGINS%%share/bx/plugins/cavlink.so %%PLUGINS%%share/bx/plugins/identd.so %%XMMS%%share/bx/plugins/xmms.so +share/bx/plugins/.placeholder share/bx/script/SCRIPTS share/bx/script/actplug.gmz share/bx/script/bxglobal |