aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--irc/Makefile1
-rw-r--r--irc/irssi-fish/Makefile52
-rw-r--r--irc/irssi-fish/distinfo2
-rw-r--r--irc/irssi-fish/pkg-descr7
4 files changed, 62 insertions, 0 deletions
diff --git a/irc/Makefile b/irc/Makefile
index 579f0184a740..b86e48b0e78b 100644
--- a/irc/Makefile
+++ b/irc/Makefile
@@ -47,6 +47,7 @@
SUBDIR += ircservices
SUBDIR += iroffer
SUBDIR += irssi
+ SUBDIR += irssi-fish
SUBDIR += irssistats
SUBDIR += kmyirc
SUBDIR += konversation
diff --git a/irc/irssi-fish/Makefile b/irc/irssi-fish/Makefile
new file mode 100644
index 000000000000..3656184b8cad
--- /dev/null
+++ b/irc/irssi-fish/Makefile
@@ -0,0 +1,52 @@
+# New ports collection makefile for: irssi fish
+# Date created: Tue May 24 03:27:32 UTC 2005
+# Whom: Jens Holmqvist <zparta@hispan.se>
+#
+# $FreeBSD$
+#
+
+PORTNAME= irssi-fish
+DISTVERSION= 0.98
+CATEGORIES= irc security
+MASTER_SITES= http://fish.sekure.us/irssi/
+DISTNAME= FiSH-irssi.v${DISTVERSION}-source
+
+MAINTAINER= pav@FreeBSD.org
+COMMENT= An encryption plugin for irssi
+
+BUILD_DEPENDS= ${LOCALBASE}/include/glib-2.0/glib.h:${PORTSDIR}/devel/glib20 \
+ ${LOCALBASE}/lib/libmiracl.a:${PORTSDIR}/math/miracl \
+ ${NONEXISTENT}:${PORTSDIR}/irc/irssi:patch
+RUN_DEPENDS= irssi:${PORTSDIR}/irc/irssi
+
+USE_ZIP= yes
+USE_REINPLACE= yes
+
+PLIST_FILES= lib/irssi/modules/libfish.so
+PORTDOCS= FiSH-irssi.txt FiSH-irssi_History.txt
+
+IRSSI_WRKSRC!= cd ${.CURDIR}/../irssi && ${MAKE} -V WRKSRC
+
+post-patch:
+ @${FIND} ${WRKSRC} -type f -exec ${REINPLACE_CMD} -E -e 's| ||' {} \;
+ @${REINPLACE_CMD} -E \
+ -e 's|gcc|${CC}|' \
+ -e 's|-O2|${CFLAGS}|' \
+ -e 's|-shared|-shared -fPIC -DPIC|' \
+ -e 's|[$$][(]HOME[)]/glib-1.2.10|${LOCALBASE}/include/glib-2.0|' \
+ -e 's|[$$][(]HOME[)]/irssi-0.8.9|${IRSSI_WRKSRC}|' \
+ -e 's|miracl.a|${LOCALBASE}/lib/libmiracl.a|' \
+ -e 's|\@echo \"Press ENTER to continue or CTRL\+C to abort...\"\; read junk||' \
+ ${WRKSRC}/Makefile
+
+do-install:
+.ifndef(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for doc in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+.endfor
+.endif
+ ${MKDIR} ${PREFIX}/lib/irssi/modules
+ ${INSTALL_PROGRAM} ${WRKSRC}/libfish.so ${PREFIX}/lib/irssi/modules
+
+.include <bsd.port.mk>
diff --git a/irc/irssi-fish/distinfo b/irc/irssi-fish/distinfo
new file mode 100644
index 000000000000..1635139b6d72
--- /dev/null
+++ b/irc/irssi-fish/distinfo
@@ -0,0 +1,2 @@
+MD5 (FiSH-irssi.v0.98-source.zip) = 39c4afb20eed61815c17c48ed934e627
+SIZE (FiSH-irssi.v0.98-source.zip) = 44102
diff --git a/irc/irssi-fish/pkg-descr b/irc/irssi-fish/pkg-descr
new file mode 100644
index 000000000000..24f7b85ecbd7
--- /dev/null
+++ b/irc/irssi-fish/pkg-descr
@@ -0,0 +1,7 @@
+This is an encryption plugin for irssi, it is based on blowfish and is fully
+compatible to original 'blowcrypt' script. It supports private chat and channel
+encryption. A secure key-exchange system is included as well. Please read the
+file FiSH-irssi.txt, especially the 'Installation' section, before installing
+it!
+
+WWW: http://fish.sekure.us/