summaryrefslogtreecommitdiff
path: root/chat/cgiirc
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2005-01-19 21:27:39 +0000
committeradrianp <adrianp@pkgsrc.org>2005-01-19 21:27:39 +0000
commit4f9a6fe89d221f0b1aa3cc8ca4a05efccd62684f (patch)
tree8036a101a86040e91a327cd86bf602b9f58c9923 /chat/cgiirc
parent5b254ab9a70d643d2b78890fcdecf2eccaf4978f (diff)
downloadpkgsrc-4f9a6fe89d221f0b1aa3cc8ca4a05efccd62684f.tar.gz
- Update to 0.5.5
- Simplify installation - Correct usage of USE_INET6 so non-ipv6 systems still work - From the CHANGELOG: - Various bugfixes including: Firefox CSS, paste - Proper UTF-8 support (uses Encode) - Now looks for configuration files in /etc as well - Multiple ipaccess files
Diffstat (limited to 'chat/cgiirc')
-rw-r--r--chat/cgiirc/Makefile28
-rw-r--r--chat/cgiirc/distinfo6
2 files changed, 15 insertions, 19 deletions
diff --git a/chat/cgiirc/Makefile b/chat/cgiirc/Makefile
index 869e6ba7942..efa1ea4737f 100644
--- a/chat/cgiirc/Makefile
+++ b/chat/cgiirc/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/10/15 18:36:55 adrianp Exp $
+# $NetBSD: Makefile,v 1.2 2005/01/19 21:27:39 adrianp Exp $
-DISTNAME= cgiirc-0.5.4
+DISTNAME= cgiirc-0.5.5
CATEGORIES= chat
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cgiirc/}
@@ -8,24 +8,17 @@ MAINTAINER= adrianp@NetBSD.org
HOMEPAGE= http://cgiirc.sourceforge.net/
COMMENT= Access IRC from a web browser
-DEPENDS+= p5-INET6-*:../../net/p5-INET6
-
NO_BUILDLINK= YES
-USE_PERL5= YES
+USE_PERL5= run
NO_BUILD= YES
USE_PKGINSTALL= YES
SUBST_CLASSES= config
SUBST_STAGE.config= post-patch
-SUBST_FILES.config= cgiirc.config cgiirc.config.full ${WRKDIR}/cgiirc.conf
-SUBST_SED.config= -e "s|irc.blitzed.org|${IRC_SERVER}|g" \
- -e "s|CGI:IRC User|${IRC_NAME}|g" \
- -e "s|CGI???|${IRC_NICK}|g" \
- -e "s|\#cgiirc|${IRC_CHANNEL}|g" \
- -e "s|@CGIIRC@|${CGIIRC}|g"
+SUBST_FILES.config= ${WRKDIR}/cgiirc.conf
+SUBST_SED.config= -e "s|@CGIIRC@|${CGIIRC}|g"
SUBST_MESSAGE.config= "Setting defaults in configuration files."
-BUILD_DEFS+= IRC_SERVER IRC_CHANNEL IRC_NAME IRC_NICK
BUILD_DEFS+= USE_INET6
CONF_FILES= ${PREFIX}/share/examples/cgiirc/cgiirc.conf \
@@ -33,10 +26,11 @@ CONF_FILES= ${PREFIX}/share/examples/cgiirc/cgiirc.conf \
CONF_FILES+= ${PREFIX}/share/examples/cgiirc/cgiirc.config \
${CGIIRC}/cgiirc.config
-IRC_SERVER?= irc.blitzed.org
-IRC_CHANNEL?= \#cgiirc
-IRC_NAME?= CGI:IRC User
-IRC_NICK?= CGI???
+.include "../../mk/bsd.prefs.mk"
+
+.if defined(USE_INET6) && !empty(USE_INET6:M[Yy][Ee][Ss])
+DEPENDS+= p5-INET6-*:../../net/p5-INET6
+.endif
REPLACE_PERL= client-perl.cgi irc.cgi nph-irc.cgi docs/decode.pl \
docs/identd.pl viewconnects.pl modules/parse.pl \
@@ -67,12 +61,14 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/docs/${f} \
${PREFIX}/share/examples/cgiirc/${f}
. endfor
+. undef f
${INSTALL_DATA} ${WRKSRC}/cgiirc.config ${PREFIX}/share/examples/cgiirc
${INSTALL_DATA} ${WRKDIR}/cgiirc.conf ${PREFIX}/share/examples/cgiirc
. for f in ${EGFILES}
${INSTALL_DATA} ${WRKSRC}/${f} \
${PREFIX}/share/examples/cgiirc/${f}
. endfor
+. undef f
${INSTALL_SCRIPT} ${WRKSRC}/*.cgi ${CGIIRC}
${INSTALL_DATA} ${WRKSRC}/formats/* ${CGIIRC}/formats/
${INSTALL_DATA} ${WRKSRC}/images/*.gif ${CGIIRC}/images/
diff --git a/chat/cgiirc/distinfo b/chat/cgiirc/distinfo
index 36dcfea9126..9297d86b3e4 100644
--- a/chat/cgiirc/distinfo
+++ b/chat/cgiirc/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/10/15 18:36:55 adrianp Exp $
+$NetBSD: distinfo,v 1.2 2005/01/19 21:27:39 adrianp Exp $
-SHA1 (cgiirc-0.5.4.tar.gz) = 3e86bccf84df7349c4b1dd39c91bb4504d1b139a
-Size (cgiirc-0.5.4.tar.gz) = 127545 bytes
+SHA1 (cgiirc-0.5.5.tar.gz) = 68a25781a8296891893ec376a9714680d9aa5ef1
+Size (cgiirc-0.5.5.tar.gz) = 125374 bytes